Lines Matching refs:ahb
71 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()
412 if (!sUploader->uploadHardwareBitmap(bitmap, format, ahb.get())) { in allocateHardwareBitmap()
415 return Bitmap::createFrom(ahb.get(), bitmap.colorType(), bitmap.refColorSpace(), in allocateHardwareBitmap()