Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp320 ASSERT_NO_FATAL_FAILURE(mGralloc3 = std::make_shared<Gralloc3>("default", "default", in Gralloc()
322 if (mGralloc3->getAllocator() == nullptr || mGralloc3->getMapper() == nullptr) { in Gralloc()
323 mGralloc3 = nullptr; in Gralloc()
332 if (mGralloc3) { in allocate()
339 return mGralloc3->allocate(info, import, outStride); in allocate()
353 if (mGralloc3) { in lock()
361 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock()
374 if (mGralloc3) { in unlock()
375 return mGralloc3->unlock(bufferHandle); in unlock()
382 if (mGralloc3) { in freeBuffer()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp186 ASSERT_NO_FATAL_FAILURE(mGralloc3 = std::make_shared<Gralloc3>("default", "default", in Gralloc()
188 if (mGralloc3->getMapper() == nullptr || mGralloc3->getAllocator() == nullptr) { in Gralloc()
189 mGralloc3 = nullptr; in Gralloc()
204 if (mGralloc3) { in validateBufferSize()
211 return mGralloc3->validateBufferSize(bufferHandle, info, stride); in validateBufferSize()
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h155 std::shared_ptr<Gralloc3> mGralloc3 = nullptr; variable