Home
last modified time | relevance | path

Searched refs:mGralloc (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp38 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
50 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::mapper::V2_0::tests::__anonce2976670111::GraphicsMapperHidlTest
58 mGralloc->dumpDebugInfo(); in TEST_F()
67 descriptor = mGralloc->createDescriptor(mDummyDescriptorInfo)); in TEST_F()
72 ASSERT_NO_FATAL_FAILURE(bufferHandles = mGralloc->allocate( in TEST_F()
81 mGralloc->freeBuffer(bufferHandle); in TEST_F()
92 mGralloc->getAllocator()->allocate( in TEST_F()
107 auto bufferHandle = mGralloc->allocate(info, false); in TEST_F()
108 mGralloc->freeBuffer(bufferHandle); in TEST_F()
116 ASSERT_NO_FATAL_FAILURE(mGralloc->createDescriptor(mDummyDescriptorInfo)); in TEST_F()
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_gralloc.cpp53 static const gralloc_module_t *mGralloc; variable
55 static const hw_device_t *mGralloc; variable
64 if (!mGralloc) { in gralloc_lock()
73 err = mGralloc->lock(mGralloc, handle, usage, in gralloc_lock()
83 err = gralloc_lock_async_img(mGralloc, handle, usage, &r, vaddr, -1); in gralloc_lock()
100 if (!mGralloc) { in gralloc_unlock()
109 err = mGralloc->unlock(mGralloc, handle); in gralloc_unlock()
112 err = gralloc_unlock_async_img(mGralloc, handle, &releaseFence); in gralloc_unlock()
132 if (!mGralloc) { in gralloc_register()
141 err = gralloc_register_img(mGralloc, handle); in gralloc_register()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
DBufferManager.cpp27 : mGralloc(NULL), in BufferManager()
59 if (gralloc_open_img(&mGralloc)) { in initialize()
96 if (mGralloc) { in deinitialize()
97 gralloc_close_img(mGralloc); in deinitialize()
98 mGralloc = NULL; in deinitialize()
218 if (!mGralloc) { in allocFrameBuffer()
231 mGralloc, in allocFrameBuffer()
278 gralloc_device_free_img(mGralloc, handle); in allocFrameBuffer()
286 if (!mGralloc) { in freeFrameBuffer()
302 gralloc_device_free_img(mGralloc, handle); in freeFrameBuffer()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
DBufferManager.cpp27 : mGralloc(NULL), in BufferManager()
59 if (gralloc_open_img(&mGralloc)) { in initialize()
96 if (mGralloc) { in deinitialize()
97 gralloc_close_img(mGralloc); in deinitialize()
98 mGralloc = NULL; in deinitialize()
218 if (!mGralloc) { in allocFrameBuffer()
231 mGralloc, in allocFrameBuffer()
278 gralloc_device_free_img(mGralloc, (buffer_handle_t)handle); in allocFrameBuffer()
286 if (!mGralloc) { in freeFrameBuffer()
302 gralloc_device_free_img(mGralloc, (buffer_handle_t)handle); in freeFrameBuffer()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngGrallocBufferMapper.cpp28 mGralloc(gralloc), in TngGrallocBufferMapper()
125 err = gralloc_get_buffer_cpu_addresses_img(&mGralloc, in map()
164 err = gralloc_put_buffer_cpu_addresses_img(&mGralloc, in map()
185 err = gralloc_put_buffer_cpu_addresses_img(&mGralloc, in unmap()
239 err = gralloc_get_buffer_cpu_addresses_img(&mGralloc, in getFbHandle()
253 int err = gralloc_put_buffer_cpu_addresses_img(&mGralloc, in putFbHandle()
DTngGrallocBufferMapper.h43 const hw_device_t& mGralloc;
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngGrallocBufferMapper.cpp28 mGralloc(gralloc), in TngGrallocBufferMapper()
125 err = gralloc_get_buffer_cpu_addresses_img(&mGralloc, in map()
164 err = gralloc_put_buffer_cpu_addresses_img(&mGralloc, in map()
185 err = gralloc_put_buffer_cpu_addresses_img(&mGralloc, in unmap()
239 err = gralloc_get_buffer_cpu_addresses_img(&mGralloc, in getFbHandle()
253 int err = gralloc_put_buffer_cpu_addresses_img(&mGralloc, in putFbHandle()
DTngGrallocBufferMapper.h42 const hw_device_t& mGralloc;
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/
DPlatfBufferManager.cpp53 return new TngGrallocBufferMapper(*mGralloc, buffer); in createBufferMapper()
62 if (gralloc_blit_handle_to_handle_img(mGralloc, in blit()
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/
DPlatfBufferManager.cpp53 return new TngGrallocBufferMapper(*mGralloc, buffer); in createBufferMapper()
62 if (gralloc_blit_handle_to_handle_img(mGralloc, in blit()
/hardware/intel/img/hwcomposer/moorefield_hdmi/platforms/merrifield_plus/
DPlatfBufferManager.cpp53 return new TngGrallocBufferMapper(*mGralloc, buffer); in createBufferMapper()
62 if (gralloc_blit_handle_to_handle_img(mGralloc, in blitGrallocBuffer()
/hardware/intel/img/hwcomposer/merrifield/include/
DBufferManager.h68 const hw_device_t* mGralloc; variable
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DBufferManager.h68 const hw_device_t *mGralloc; variable
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp404 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
423 return mGralloc->allocate(info); in allocate()
500 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_1::tests::__anon71d7d22f0111::GraphicsComposerHidlCommandTest