Lines Matching refs:ahb
461 AHardwareBuffer* ahb = nullptr; in Allocate() local
462 int status = gralloc.allocate(width, height, format, -1, &ahb); in Allocate()
470 return ScopedAHardwareBuffer(gralloc, ahb); in Allocate()
644 GlExpected<Image> GfxstreamEnd2EndTest::AsImage(ScopedAHardwareBuffer& ahb) { in AsImage() argument
646 actual.width = ahb.GetWidth(); in AsImage()
650 actual.height = ahb.GetHeight(); in AsImage()
656 const uint32_t ahbFormat = ahb.GetAHBFormat(); in AsImage()
663 uint8_t* ahbPixels = GL_EXPECT(ahb.Lock()); in AsImage()
665 ahb.Unlock(); in AsImage()
682 auto ahb = GL_EXPECT( in CreateAHBFromImage() local
686 uint8_t* ahbPixels = GL_EXPECT(ahb.Lock()); in CreateAHBFromImage()
688 ahb.Unlock(); in CreateAHBFromImage()
691 return std::move(ahb); in CreateAHBFromImage()
763 GlExpected<Ok> GfxstreamEnd2EndTest::CompareAHBWithGolden(ScopedAHardwareBuffer& ahb, in CompareAHBWithGolden() argument
765 Image actual = GL_EXPECT(AsImage(ahb)); in CompareAHBWithGolden()