Home
last modified time | relevance | path

Searched refs:Error3 (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp39 using Error3 = MapperV3::Error; typedef
98 const Error3 e = importBufferImpl(hh.getNativeHandle(), &imported); in importBuffer()
99 if (e == Error3::NONE) { in importBuffer()
100 hidl_cb(Error3::NONE, imported); in importBuffer()
107 Return<Error3> freeBuffer(void* raw) { in freeBuffer()
109 RETURN_ERROR(Error3::BAD_BUFFER); in freeBuffer()
113 RETURN_ERROR(Error3::BAD_BUFFER); in freeBuffer()
129 RETURN(Error3::NONE); in freeBuffer()
141 const Error3 e = lockImpl(raw, cpuUsage, accessRegion, acquireFence, in lock()
143 if (e == Error3::NONE) { in lock()
[all …]
Dallocator3.cpp44 using Error3 = MapperV3::Error; typedef
63 const Error3 e = allocateImpl(rawDescriptor, count, &stride, &cbs); in allocate()
64 if (e == Error3::NONE) { in allocate()
66 hidl_cb(Error3::NONE, stride, handles); in allocate()
80 Error3 allocateImpl(const hidl_vec<uint32_t>& rawDescriptor, in allocateImpl()
86 RETURN_ERROR(Error3::BAD_DESCRIPTOR); in allocateImpl()
89 if (!descriptor.width) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
90 if (!descriptor.height) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
91 if (descriptor.layerCount != 1) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
108 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl()
[all …]