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.cpp313 ASSERT_NO_FATAL_FAILURE(mGralloc4 = std::make_shared<Gralloc4>("default", "default", in Gralloc()
315 if (mGralloc4->getAllocator() == nullptr || mGralloc4->getMapper() == nullptr) { in Gralloc()
316 mGralloc4 = nullptr; in Gralloc()
330 if (mGralloc4) { in allocate()
337 return mGralloc4->allocate(info, import, outStride); in allocate()
359 if (mGralloc4) { in lock()
365 return mGralloc4->lock(bufferHandle, cpuUsage, accessRegion, acquireFence); in lock()
387 if (mGralloc4) { in unlock()
388 return mGralloc4->unlock(bufferHandle); in unlock()
397 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.h157 std::shared_ptr<Gralloc4> mGralloc4 = nullptr; variable