Home
last modified time | relevance | path

Searched refs:getAdapter (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/graphics/allocator/2.0/default/
DGralloc1On0Adapter.h47 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 …]
DGralloc1On0Adapter.cpp291 auto adapter = getAdapter(device); in allocateHook()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h53 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()