Home
last modified time | relevance | path

Searched refs:ScopedAHardwareBuffer (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.h388 class ScopedAHardwareBuffer {
390 ScopedAHardwareBuffer() = default;
392 static GlExpected<ScopedAHardwareBuffer> Allocate(Gralloc& gralloc, uint32_t width,
395 ScopedAHardwareBuffer(const ScopedAHardwareBuffer& rhs) = delete;
396 ScopedAHardwareBuffer& operator=(const ScopedAHardwareBuffer& rhs) = delete;
398 ScopedAHardwareBuffer(ScopedAHardwareBuffer&& rhs) in ScopedAHardwareBuffer() function
403 ScopedAHardwareBuffer& operator=(ScopedAHardwareBuffer&& rhs) {
409 ~ScopedAHardwareBuffer() { in ~ScopedAHardwareBuffer()
437 ScopedAHardwareBuffer(Gralloc& gralloc, AHardwareBuffer* handle) in ScopedAHardwareBuffer() function
524 GlExpected<Image> AsImage(ScopedAHardwareBuffer& ahb);
[all …]
DGfxstreamEnd2EndCompositionTests.cpp33 …GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, 256, 256, GFXSTREAM_AHB_FORMAT_R8G8B8A8_UNORM… in TEST_P()
109 ScopedAHardwareBuffer::Allocate(*mGralloc, 256, 256, GFXSTREAM_AHB_FORMAT_B8G8R8A8_UNORM)); in TEST_P()
DGfxstreamEnd2EndTests.cpp458 GlExpected<ScopedAHardwareBuffer> ScopedAHardwareBuffer::Allocate(Gralloc& gralloc, uint32_t width, in Allocate()
470 return ScopedAHardwareBuffer(gralloc, ahb); in Allocate()
644 GlExpected<Image> GfxstreamEnd2EndTest::AsImage(ScopedAHardwareBuffer& ahb) { in AsImage()
678 GlExpected<ScopedAHardwareBuffer> GfxstreamEnd2EndTest::CreateAHBFromImage( in CreateAHBFromImage()
683ScopedAHardwareBuffer::Allocate(*mGralloc, image.width, image.height, GFXSTREAM_AHB_FORMAT_R8G8B8A… in CreateAHBFromImage()
763 GlExpected<Ok> GfxstreamEnd2EndTest::CompareAHBWithGolden(ScopedAHardwareBuffer& ahb, in CompareAHBWithGolden()
DGfxstreamEnd2EndVkTests.cpp56 auto ahb = GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, in DoAcquireImageAndroidWithSync()
135 auto ahb = GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, in TEST_P()
259 auto ahb = GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, in TEST_P()
325 ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, GFXSTREAM_AHB_FORMAT_BLOB)); in TEST_P()
DGfxstreamEnd2EndGlTests.cpp457 …GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, GFXSTREAM_AHB_FORMAT_R8G8B8A8_… in TEST_P()