Lines Matching refs:mDriver

48         if (!mDriver) {  in GetAndReferenceDriver()
49 mDriver = std::make_unique<cros_gralloc_driver>(); in GetAndReferenceDriver()
50 if (mDriver->init()) { in GetAndReferenceDriver()
52 mDriver.reset(); in GetAndReferenceDriver()
58 return mDriver.get(); in GetAndReferenceDriver()
67 mDriver.reset(); in UnreferenceDriver()
75 std::unique_ptr<cros_gralloc_driver> mDriver; member in __anon7b83f9fb0111::DriverProvider
82 mDriver = DriverProvider::Get()->GetAndReferenceDriver(); in CrosGralloc4Mapper()
86 mDriver = nullptr; in ~CrosGralloc4Mapper()
124 if (!mDriver) { in importBuffer()
144 int ret = mDriver->retain(importedBufferHandle); in importBuffer()
157 if (!mDriver) { in freeBuffer()
168 int ret = mDriver->release(bufferHandle); in freeBuffer()
181 if (!mDriver) { in validateBufferSize()
226 if (!mDriver) { in getTransportSize()
246 if (!mDriver) { in lock()
337 ret = mDriver->lock(bufferHandle, acquireFenceFd, /*close_acquire_fence=*/false, &rect, in lock()
349 if (!mDriver) { in unlock()
363 int ret = mDriver->unlock(bufferHandle, &releaseFenceFd); in unlock()
383 if (!mDriver) { in flushLockedBuffer()
397 int ret = mDriver->flush(bufferHandle, &releaseFenceFd); in flushLockedBuffer()
417 if (!mDriver) { in rereadLockedBuffer()
428 int ret = mDriver->invalidate(bufferHandle); in rereadLockedBuffer()
439 if (!mDriver) { in isSupported()
451 bool supported = mDriver->is_supported(&crosDescriptor); in isSupported()
454 supported = mDriver->is_supported(&crosDescriptor); in isSupported()
465 if (!mDriver) { in get()
493 if (!mDriver) { in get()
596 if (!mDriver) { in set()
650 uint32_t resolvedDrmFormat = mDriver->get_resolved_drm_format(drmFormat, usage); in getResolvedDrmFormat()
668 if (!mDriver) { in getFromBufferDescriptorInfo()
753 if (!mDriver) { in listSupportedMetadataTypes()
889 if (!mDriver) { in dumpBuffer()
916 if (!mDriver) { in dumpBuffer()
997 if (!mDriver) { in dumpBuffers()
1015 mDriver->for_each_handle(handleCallback); in dumpBuffers()
1022 if (!mDriver) { in getReservedRegion()
1044 int ret = mDriver->get_reserved_region(bufferHandle, &reservedRegionAddr, &reservedRegionSize); in getReservedRegion()