Home
last modified time | relevance | path

Searched defs:bufferHandle (Results 1 – 25 of 59) sorted by relevance

123

/aosp_15_r20/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp85 void GraphicBufferMapper::dumpBuffer(buffer_handle_t bufferHandle, std::string& result, in dumpBuffer()
90 void GraphicBufferMapper::dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less) { in dumpBufferToSystemLog()
102 buffer_handle_t bufferHandle; in importBuffer() local
232 status_t GraphicBufferMapper::getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId) { in getBufferId()
236 status_t GraphicBufferMapper::getName(buffer_handle_t bufferHandle, std::string* outName) { in getName()
240 status_t GraphicBufferMapper::getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth) { in getWidth()
244 status_t GraphicBufferMapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) { in getHeight()
248 status_t GraphicBufferMapper::getLayerCount(buffer_handle_t bufferHandle, uint64_t* outLayerCount) { in getLayerCount()
252 status_t GraphicBufferMapper::getPixelFormatRequested(buffer_handle_t bufferHandle, in getPixelFormatRequested()
257 status_t GraphicBufferMapper::getPixelFormatFourCC(buffer_handle_t bufferHandle, in getPixelFormatFourCC()
[all …]
H A DGralloc5.cpp131 static auto getStandardMetadata(AIMapper *mapper, buffer_handle_t bufferHandle) in getStandardMetadata()
158 static AIMapper_Error setStandardMetadata(AIMapper *mapper, buffer_handle_t bufferHandle, in setStandardMetadata()
441 std::string Gralloc5Mapper::dumpBuffer(buffer_handle_t bufferHandle, bool less) const { in dumpBuffer()
529 status_t Gralloc5Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize()
590 void Gralloc5Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t *outNumFds, in getTransportSize()
595 status_t Gralloc5Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect &bounds, in lock()
607 status_t Gralloc5Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect &bounds, in lock()
615 auto unlock = [this](buffer_handle_t bufferHandle) { in lock()
742 status_t Gralloc5Mapper::getBufferId(buffer_handle_t bufferHandle, uint64_t *outBufferId) const { in getBufferId()
751 status_t Gralloc5Mapper::getName(buffer_handle_t bufferHandle, std::string *outName) const { in getName()
[all …]
H A DGralloc4.cpp223 status_t Gralloc4Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize()
239 void Gralloc4Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize()
262 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
303 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
474 status_t Gralloc4Mapper::get(buffer_handle_t bufferHandle, const MetadataType& metadataType, in get()
502 status_t Gralloc4Mapper::set(buffer_handle_t bufferHandle, const MetadataType& metadataType, in set()
532 status_t Gralloc4Mapper::getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId) const { in getBufferId()
537 status_t Gralloc4Mapper::getName(buffer_handle_t bufferHandle, std::string* outName) const { in getName()
541 status_t Gralloc4Mapper::getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth) const { in getWidth()
545 status_t Gralloc4Mapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) const { in getHeight()
[all …]
H A DGralloc2.cpp190 status_t Gralloc2Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize()
211 void Gralloc2Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize()
238 status_t Gralloc2Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
284 status_t Gralloc2Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
H A DGralloc3.cpp163 status_t Gralloc3Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize()
176 void Gralloc3Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize()
199 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
244 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock()
/aosp_15_r20/hardware/interfaces/graphics/mapper/stable-c/vts/
H A DVtsHalGraphicsMapperStableC_TargetTest.cpp222 auto getStandardMetadata(buffer_handle_t bufferHandle) in getStandardMetadata()
251 AIMapper_Error setStandardMetadata(buffer_handle_t bufferHandle, in setStandardMetadata()
323 void verifyRGBA8888(const buffer_handle_t bufferHandle, const uint8_t* data, uint32_t height, in verifyRGBA8888()
386 void getAndroidYCbCr(buffer_handle_t bufferHandle, uint8_t* data, android_ycbcr* outYCbCr, in getAndroidYCbCr()
463 YCbCr getAndroidYCbCr_P010(const native_handle_t* bufferHandle, uint8_t* data) { in getAndroidYCbCr_P010()
665 buffer_handle_t bufferHandle = nullptr; in TEST_P() local
679 buffer_handle_t bufferHandle = nullptr; in TEST_P() local
693 native_handle_t* bufferHandle = nullptr; in TEST_P() local
1197 auto bufferHandle = buffer->import(); in TEST_P() local
1206 auto bufferHandle = buffer->import(); in TEST_P() local
[all …]
/aosp_15_r20/hardware/interfaces/graphics/mapper/4.0/utils/vts/
H A DMapperVts.cpp74 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
81 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
90 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
119 const native_handle_t* bufferHandle = nullptr; in allocate() local
192 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
208 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
225 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
251 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
273 int Gralloc::flushLockedBuffer(const native_handle_t* bufferHandle) { in flushLockedBuffer()
295 void Gralloc::rereadLockedBuffer(const native_handle_t* bufferHandle) { in rereadLockedBuffer()
[all …]
/aosp_15_r20/hardware/interfaces/graphics/mapper/3.0/utils/vts/
H A DMapperVts.cpp57 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
64 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
83 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
158 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
172 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
185 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
218 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
245 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
267 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
276 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
/aosp_15_r20/external/minigbm/cros_gralloc/gralloc4/
H A DCrosGralloc4Mapper.cc77 const native_handle_t* bufferHandle = handle.getNativeHandle(); in importBuffer() local
109 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in freeBuffer() local
133 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in validateBufferSize() local
185 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in getTransportSize() local
205 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawBuffer); in lock() local
308 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in unlock() local
335 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in flushLockedBuffer() local
367 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in rereadLockedBuffer() local
410 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in get() local
582 buffer_handle_t bufferHandle = reinterpret_cast<buffer_handle_t>(rawHandle); in set() local
[all …]
/aosp_15_r20/hardware/interfaces/graphics/mapper/4.0/vts/functional/
H A DVtsHalGraphicsMapperV4_0TargetTest.cpp98 const native_handle_t* bufferHandle = nullptr; in testGet() local
116 const native_handle_t* bufferHandle = nullptr; in testSet() local
180 const native_handle_t* bufferHandle = nullptr) { in verifyBufferDump()
215 void getAndroidYCbCr(const native_handle_t* bufferHandle, uint8_t* data, in getAndroidYCbCr()
293 YCbCr getAndroidYCbCr_P010(const native_handle_t* bufferHandle, uint8_t* data) { in getAndroidYCbCr_P010()
391 void verifyRGBA8888(const native_handle_t* bufferHandle, const uint8_t* data, uint32_t height, in verifyRGBA8888()
501 for (auto bufferHandle : bufferHandles) { in TEST_P() local
528 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
586 const native_handle_t* bufferHandle; in TEST_P() local
641 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
[all …]
/aosp_15_r20/hardware/interfaces/graphics/mapper/2.0/utils/vts/
H A DMapperVts.cpp40 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
47 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
66 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
137 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
151 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
164 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
190 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
217 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
/aosp_15_r20/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
H A DMapper.h64 native_handle_t* bufferHandle = nullptr; in importBuffer() local
83 native_handle_t* bufferHandle = getImportedBuffer(buffer); in freeBuffer() local
93 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in lock() local
115 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in lockYCbCr() local
135 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in unlock() local
155 virtual void* addImportedBuffer(native_handle_t* bufferHandle) { in addImportedBuffer()
159 virtual Error freeImportedBuffer(native_handle_t* bufferHandle) { in freeImportedBuffer()
/aosp_15_r20/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
H A DGrallocLoader.h61 void* add(native_handle_t* bufferHandle) { in add()
66 void removeLocked(native_handle* bufferHandle) { mBufferHandles.erase(bufferHandle); } in removeLocked()
69 auto bufferHandle = static_cast<native_handle_t*>(buffer); in get() local
76 auto bufferHandle = static_cast<const native_handle_t*>(buffer); in getConst() local
91 void* addImportedBuffer(native_handle_t* bufferHandle) override { in addImportedBuffer()
95 Error freeImportedBuffer(native_handle_t* bufferHandle) override { in freeImportedBuffer()
H A DGralloc0Hal.h78 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer() local
94 Error freeBuffer(native_handle_t* bufferHandle) override { in freeBuffer()
104 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
129 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
163 Error unlock(const native_handle_t* bufferHandle, base::unique_fd* outFenceFd) override { in unlock()
H A DGralloc1Hal.h98 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer() local
115 Error freeBuffer(native_handle_t* bufferHandle) override { in freeBuffer()
124 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
140 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
167 Error unlock(const native_handle_t* bufferHandle, base::unique_fd* outFenceFd) override { in unlock()
/aosp_15_r20/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp247 static Error registerBuffer(buffer_handle_t bufferHandle) in registerBuffer()
271 static Error unregisterBuffer(buffer_handle_t bufferHandle) in unregisterBuffer()
336 static Error lockBuffer(buffer_handle_t bufferHandle, in lockBuffer()
422 static Error unlockBuffer(buffer_handle_t bufferHandle, in unlockBuffer()
472 Error freeBuffer(buffer_handle_t bufferHandle) in freeBuffer()
493 Error lock(buffer_handle_t bufferHandle, uint64_t cpuUsage, const GrallocRect &accessRegion, int ac… in lock()
508 Error unlock(buffer_handle_t bufferHandle, int *releaseFence) { in unlock()
525 buffer_handle_t bufferHandle = gRegisteredHandles->get(buffer); in validateBufferSize() local
642 Error getTransportSize(buffer_handle_t bufferHandle, uint32_t *outNumFds, uint32_t *outNumInts) in getTransportSize()
DRegisteredHandlePool.cpp21 bool RegisteredHandlePool::add(buffer_handle_t bufferHandle) in add()
29 auto bufferHandle = const_cast<native_handle_t*>(buffer); in remove() local
37 auto bufferHandle = static_cast<buffer_handle_t>(buffer); in get() local
/aosp_15_r20/external/minigbm/cros_gralloc/mapper_stablec/
H A DMapper.cpp35 #define VALIDATE_BUFFER_HANDLE(bufferHandle) \ argument
41 #define VALIDATE_DRIVER_AND_BUFFER_HANDLE(bufferHandle) \ argument
125 const native_handle_t* _Nonnull bufferHandle, in importBuffer()
164 AIMapper_Error CrosGrallocMapperV5::getTransportSize(buffer_handle_t _Nonnull bufferHandle, in getTransportSize()
175 AIMapper_Error CrosGrallocMapperV5::lock(buffer_handle_t _Nonnull bufferHandle, uint64_t cpuUsage, in lock()
279 int32_t CrosGrallocMapperV5::getStandardMetadata(buffer_handle_t _Nonnull bufferHandle, in getStandardMetadata()
446 AIMapper_Error CrosGrallocMapperV5::setStandardMetadata(buffer_handle_t _Nonnull bufferHandle, in setStandardMetadata()
620 buffer_handle_t _Nonnull bufferHandle, in dumpBuffer()
/aosp_15_r20/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
H A DGralloc1On0Adapter.h275 buffer_handle_t bufferHandle, in callBufferFunction()
287 buffer_handle_t bufferHandle, Args... args) { in bufferHook()
293 buffer_handle_t bufferHandle, uint64_t* outUsage) { in getConsumerUsageHook()
304 buffer_handle_t bufferHandle, uint64_t* outUsage) { in getProducerUsageHook()
328 buffer_handle_t bufferHandle) in retainHook()
336 buffer_handle_t bufferHandle) { in releaseHook()
367 buffer_handle_t bufferHandle, in lockHook()
422 buffer_handle_t bufferHandle, int32_t* outReleaseFenceFd) { in unlockHook()
/aosp_15_r20/hardware/interfaces/graphics/mapper/3.0/vts/functional/
H A DVtsHalGraphicsMapperV3_0TargetTest.cpp86 for (auto bufferHandle : bufferHandles) { in TEST_P() local
113 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
170 const native_handle_t* bufferHandle; in TEST_P() local
225 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
277 const native_handle_t* bufferHandle; in TEST_P() local
340 const native_handle_t* bufferHandle; in TEST_P() local
378 const native_handle_t* bufferHandle; in TEST_P() local
/aosp_15_r20/hardware/interfaces/graphics/mapper/2.0/vts/functional/
H A DVtsHalGraphicsMapperV2_0TargetTest.cpp85 for (auto bufferHandle : bufferHandles) { in TEST_P() local
112 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
169 const native_handle_t* bufferHandle; in TEST_P() local
224 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
276 const native_handle_t* bufferHandle; in TEST_P() local
323 const native_handle_t* bufferHandle; in TEST_P() local
/aosp_15_r20/external/angle/src/libANGLE/renderer/vulkan/
H A DSecondaryCommandPool.cpp84 VkCommandBuffer bufferHandle = buffer->releaseHandle(); in collect() local
105 VkCommandBuffer bufferHandle = mCollectedBuffers.front(); in freeCollectedBuffers() local
118 for (VkCommandBuffer bufferHandle : buffers) in freeCollectedBuffers() local
/aosp_15_r20/hardware/interfaces/graphics/mapper/2.1/vts/functional/
H A DVtsHalGraphicsMapperV2_1TargetTest.cpp64 const native_handle_t* bufferHandle; in TEST_P() local
110 native_handle_t* bufferHandle; in TEST_P() local
151 const native_handle_t* bufferHandle; in TEST_P() local
/aosp_15_r20/device/generic/goldfish-opengl/system/hwc3/
DComposerResources.cpp157 buffer_handle_t bufferHandle = nullptr; in getDisplayClientTarget() local
174 buffer_handle_t bufferHandle = nullptr; in getDisplayOutputBuffer() local
194 buffer_handle_t bufferHandle = nullptr; in getLayerBuffer() local
/aosp_15_r20/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp51 native_handle_t* bufferHandle = const_cast<native_handle_t*>(buffer); in freeBuffer() local
149 AIMapper_Error GrallocMapper::setStandardMetadata(buffer_handle_t _Nonnull bufferHandle, in setStandardMetadata()
238 AIMapper_Error GrallocMapper::dumpBuffer(buffer_handle_t _Nonnull bufferHandle, in dumpBuffer()

123