Lines Matching refs:hwbuffer

122     AHardwareBuffer* hwbuffer = nullptr;  in testEglImageArray()  local
124 if (AHardwareBuffer_allocate(&desc, &hwbuffer) != NO_ERROR) return; in testEglImageArray()
126 EGLClientBuffer native_buffer = eglGetNativeClientBufferANDROID(hwbuffer); in testEglImageArray()
161 AHardwareBuffer_release(hwbuffer); in testEglImageArray()
218 AHardwareBuffer* hwbuffer = nullptr; in testExternalBuffer() local
219 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testExternalBuffer()
222 EGLClientBuffer native_buffer = eglGetNativeClientBufferANDROID(hwbuffer); in testExternalBuffer()
239 error = AHardwareBuffer_lock(hwbuffer, in testExternalBuffer()
245 error = AHardwareBuffer_unlock(hwbuffer, nullptr); in testExternalBuffer()
264 AHardwareBuffer_release(hwbuffer); in testExternalBuffer()
453 AHardwareBuffer* hwbuffer = nullptr; in testLinearMagnification() local
454 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testLinearMagnification()
458 error = AHardwareBuffer_lock(hwbuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN, -1, nullptr, in testLinearMagnification()
463 error = AHardwareBuffer_unlock(hwbuffer, nullptr); in testLinearMagnification()
466 EGLClientBuffer native_buffer = eglGetNativeClientBufferANDROID(hwbuffer); in testLinearMagnification()
541 AHardwareBuffer* hwbuffer = nullptr; in testFramebufferBlending() local
542 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testFramebufferBlending()
545 EGLClientBuffer native_buffer = eglGetNativeClientBufferANDROID(hwbuffer); in testFramebufferBlending()