Home
last modified time | relevance | path

Searched defs:ahb (Results 1 – 11 of 11) sorted by relevance

/hardware/google/gfxstream/guest/android/
DGrallocGoldfish.cpp42 void GoldfishGralloc::acquire(AHardwareBuffer* ahb) { AHardwareBuffer_acquire(ahb); } in acquire()
44 void GoldfishGralloc::release(AHardwareBuffer* ahb) { AHardwareBuffer_release(ahb); } in release()
46 int GoldfishGralloc::lock(AHardwareBuffer* ahb, uint8_t** ptr) { in lock()
51 int GoldfishGralloc::unlock(AHardwareBuffer* ahb) { return AHardwareBuffer_unlock(ahb, nullptr); } in unlock()
64 uint32_t GoldfishGralloc::getHostHandle(const AHardwareBuffer* ahb) { in getHostHandle()
69 const native_handle_t* GoldfishGralloc::getNativeHandle(const AHardwareBuffer* ahb) { in getNativeHandle()
77 int GoldfishGralloc::getFormat(const AHardwareBuffer* ahb) { in getFormat()
86 uint32_t GoldfishGralloc::getFormatDrmFourcc(const AHardwareBuffer* ahb) { in getFormatDrmFourcc()
91 uint32_t GoldfishGralloc::getWidth(const AHardwareBuffer* ahb) { in getWidth()
97 uint32_t GoldfishGralloc::getHeight(const AHardwareBuffer* ahb) { in getHeight()
[all …]
DGrallocEmulated.cpp219 auto ahb = allocate(width, height, *drmFormat); in createColorBuffer() local
284 void EmulatedGralloc::acquire(AHardwareBuffer* ahb) { in acquire()
289 void EmulatedGralloc::release(AHardwareBuffer* ahb) { in release()
294 int EmulatedGralloc::lock(AHardwareBuffer* ahb, uint8_t** ptr) { in lock()
299 int EmulatedGralloc::unlock(AHardwareBuffer* ahb) { in unlock()
305 const auto* ahb = reinterpret_cast<const EmulatedAHardwareBuffer*>(handle); in getHostHandle() local
310 const auto* ahb = reinterpret_cast<const EmulatedAHardwareBuffer*>(handle); in getHostHandle() local
314 const native_handle_t* EmulatedGralloc::getNativeHandle(const AHardwareBuffer* ahb) { in getNativeHandle()
319 const auto* ahb = reinterpret_cast<const EmulatedAHardwareBuffer*>(handle); in getFormat() local
324 const auto* ahb = reinterpret_cast<const EmulatedAHardwareBuffer*>(handle); in getFormat() local
[all …]
DGrallocMinigbm.cpp175 void MinigbmGralloc::acquire(AHardwareBuffer* ahb) { AHardwareBuffer_acquire(ahb); } in acquire()
177 void MinigbmGralloc::release(AHardwareBuffer* ahb) { AHardwareBuffer_release(ahb); } in release()
179 int MinigbmGralloc::lock(AHardwareBuffer* ahb, uint8_t** ptr) { in lock()
184 int MinigbmGralloc::unlock(AHardwareBuffer* ahb) { return AHardwareBuffer_unlock(ahb, nullptr); } in unlock()
196 uint32_t MinigbmGralloc::getHostHandle(const AHardwareBuffer* ahb) { in getHostHandle()
201 const native_handle_t* MinigbmGralloc::getNativeHandle(const AHardwareBuffer* ahb) { in getNativeHandle()
209 int MinigbmGralloc::getFormat(const AHardwareBuffer* ahb) { in getFormat()
219 uint32_t MinigbmGralloc::getFormatDrmFourcc(const AHardwareBuffer* ahb) { in getFormatDrmFourcc()
224 uint32_t MinigbmGralloc::getWidth(const AHardwareBuffer* ahb) { in getWidth()
230 uint32_t MinigbmGralloc::getHeight(const AHardwareBuffer* ahb) { in getHeight()
[all …]
DANativeWindowEmulated.cpp44 auto ahb = reinterpret_cast<EmulatedAHardwareBuffer*>(buffer); in queueBuffer() local
64 auto ahb = reinterpret_cast<EmulatedAHardwareBuffer*>(buffer); in cancelBuffer() local
133 auto ahb = reinterpret_cast<EmulatedAHardwareBuffer*>(buffer); in getWidth() local
138 auto ahb = reinterpret_cast<EmulatedAHardwareBuffer*>(buffer); in getHeight() local
145 auto ahb = reinterpret_cast<EmulatedAHardwareBuffer*>(buffer); in getFormat() local
173 auto ahb = reinterpret_cast<EmulatedAHardwareBuffer*>(buffer); in getHostHandle() local
182 AHardwareBuffer* ahb = nullptr; in createNativeWindowForTesting() local
DANativeWindowEmulated.h55 EmulatedAHardwareBuffer* ahb; member
/hardware/google/gfxstream/guest/vulkan_enc/
DAndroidHardwareBuffer.cpp268 auto ahb = info->buffer; in importAndroidHardwareBuffer() local
314 struct AHardwareBuffer* ahb = NULL; in createAndroidHardwareBuffer() local
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp461 AHardwareBuffer* ahb = nullptr; in Allocate() local
644 GlExpected<Image> GfxstreamEnd2EndTest::AsImage(ScopedAHardwareBuffer& ahb) { in AsImage()
682 auto ahb = GL_EXPECT( in CreateAHBFromImage() local
763 GlExpected<Ok> GfxstreamEnd2EndTest::CompareAHBWithGolden(ScopedAHardwareBuffer& ahb, in CompareAHBWithGolden()
DGfxstreamEnd2EndVkTests.cpp56 auto ahb = GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, in DoAcquireImageAndroidWithSync() local
135 auto ahb = GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, in TEST_P() local
259 auto ahb = GL_ASSERT(ScopedAHardwareBuffer::Allocate(*mGralloc, width, height, in TEST_P() local
324 auto ahb = GL_ASSERT( in TEST_P() local
DGfxstreamEnd2EndGlTests.cpp456 auto ahb = in TEST_P() local
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_android.c222 struct AHardwareBuffer *ahb; in vk_alloc_ahardware_buffer() local
/hardware/interfaces/graphics/allocator/aidl/vts/
DVtsHalGraphicsAllocatorAidl_TargetTest.cpp392 AHardwareBuffer* ahb = buffer->createAHardwareBuffer(); in TEST_P() local
434 AHardwareBuffer* ahb = buffer->createAHardwareBuffer(); in TEST_P() local