/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 74 void GraphicBufferMapper::dumpBuffer(buffer_handle_t bufferHandle, std::string& result, in dumpBuffer() argument 76 result.append(mMapper->dumpBuffer(bufferHandle, less)); in dumpBuffer() 79 void GraphicBufferMapper::dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less) { in dumpBufferToSystemLog() argument 81 GraphicBufferMapper::getInstance().dumpBuffer(bufferHandle, s, less); in dumpBufferToSystemLog() 92 buffer_handle_t bufferHandle; in importBuffer() local 93 status_t error = mMapper->importBuffer(hardware::hidl_handle(rawHandle), &bufferHandle); in importBuffer() 99 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer() 103 freeBuffer(bufferHandle); in importBuffer() 107 *outHandle = bufferHandle; in importBuffer() 192 status_t GraphicBufferMapper::getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId) { in getBufferId() argument [all …]
|
D | Gralloc4.cpp | 155 void Gralloc4Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 156 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() 163 status_t Gralloc4Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() argument 171 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize() 177 void Gralloc4Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize() argument 179 *outNumFds = uint32_t(bufferHandle->numFds); in getTransportSize() 180 *outNumInts = uint32_t(bufferHandle->numInts); in getTransportSize() 183 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize() 200 status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() argument 204 status_t err = getPlaneLayouts(bufferHandle, &planeLayouts); in lock() [all …]
|
D | Gralloc2.cpp | 172 void Gralloc2Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 173 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() 181 status_t Gralloc2Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() argument 196 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize() 202 void Gralloc2Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize() argument 204 *outNumFds = uint32_t(bufferHandle->numFds); in getTransportSize() 205 *outNumInts = uint32_t(bufferHandle->numInts); in getTransportSize() 212 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize() 229 status_t Gralloc2Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() argument 238 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock() [all …]
|
D | Gralloc3.cpp | 146 void Gralloc3Mapper::freeBuffer(buffer_handle_t bufferHandle) const { in freeBuffer() 147 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() 154 status_t Gralloc3Mapper::validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, in validateBufferSize() argument 161 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize() 167 void Gralloc3Mapper::getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, in getTransportSize() argument 169 *outNumFds = uint32_t(bufferHandle->numFds); in getTransportSize() 170 *outNumInts = uint32_t(bufferHandle->numInts); in getTransportSize() 173 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize() 190 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() argument 193 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock() [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc4.h | 41 std::string dumpBuffer(buffer_handle_t bufferHandle, bool less = true) const override; 49 void freeBuffer(buffer_handle_t bufferHandle) const override; 51 status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, uint32_t height, 55 void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 58 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 62 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 65 int unlock(buffer_handle_t bufferHandle) const override; 70 status_t getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId) const override; 71 status_t getName(buffer_handle_t bufferHandle, std::string* outName) const override; 72 status_t getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth) const override; [all …]
|
D | GraphicBufferMapper.h | 52 void dumpBuffer(buffer_handle_t bufferHandle, std::string& result, bool less = true) const; 53 static void dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less = true); 97 status_t getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId); 98 status_t getName(buffer_handle_t bufferHandle, std::string* outName); 99 status_t getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth); 100 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight); 101 status_t getLayerCount(buffer_handle_t bufferHandle, uint64_t* outLayerCount); 102 status_t getPixelFormatRequested(buffer_handle_t bufferHandle, 104 status_t getPixelFormatFourCC(buffer_handle_t bufferHandle, uint32_t* outPixelFormatFourCC); 105 status_t getPixelFormatModifier(buffer_handle_t bufferHandle, uint64_t* outPixelFormatModifier); [all …]
|
D | Gralloc2.h | 46 void freeBuffer(buffer_handle_t bufferHandle) const override; 48 status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, uint32_t height, 52 void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 55 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 59 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 62 int unlock(buffer_handle_t bufferHandle) const override;
|
D | Gralloc3.h | 45 void freeBuffer(buffer_handle_t bufferHandle) const override; 47 status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, uint32_t height, 51 void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 54 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 58 status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 61 int unlock(buffer_handle_t bufferHandle) const override;
|
D | Gralloc.h | 52 virtual void freeBuffer(buffer_handle_t bufferHandle) const = 0; 54 virtual status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width, 59 virtual void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds, 64 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 70 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, 75 virtual int unlock(buffer_handle_t bufferHandle) const = 0;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 52 void dumpBuffer(buffer_handle_t bufferHandle, std::string& result, bool less = true) const; 53 static void dumpBufferToSystemLog(buffer_handle_t bufferHandle, bool less = true); 97 status_t getBufferId(buffer_handle_t bufferHandle, uint64_t* outBufferId); 98 status_t getName(buffer_handle_t bufferHandle, std::string* outName); 99 status_t getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth); 100 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight); 101 status_t getLayerCount(buffer_handle_t bufferHandle, uint64_t* outLayerCount); 102 status_t getPixelFormatRequested(buffer_handle_t bufferHandle, 104 status_t getPixelFormatFourCC(buffer_handle_t bufferHandle, uint32_t* outPixelFormatFourCC); 105 status_t getPixelFormatModifier(buffer_handle_t bufferHandle, uint64_t* outPixelFormatModifier); [all …]
|
/frameworks/hardware/interfaces/bufferhub/1.0/ |
D | types.hal | 42 handle bufferHandle;
|
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/ |
D | VtsHalBufferHubV1_0TargetTest.cpp | 110 bufferTraits.bufferHandle.getNativeHandle() != nullptr && metadataFd >= 0 && in isValidTraits()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 1396 OMX_U8* bufferHandle = const_cast<OMX_U8*>( in useGraphicBuffer2_l() local 1405 bufferHandle); in useGraphicBuffer2_l() 1408 CLOG_ERROR(useBuffer, err, BUFFER_FMT(portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l() 1415 CHECK_EQ(header->pBuffer, bufferHandle); in useGraphicBuffer2_l() 1422 *buffer, portIndex, "%u@%p", def.nBufferSize, bufferHandle)); in useGraphicBuffer2_l()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.h | 142 V2_1::Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle,
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 292 Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle,
|
D | vr_hwc.cpp | 988 const native_handle_t* bufferHandle, in setReadbackBuffer() argument
|