/external/cronet/base/android/ |
D | android_hardware_buffer_compat.h | 16 AHardwareBuffer** outBuffer); 17 using PFAHardwareBuffer_acquire = void (*)(AHardwareBuffer* buffer); 18 using PFAHardwareBuffer_describe = void (*)(const AHardwareBuffer* buffer, 20 using PFAHardwareBuffer_lock = int (*)(AHardwareBuffer* buffer, 26 int (*)(int socketFd, AHardwareBuffer** outBuffer); 27 using PFAHardwareBuffer_release = void (*)(AHardwareBuffer* buffer); 29 int (*)(const AHardwareBuffer* buffer, int socketFd); 30 using PFAHardwareBuffer_unlock = int (*)(AHardwareBuffer* buffer, 48 void Allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer); 49 void Acquire(AHardwareBuffer* buffer); [all …]
|
D | scoped_hardware_buffer_handle.h | 12 extern "C" typedef struct AHardwareBuffer AHardwareBuffer; typedef 35 static ScopedHardwareBufferHandle Adopt(AHardwareBuffer* buffer); 38 static ScopedHardwareBufferHandle Create(AHardwareBuffer* buffer); 45 AHardwareBuffer* get() const; 56 [[nodiscard]] AHardwareBuffer* Take(); 84 explicit ScopedHardwareBufferHandle(AHardwareBuffer* buffer); 86 raw_ptr<AHardwareBuffer> buffer_ = nullptr;
|
D | android_hardware_buffer_compat.cc | 72 AHardwareBuffer** out_buffer) { in Allocate() 77 void AndroidHardwareBufferCompat::Acquire(AHardwareBuffer* buffer) { in Acquire() 87 void AndroidHardwareBufferCompat::Describe(const AHardwareBuffer* buffer, in Describe() 93 int AndroidHardwareBufferCompat::Lock(AHardwareBuffer* buffer, in Lock() 104 AHardwareBuffer** out_buffer) { in RecvHandleFromUnixSocket() 109 void AndroidHardwareBufferCompat::Release(AHardwareBuffer* buffer) { in Release() 115 const AHardwareBuffer* buffer, in SendHandleToUnixSocket() 121 int AndroidHardwareBufferCompat::Unlock(AHardwareBuffer* buffer, in Unlock()
|
D | scoped_hardware_buffer_handle.cc | 27 AHardwareBuffer* buffer) { in Adopt() 33 AHardwareBuffer* buffer) { in Create() 49 AHardwareBuffer* ScopedHardwareBufferHandle::get() const { in get() 60 AHardwareBuffer* ScopedHardwareBufferHandle::Take() { in Take() 61 AHardwareBuffer* buffer = buffer_; in Take() 100 AHardwareBuffer* buffer = nullptr; in DeserializeFromFileDescriptor() 115 ScopedHardwareBufferHandle::ScopedHardwareBufferHandle(AHardwareBuffer* buffer) in ScopedHardwareBufferHandle()
|
/external/libchrome/base/android/ |
D | android_hardware_buffer_abi.h | 29 typedef struct AHardwareBuffer AHardwareBuffer; typedef 71 AHardwareBuffer** outBuffer); 72 using PFAHardwareBuffer_acquire = void (*)(AHardwareBuffer* buffer); 73 using PFAHardwareBuffer_describe = void (*)(const AHardwareBuffer* buffer, 75 using PFAHardwareBuffer_lock = int (*)(AHardwareBuffer* buffer, 81 int (*)(int socketFd, AHardwareBuffer** outBuffer); 82 using PFAHardwareBuffer_release = void (*)(AHardwareBuffer* buffer); 84 int (*)(const AHardwareBuffer* buffer, int socketFd); 85 using PFAHardwareBuffer_unlock = int (*)(AHardwareBuffer* buffer,
|
D | android_hardware_buffer_compat.h | 22 void Allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer); 23 void Acquire(AHardwareBuffer* buffer); 24 void Describe(const AHardwareBuffer* buffer, AHardwareBuffer_Desc* outDesc); 25 int Lock(AHardwareBuffer* buffer, 30 int RecvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer); 31 void Release(AHardwareBuffer* buffer); 32 int SendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd); 33 int Unlock(AHardwareBuffer* buffer, int32_t* fence);
|
D | scoped_hardware_buffer_handle.h | 12 extern "C" typedef struct AHardwareBuffer AHardwareBuffer; typedef 31 static ScopedHardwareBufferHandle Adopt(AHardwareBuffer* buffer); 38 AHardwareBuffer* get() const; 49 AHardwareBuffer* Take() WARN_UNUSED_RESULT; 77 explicit ScopedHardwareBufferHandle(AHardwareBuffer* buffer); 79 AHardwareBuffer* buffer_ = nullptr;
|
D | android_hardware_buffer_compat.cc | 79 AHardwareBuffer** out_buffer) { in Allocate() 84 void AndroidHardwareBufferCompat::Acquire(AHardwareBuffer* buffer) { in Acquire() 89 void AndroidHardwareBufferCompat::Describe(const AHardwareBuffer* buffer, in Describe() 95 int AndroidHardwareBufferCompat::Lock(AHardwareBuffer* buffer, in Lock() 106 AHardwareBuffer** out_buffer) { in RecvHandleFromUnixSocket() 111 void AndroidHardwareBufferCompat::Release(AHardwareBuffer* buffer) { in Release() 117 const AHardwareBuffer* buffer, in SendHandleToUnixSocket() 123 int AndroidHardwareBufferCompat::Unlock(AHardwareBuffer* buffer, in Unlock()
|
D | scoped_hardware_buffer_handle.cc | 27 AHardwareBuffer* buffer) { in Adopt() 42 AHardwareBuffer* ScopedHardwareBufferHandle::get() const { in get() 53 AHardwareBuffer* ScopedHardwareBufferHandle::Take() { in Take() 54 AHardwareBuffer* buffer = nullptr; in Take() 93 AHardwareBuffer* buffer = nullptr; in DeserializeFromFileDescriptor() 108 ScopedHardwareBufferHandle::ScopedHardwareBufferHandle(AHardwareBuffer* buffer) in ScopedHardwareBufferHandle()
|
/external/mesa3d/include/android_stub/android/ |
D | hardware_buffer.h | 333 typedef struct AHardwareBuffer AHardwareBuffer; typedef 351 AHardwareBuffer** outBuffer) __INTRODUCED_IN(26); 360 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) __INTRODUCED_IN(26); 368 void AHardwareBuffer_release(AHardwareBuffer* buffer) __INTRODUCED_IN(26); 376 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, 431 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, 461 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, 482 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) __INTRODUCED_IN(26); 492 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) __INTRODUCE… 502 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) __INTRODUCE… [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/android/ |
D | AHBFunctions.h | 21 void acquire(AHardwareBuffer *buffer) const { mAcquireFn(buffer); } in acquire() 22 void describe(const AHardwareBuffer *buffer, AHardwareBuffer_Desc *outDesc) const in describe() 26 void release(AHardwareBuffer *buffer) const { mReleaseFn(buffer); } in release() 31 using PFN_AHARDWAREBUFFER_acquire = void (*)(AHardwareBuffer *buffer); 32 using PFN_AHARDWAREBUFFER_describe = void (*)(const AHardwareBuffer *buffer, 34 using PFN_AHARDWAREBUFFER_release = void (*)(AHardwareBuffer *buffer);
|
/external/skia/src/gpu/ganesh/ |
D | GrAHardwareBufferImageGenerator.h | 18 typedef struct AHardwareBuffer AHardwareBuffer; typedef 34 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType, 42 GrAHardwareBufferImageGenerator(const SkImageInfo&, AHardwareBuffer*, SkAlphaType, 59 AHardwareBuffer* fHardwareBuffer;
|
D | GrAHardwareBufferUtils_impl.h | 20 typedef struct AHardwareBuffer AHardwareBuffer; typedef 27 GrBackendFormat GetBackendFormat(GrDirectContext* context, AHardwareBuffer* hardwareBuffer, 56 GrBackendTexture MakeBackendTexture(GrDirectContext* context, AHardwareBuffer* hardwareBuffer,
|
D | GrAHardwareBufferImageGenerator.cpp | 51 AHardwareBuffer* graphicBuffer, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace, in Make() 68 AHardwareBuffer* hardwareBuffer, SkAlphaType alphaType, bool isProtectedContent, in GrAHardwareBufferImageGenerator() 106 AHardwareBuffer* hardwareBuffer = fHardwareBuffer; in makeView() 111 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeView() 123 AHardwareBuffer* get() const { return fAhb; } in makeView() 126 AHardwareBuffer* fAhb; in makeView()
|
/external/skia/include/third_party/vulkan/vulkan/ |
D | vulkan_android.h | 46 struct AHardwareBuffer; 78 struct AHardwareBuffer* buffer; 93 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn… 94 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer); 99 const struct AHardwareBuffer* buffer, 105 struct AHardwareBuffer** pBuffer);
|
/external/mesa3d/include/vulkan/ |
D | vulkan_android.h | 46 struct AHardwareBuffer; 78 struct AHardwareBuffer* buffer; 93 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn… 94 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer); 99 const struct AHardwareBuffer* buffer, 105 struct AHardwareBuffer** pBuffer);
|
/external/swiftshader/include/vulkan/ |
D | vulkan_android.h | 46 struct AHardwareBuffer; 78 struct AHardwareBuffer* buffer; 106 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn… 107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer); 112 const struct AHardwareBuffer* buffer, 118 struct AHardwareBuffer** pBuffer);
|
/external/vulkan-headers/include/vulkan/ |
D | vulkan_android.h | 46 struct AHardwareBuffer; 78 struct AHardwareBuffer* buffer; 106 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn… 107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer); 112 const struct AHardwareBuffer* buffer, 118 struct AHardwareBuffer** pBuffer);
|
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/ |
D | vulkan_android.h | 48 struct AHardwareBuffer; 80 struct AHardwareBuffer* buffer; 108 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn… 109 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer); 114 const struct AHardwareBuffer* buffer, 120 struct AHardwareBuffer** pBuffer);
|
/external/gfxstream-protocols/include/vulkan/include/vulkan/ |
D | vulkan_android.h | 46 struct AHardwareBuffer; 78 struct AHardwareBuffer* buffer; 106 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn… 107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer); 112 const struct AHardwareBuffer* buffer, 118 struct AHardwareBuffer** pBuffer);
|
/external/vulkan-validation-layers/layers/ |
D | android_ndk_types.h | 59 struct AHardwareBuffer {}; struct 99 static inline int AHardwareBuffer_allocate(const AHardwareBuffer_Desc *ahbDesc, AHardwareBuffer **b… in AHardwareBuffer_allocate() 102 *buffer = (AHardwareBuffer *)malloc(size); in AHardwareBuffer_allocate() 107 static inline void AHardwareBuffer_release(AHardwareBuffer *buffer) { in AHardwareBuffer_release() 111 static inline void AHardwareBuffer_describe(const AHardwareBuffer *buffer, AHardwareBuffer_Desc *ou… in AHardwareBuffer_describe()
|
/external/angle/src/tests/gl_tests/ |
D | ExternalBufferTest.cpp | 39 AHardwareBuffer *createAndroidHardwareBuffer(size_t size, const GLubyte *data) in createAndroidHardwareBuffer() 53 AHardwareBuffer *aHardwareBuffer = nullptr; in createAndroidHardwareBuffer() 72 void destroyAndroidHardwareBuffer(AHardwareBuffer *aHardwareBuffer) in destroyAndroidHardwareBuffer() 79 void *lockAndroidHardwareBuffer(AHardwareBuffer *aHardwareBuffer) in lockAndroidHardwareBuffer() 89 void unlockAndroidHardwareBuffer(AHardwareBuffer *aHardwareBuffer) in unlockAndroidHardwareBuffer() 106 AHardwareBuffer *aHardwareBuffer; in TEST_P() 147 AHardwareBuffer *aHardwareBuffer; in TEST_P() 211 AHardwareBuffer *aHardwareBuffer; in TEST_P() 258 AHardwareBuffer *aHardwareBuffer; in TEST_P() 296 AHardwareBuffer *aHardwareBuffer; in TEST_P()
|
/external/swiftshader/src/Vulkan/ |
D | VkDeviceMemoryExternalAndroid.hpp | 35 AHardwareBuffer *ahb = nullptr; 61 virtual VkResult exportAndroidHardwareBuffer(AHardwareBuffer **pAhb) const override final; 65 …static VkResult GetAndroidHardwareBufferProperties(VkDevice &device, const AHardwareBuffer *buffer… 80 VkResult importAndroidHardwareBuffer(AHardwareBuffer *buffer, void **pBuffer); 85 AHardwareBuffer *ahb = nullptr;
|
/external/angle/src/common/ |
D | android_util.h | 21 struct AHardwareBuffer; 205 EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuffer); 206 AHardwareBuffer *ClientBufferToAHardwareBuffer(EGLClientBuffer clientBuffer); 225 AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer);
|
D | android_util.cpp | 199 AHardwareBuffer *aHardwareBuffer = nullptr; in CreateEGLClientBufferFromAHardwareBuffer() 282 AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer) in ANativeWindowBufferToAHardwareBuffer() 284 return OffsetPointer<AHardwareBuffer>(windowBuffer, in ANativeWindowBufferToAHardwareBuffer() 288 EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuffer) in AHardwareBufferToClientBuffer() 294 AHardwareBuffer *ClientBufferToAHardwareBuffer(EGLClientBuffer clientBuffer) in ClientBufferToAHardwareBuffer() 296 return OffsetPointer<AHardwareBuffer>(clientBuffer, in ClientBufferToAHardwareBuffer()
|