Lines Matching refs:aHardwareBuffer
495 void writeAHBData(AHardwareBuffer *aHardwareBuffer, in writeAHBData() argument
505 aHardwareBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY, -1, nullptr, &planeInfo); in writeAHBData()
529 res = AHardwareBuffer_unlock(aHardwareBuffer, nullptr); in writeAHBData()
534 int res = AHardwareBuffer_lock(aHardwareBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY, -1, in writeAHBData()
540 AHardwareBuffer_describe(aHardwareBuffer, &aHardwareBufferDescription); in writeAHBData()
553 res = AHardwareBuffer_unlock(aHardwareBuffer, nullptr); in writeAHBData()
580 AHardwareBuffer *aHardwareBuffer = nullptr; in createAndroidHardwareBuffer() local
581 EXPECT_EQ(0, AHardwareBuffer_allocate(&aHardwareBufferDescription, &aHardwareBuffer)); in createAndroidHardwareBuffer()
585 writeAHBData(aHardwareBuffer, width, height, depth, in createAndroidHardwareBuffer()
589 return aHardwareBuffer; in createAndroidHardwareBuffer()
612 AHardwareBuffer *aHardwareBuffer = in createEGLImageAndroidHardwareBufferSource() local
614 EXPECT_NE(aHardwareBuffer, nullptr); in createEGLImageAndroidHardwareBufferSource()
621 angle::android::AHardwareBufferToClientBuffer(aHardwareBuffer), attribs); in createEGLImageAndroidHardwareBufferSource()
624 *outSourceAHB = aHardwareBuffer; in createEGLImageAndroidHardwareBufferSource()