Home
last modified time | relevance | path

Searched refs:ahb (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp71 AHardwareBuffer* ahb) { in uploadHardwareBitmap() argument
74 bool result = onUploadHardwareBitmap(bitmap, format, ahb); in uploadHardwareBitmap()
92 AHardwareBuffer* ahb) = 0;
163 AHardwareBuffer* ahb) override { in onUploadHardwareBitmap() argument
172 const EGLClientBuffer clientBuffer = eglGetNativeClientBufferANDROID(ahb); in onUploadHardwareBitmap()
238 AHardwareBuffer* ahb) override { in onUploadHardwareBitmap() argument
240 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() local
405 if (!ahb) { in allocateHardwareBitmap()
[all …]
/frameworks/base/libs/hwui/utils/
DNdkUtils.h28 void operator()(AHardwareBuffer* ahb) const { AHardwareBuffer_release(ahb); } in operator()
/frameworks/base/core/jni/
Dandroid_graphics_GraphicBuffer.cpp261 AHardwareBuffer* ahb = android_hardware_HardwareBuffer_getNativeHardwareBuffer(env, hb); in android_graphics_GraphicBuffer_createFromHardwareBuffer() local
262 return android_graphics_GraphicBuffer_createFromAHardwareBuffer(env, ahb); in android_graphics_GraphicBuffer_createFromHardwareBuffer()
Dandroid_view_Surface.cpp418 AHardwareBuffer* ahb = in nativeAttachAndQueueBufferWithColorSpace() local
420 GraphicBuffer* gb = AHardwareBuffer_to_GraphicBuffer(ahb); in nativeAttachAndQueueBufferWithColorSpace()