Lines Matching refs:mGralloc3
317 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()
400 mGralloc3->freeBuffer(bufferHandle); in freeBuffer()