Searched refs:getAdapter (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
D | Gralloc1On0Adapter.h | 47 static inline Gralloc1On0Adapter* getAdapter(gralloc1_device_t* device) { in getAdapter() function 52 delete getAdapter(reinterpret_cast<gralloc1_device_t*>(device)); in closeHook() 63 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook() 73 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook() 81 return getAdapter(device)->dump(outSize, outBuffer); in dumpHook() 93 auto error = getAdapter(device)->createDescriptor(outDescriptor); in createDescriptorHook() 100 auto error = getAdapter(device)->destroyDescriptor(descriptor); in destroyDescriptorHook() 153 auto descriptor = getAdapter(device)->getDescriptor(descriptorId); in callDescriptorFunction() 277 auto buffer = getAdapter(device)->getBuffer(bufferHandle); in callBufferFunction() 330 auto adapter = getAdapter(device); in retainHook() [all …]
|
D | Gralloc1On0Adapter.cpp | 297 auto adapter = getAdapter(device); in allocateHook()
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/ |
D | HWC2On1Adapter.h | 57 static inline HWC2On1Adapter* getAdapter(hwc2_device_t* device) { in getAdapter() function 67 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook() 80 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook() 92 auto error = getAdapter(device)->createVirtualDisplay(width, height, in createVirtualDisplayHook() 100 auto error = getAdapter(device)->destroyVirtualDisplay(display); in destroyVirtualDisplayHook() 108 getAdapter(device)->dump(outSize, outBuffer); in dumpHook() 113 return getAdapter(device)->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCountHook() 122 auto error = getAdapter(device)->registerCallback(descriptor, in registerCallbackHook() 469 auto display = getAdapter(device)->getDisplay(displayId); in callDisplayFunction() 618 auto result = getAdapter(device)->getLayer(displayId, layerId); in callLayerFunction()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.h | 53 static inline HWC2On1Adapter* getAdapter(hwc2_device_t* device) { in getAdapter() function 63 getAdapter(device)->doGetCapabilities(outCount, outCapabilities); in getCapabilitiesHook() 72 return getAdapter(device)->doGetFunction(descriptor); in getFunctionHook() 84 auto error = getAdapter(device)->createVirtualDisplay(width, height, in createVirtualDisplayHook() 92 auto error = getAdapter(device)->destroyVirtualDisplay(display); in destroyVirtualDisplayHook() 100 getAdapter(device)->dump(outSize, outBuffer); in dumpHook() 105 return getAdapter(device)->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCountHook() 114 auto error = getAdapter(device)->registerCallback(descriptor, in registerCallbackHook() 403 auto display = getAdapter(device)->getDisplay(displayId); in callDisplayFunction() 585 auto result = getAdapter(device)->getLayer(displayId, layerId); in callLayerFunction()
|