Searched refs:ahb (Results 1 – 4 of 4) sorted by relevance
71 AHardwareBuffer* ahb) { in uploadHardwareBitmap() argument74 bool result = onUploadHardwareBitmap(bitmap, format, ahb); in uploadHardwareBitmap()92 AHardwareBuffer* ahb) = 0;163 AHardwareBuffer* ahb) override { in onUploadHardwareBitmap() argument172 const EGLClientBuffer clientBuffer = eglGetNativeClientBufferANDROID(ahb); in onUploadHardwareBitmap()238 AHardwareBuffer* ahb) override { in onUploadHardwareBitmap() argument240 mUploadThread->queue().runSync([this, &uploadSucceeded, bitmap, ahb]() { in onUploadHardwareBitmap()260 SkImage::MakeFromAHardwareBufferWithData(mGrContext.get(), bitmap.pixmap(), ahb); in onUploadHardwareBitmap()404 UniqueAHardwareBuffer ahb = allocateAHardwareBuffer(desc); in allocateHardwareBitmap() local405 if (!ahb) { in allocateHardwareBitmap()[all …]
28 void operator()(AHardwareBuffer* ahb) const { AHardwareBuffer_release(ahb); } in operator()
261 AHardwareBuffer* ahb = android_hardware_HardwareBuffer_getNativeHardwareBuffer(env, hb); in android_graphics_GraphicBuffer_createFromHardwareBuffer() local262 return android_graphics_GraphicBuffer_createFromAHardwareBuffer(env, ahb); in android_graphics_GraphicBuffer_createFromHardwareBuffer()
418 AHardwareBuffer* ahb = in nativeAttachAndQueueBufferWithColorSpace() local420 GraphicBuffer* gb = AHardwareBuffer_to_GraphicBuffer(ahb); in nativeAttachAndQueueBufferWithColorSpace()