Lines Matching refs:mDriver
26 CrosGralloc3Mapper::CrosGralloc3Mapper() : mDriver(std::make_unique<cros_gralloc_driver>()) { in CrosGralloc3Mapper()
27 if (mDriver->init()) { in CrosGralloc3Mapper()
29 mDriver = nullptr; in CrosGralloc3Mapper()
68 if (!mDriver) { in importBuffer()
88 int ret = mDriver->retain(importedBufferHandle); in importBuffer()
101 if (!mDriver) { in freeBuffer()
112 int ret = mDriver->release(bufferHandle); in freeBuffer()
126 if (!mDriver) { in validateBufferSize()
171 if (!mDriver) { in getTransportSize()
191 if (!mDriver) { in lock()
231 if (!mDriver) { in lockYCbCr()
312 if (!mDriver) { in lockInternal()
389 ret = mDriver->lock(bufferHandle, acquireFenceFd, false, &rect, mapUsage, result.mapped); in lockInternal()
400 if (!mDriver) { in unlock()
414 int ret = mDriver->unlock(bufferHandle, &releaseFenceFd); in unlock()
435 if (!mDriver) { in isSupported()
447 bool supported = mDriver->is_supported(&crosDescriptor); in isSupported()
450 supported = mDriver->is_supported(&crosDescriptor); in isSupported()
475 uint32_t resolvedDrmFormat = mDriver->get_resolved_drm_format(drmFormat, usage); in getResolvedDrmFormat()