Searched refs:Error3 (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish-opengl/system/hals/ |
D | mapper3.cpp | 43 using Error3 = MapperV3::Error; typedef 116 const Error3 e = importBufferImpl(hh.getNativeHandle(), &imported); in importBuffer() 117 if (e == Error3::NONE) { in importBuffer() 118 hidl_cb(Error3::NONE, imported); in importBuffer() 125 Return<Error3> freeBuffer(void* raw) { in freeBuffer() 127 RETURN_ERROR(Error3::BAD_BUFFER); in freeBuffer() 131 RETURN_ERROR(Error3::BAD_BUFFER); in freeBuffer() 141 RETURN(Error3::NONE); in freeBuffer() 153 const Error3 e = lockImpl(raw, cpuUsage, accessRegion, acquireFence, in lock() 155 if (e == Error3::NONE) { in lock() [all …]
|
D | allocator3.cpp | 46 using Error3 = MapperV3::Error; typedef 75 const Error3 e = allocateImpl(rawDescriptor, count, &stride, &cbs); in allocate() 76 if (e == Error3::NONE) { in allocate() 78 hidl_cb(Error3::NONE, stride, handles); in allocate() 92 Error3 allocateImpl(const hidl_vec<uint32_t>& rawDescriptor, in allocateImpl() 98 RETURN_ERROR(Error3::BAD_DESCRIPTOR); in allocateImpl() 101 if (!descriptor.width) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl() 102 if (!descriptor.height) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl() 103 if (descriptor.layerCount != 1) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl() 116 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl() [all …]
|