Home
last modified time | relevance | path

Searched refs:mGralloc4 (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp319 ASSERT_NO_FATAL_FAILURE(mGralloc4 = std::make_shared<Gralloc4>("default", "default", in Gralloc()
321 if (mGralloc4->getAllocator() == nullptr || mGralloc4->getMapper() == nullptr) { in Gralloc()
322 mGralloc4 = nullptr; in Gralloc()
337 if (mGralloc4) { in allocate()
344 handle = mGralloc4->allocate(info, import, outStride); in allocate()
367 if (mGralloc4) { in lock()
373 return mGralloc4->lock(bufferHandle, cpuUsage, accessRegion, acquireFence); in lock()
395 if (mGralloc4) { in unlock()
396 return mGralloc4->unlock(bufferHandle); in unlock()
405 if (mGralloc4) { in freeBuffer()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp185 ASSERT_NO_FATAL_FAILURE(mGralloc4 = std::make_shared<Gralloc4>("default", "default", in Gralloc()
187 if (mGralloc4->getMapper() == nullptr || mGralloc4->getAllocator() == nullptr) { in Gralloc()
188 mGralloc4 = nullptr; in Gralloc()
209 if (mGralloc4) { in validateBufferSize()
216 return mGralloc4->validateBufferSize(bufferHandle, info, stride); in validateBufferSize()
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h174 std::shared_ptr<Gralloc4> mGralloc4 = nullptr; variable