Home
last modified time | relevance | path

Searched refs:mDispatch (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h103 mDispatch.dump(mDevice, &len, nullptr); in dumpDebugInfo()
106 mDispatch.dump(mDevice, &len, buf.data()); in dumpDebugInfo()
116 mDispatch.registerCallback(mDevice, HWC2_CALLBACK_HOTPLUG, this, in registerEventCallback()
118 mDispatch.registerCallback(mDevice, HWC2_CALLBACK_REFRESH, this, in registerEventCallback()
120 mDispatch.registerCallback(mDevice, HWC2_CALLBACK_VSYNC, this, in registerEventCallback()
132 mDispatch.registerCallback(mDevice, HWC2_CALLBACK_HOTPLUG, this, nullptr); in unregisterEventCallback()
133 mDispatch.registerCallback(mDevice, HWC2_CALLBACK_REFRESH, this, nullptr); in unregisterEventCallback()
134 mDispatch.registerCallback(mDevice, HWC2_CALLBACK_VSYNC, this, nullptr); in unregisterEventCallback()
140 return mDispatch.getMaxVirtualDisplayCount(mDevice); in getMaxVirtualDisplayCount()
147 mDispatch.createVirtualDisplay(mDevice, width, height, &hwc_format, outDisplay); in createVirtualDisplay()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h53 if (!mDispatch.getPerFrameMetadataKeys) { in getPerFrameMetadataKeys()
58 int32_t error = mDispatch.getPerFrameMetadataKeys(mDevice, display, &count, nullptr); in getPerFrameMetadataKeys()
64 error = mDispatch.getPerFrameMetadataKeys( in getPerFrameMetadataKeys()
80 if (!mDispatch.setLayerPerFrameMetadata) { in setLayerPerFrameMetadata()
93 int32_t error = mDispatch.setLayerPerFrameMetadata(mDevice, display, layer, metadata.size(), in setLayerPerFrameMetadata()
100 if (!mDispatch.getReadbackBufferAttributes) { in getReadbackBufferAttributes()
107 mDispatch.getReadbackBufferAttributes(mDevice, display, &format, &dataspace); in getReadbackBufferAttributes()
117 if (!mDispatch.setReadbackBuffer) { in setReadbackBuffer()
122 mDispatch.setReadbackBuffer(mDevice, display, bufferHandle, fenceFd.release()); in setReadbackBuffer()
127 if (!mDispatch.getReadbackBufferFence) { in getReadbackBufferFence()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc1Hal.h74 mDispatch.dump(mDevice, &len, nullptr); in dumpDebugInfo()
77 mDispatch.dump(mDevice, &len, buf.data()); in dumpDebugInfo()
121 mDispatch.destroyDescriptor(mDevice, desc); in allocateBuffers()
136 int32_t error = mDispatch.release(mDevice, buffer); in freeBuffers()
173 if (!initDispatch(GRALLOC1_FUNCTION_DUMP, &mDispatch.dump) || in initDispatch()
174 !initDispatch(GRALLOC1_FUNCTION_CREATE_DESCRIPTOR, &mDispatch.createDescriptor) || in initDispatch()
175 !initDispatch(GRALLOC1_FUNCTION_DESTROY_DESCRIPTOR, &mDispatch.destroyDescriptor) || in initDispatch()
176 !initDispatch(GRALLOC1_FUNCTION_SET_DIMENSIONS, &mDispatch.setDimensions) || in initDispatch()
177 !initDispatch(GRALLOC1_FUNCTION_SET_FORMAT, &mDispatch.setFormat) || in initDispatch()
178 !initDispatch(GRALLOC1_FUNCTION_SET_CONSUMER_USAGE, &mDispatch.setConsumerUsage) || in initDispatch()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h122 if (!mDispatch.getDisplayIdentificationData) { in getDisplayIdentificationData()
128 mDispatch.getDisplayIdentificationData(mDevice, display, outPort, &size, nullptr); in getDisplayIdentificationData()
135 mDispatch.getDisplayIdentificationData(mDevice, display, outPort, &size, data.data()); in getDisplayIdentificationData()
146 if (!mDispatch.setLayerColorTransform) { in setLayerColorTransform()
159 int32_t err = mDispatch.setLayerColorTransform(mDevice, display, layer, matrix); in setLayerColorTransform()
166 if (!mDispatch.getDisplayedContentSamplingAttributes) { in getDisplayedContentSamplingAttributes()
172 int32_t errorRaw = mDispatch.getDisplayedContentSamplingAttributes( in getDisplayedContentSamplingAttributes()
188 if (!mDispatch.setDisplayedContentSamplingEnabled) { in setDisplayedContentSamplingEnabled()
191 return static_cast<Error>(mDispatch.setDisplayedContentSamplingEnabled( in setDisplayedContentSamplingEnabled()
200 if (!mDispatch.getDisplayedContentSample) { in getDisplayedContentSample()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h103 int32_t error = mDispatch.retain(mDevice, bufferHandle); in importBuffer()
116 int32_t error = mDispatch.release(mDevice, bufferHandle); in freeBuffer()
131 int32_t error = mDispatch.lock(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lock()
145 int32_t error = mDispatch.getNumFlexPlanes(mDevice, bufferHandle, &flex.num_planes); in lockYCbCr()
155 error = mDispatch.lockFlex(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lockYCbCr()
169 int32_t error = mDispatch.unlock(mDevice, bufferHandle, &fenceFd); in unlock()
210 if (!initDispatch(GRALLOC1_FUNCTION_RETAIN, &mDispatch.retain) || in initDispatch()
211 !initDispatch(GRALLOC1_FUNCTION_RELEASE, &mDispatch.release) || in initDispatch()
212 !initDispatch(GRALLOC1_FUNCTION_GET_NUM_FLEX_PLANES, &mDispatch.getNumFlexPlanes) || in initDispatch()
213 !initDispatch(GRALLOC1_FUNCTION_LOCK, &mDispatch.lock) || in initDispatch()
[all …]
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h52 mDispatch.validateBufferSize(mDevice, bufferHandle, &bufferDescriptorInfo, stride); in validateBufferSize()
62 int32_t error = mDispatch.getTransportSize(mDevice, bufferHandle, outNumFds, outNumInts); in getTransportSize()
68 int32_t error = mDispatch.importBuffer( in importBuffer()
91 if (!initDispatch(GRALLOC1_FUNCTION_VALIDATE_BUFFER_SIZE, &mDispatch.validateBufferSize) || in initDispatch()
92 !initDispatch(GRALLOC1_FUNCTION_GET_TRANSPORT_SIZE, &mDispatch.getTransportSize) || in initDispatch()
93 !initDispatch(GRALLOC1_FUNCTION_IMPORT_BUFFER, &mDispatch.importBuffer)) { in initDispatch()
104 } mDispatch = {}; variable