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.cpp317 ASSERT_NO_FATAL_FAILURE(mGralloc3 = std::make_shared<Gralloc3>("default", "default", in Gralloc()
319 if (mGralloc3->getAllocator() == nullptr || mGralloc3->getMapper() == nullptr) { in Gralloc()
320 mGralloc3 = nullptr; in Gralloc()
338 } else if (mGralloc3) { in allocate()
345 return mGralloc3->allocate(info, import, outStride); in allocate()
366 } else if (mGralloc3) { in lock()
374 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock()
389 } else if (mGralloc3) { in unlock()
390 return mGralloc3->unlock(bufferHandle); in unlock()
399 } else if (mGralloc3) { in freeBuffer()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp190 ASSERT_NO_FATAL_FAILURE(mGralloc3 = std::make_shared<Gralloc3>("default", "default", in Gralloc()
192 if (mGralloc3->getMapper() == nullptr || mGralloc3->getAllocator() == nullptr) { in Gralloc()
193 mGralloc3 = nullptr; in Gralloc()
217 } else if (mGralloc3) { in validateBufferSize()
224 return mGralloc3->validateBufferSize(bufferHandle, info, stride); in validateBufferSize()
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h156 std::shared_ptr<Gralloc3> mGralloc3 = nullptr; variable