Home
last modified time | relevance | path

Searched refs:AHardwareBuffer (Results 1 – 25 of 101) sorted by relevance

12345

/third_party/mesa3d/include/android_stub/android/
Dhardware_buffer.h333 typedef struct AHardwareBuffer AHardwareBuffer; typedef
349 AHardwareBuffer** outBuffer) __INTRODUCED_IN(26);
358 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) __INTRODUCED_IN(26);
366 void AHardwareBuffer_release(AHardwareBuffer* buffer) __INTRODUCED_IN(26);
374 void AHardwareBuffer_describe(const AHardwareBuffer* buffer,
429 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage,
459 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage,
480 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) __INTRODUCED_IN(26);
490 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) __INTRODUCE…
500 int AHardwareBuffer_recvHandleFromUnixSocket(int socketFd, AHardwareBuffer** outBuffer) __INTRODUCE…
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DAHBFunctions.h21 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);
/third_party/mesa3d/src/android_stub/
Dnativewindow_stub.cpp5 AHardwareBuffer *
12 AHardwareBuffer_acquire(AHardwareBuffer *buffer) in AHardwareBuffer_acquire()
17 AHardwareBuffer_release(AHardwareBuffer *buffer) in AHardwareBuffer_release()
22 AHardwareBuffer_describe(const AHardwareBuffer *buffer, in AHardwareBuffer_describe()
29 AHardwareBuffer **outBuffer) in AHardwareBuffer_allocate()
35 AHardwareBuffer_getNativeHandle(const AHardwareBuffer *buffer) in AHardwareBuffer_getNativeHandle()
/third_party/skia/src/gpu/
DGrAHardwareBufferImageGenerator.h18 typedef struct AHardwareBuffer AHardwareBuffer; typedef
34 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType,
49 GrAHardwareBufferImageGenerator(const SkImageInfo&, AHardwareBuffer*, SkAlphaType,
58 AHardwareBuffer* fHardwareBuffer;
DGrAHardwareBufferUtils.h20 typedef struct AHardwareBuffer AHardwareBuffer; typedef
27 GrBackendFormat GetBackendFormat(GrDirectContext* context, AHardwareBuffer* hardwareBuffer,
56 GrBackendTexture MakeBackendTexture(GrDirectContext* context, AHardwareBuffer* hardwareBuffer,
DGrAHardwareBufferImageGenerator.cpp50 AHardwareBuffer* graphicBuffer, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace, in Make()
67 AHardwareBuffer* hardwareBuffer, SkAlphaType alphaType, bool isProtectedContent, in GrAHardwareBufferImageGenerator()
105 AHardwareBuffer* hardwareBuffer = fHardwareBuffer; in makeView()
110 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeView()
122 AHardwareBuffer* get() const { return fAhb; } in makeView()
125 AHardwareBuffer* fAhb; in makeView()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferImageGenerator.h17 typedef struct AHardwareBuffer AHardwareBuffer; typedef
33 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType,
49 GrAHardwareBufferImageGenerator(const SkImageInfo&, AHardwareBuffer*, SkAlphaType,
58 AHardwareBuffer* fHardwareBuffer;
DGrAHardwareBufferUtils.h20 typedef struct AHardwareBuffer AHardwareBuffer; typedef
27 GrBackendFormat GetBackendFormat(GrContext* context, AHardwareBuffer* hardwareBuffer,
56 GrBackendTexture MakeBackendTexture(GrContext* context, AHardwareBuffer* hardwareBuffer,
DGrAHardwareBufferImageGenerator.cpp50 AHardwareBuffer* graphicBuffer, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace, in Make()
67 AHardwareBuffer* hardwareBuffer, SkAlphaType alphaType, bool isProtectedContent, in GrAHardwareBufferImageGenerator()
127 AHardwareBuffer* hardwareBuffer = fHardwareBuffer; in makeProxy()
134 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeProxy()
146 AHardwareBuffer* get() const { return fAhb; } in makeProxy()
149 AHardwareBuffer* fAhb; in makeProxy()
/third_party/flutter/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h55 struct AHardwareBuffer;
87 struct AHardwareBuffer* buffer;
102 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn…
103 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
108 const struct AHardwareBuffer* buffer,
114 struct AHardwareBuffer** pBuffer);
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h57 struct AHardwareBuffer;
91 struct AHardwareBuffer* buffer;
107 …ndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer* buffer, VkAn…
108 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
113 const struct AHardwareBuffer* buffer,
119 struct AHardwareBuffer** pBuffer);
/third_party/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h46 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);
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_android.h46 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);
/third_party/vulkan-headers/include/vulkan/
Dvulkan_android.h46 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);
/third_party/mesa3d/include/vulkan/
Dvulkan_android.h46 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);
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h46 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);
/third_party/skia/third_party/externals/angle2/src/common/
Dandroid_util.h21 struct AHardwareBuffer;
32 EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuffer);
33 AHardwareBuffer *ClientBufferToAHardwareBuffer(EGLClientBuffer clientBuffer);
52 AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer);
Dandroid_util.cpp321 AHardwareBuffer *aHardwareBuffer = nullptr; in CreateEGLClientBufferFromAHardwareBuffer()
402 AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer) in ANativeWindowBufferToAHardwareBuffer()
404 return offsetPointer<AHardwareBuffer>(windowBuffer, in ANativeWindowBufferToAHardwareBuffer()
408 EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuffer) in AHardwareBufferToClientBuffer()
414 AHardwareBuffer *ClientBufferToAHardwareBuffer(EGLClientBuffer clientBuffer) in ClientBufferToAHardwareBuffer()
416 return offsetPointer<AHardwareBuffer>(clientBuffer, in ClientBufferToAHardwareBuffer()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DExternalBufferTest.cpp39 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()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.hpp35 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;
/third_party/skia/third_party/externals/egl-registry/extensions/ANDROID/
DEGL_ANDROID_get_native_client_buffer.txt42 AHardwareBuffer object which can be later used to create an EGLImage.
46 struct AHardwareBuffer
50 EGLClientBuffer eglGetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer)
65 const struct AHardwareBuffer *buffer)
67 may be used to create an EGLClientBuffer from an AHardwareBuffer object.
84 1. Should this extension define what particular AHardwareBuffer formats EGL
/third_party/EGL/extensions/ANDROID/
DEGL_ANDROID_get_native_client_buffer.txt42 AHardwareBuffer object which can be later used to create an EGLImage.
46 struct AHardwareBuffer
50 EGLClientBuffer eglGetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer)
65 const struct AHardwareBuffer *buffer)
67 may be used to create an EGLClientBuffer from an AHardwareBuffer object.
84 1. Should this extension define what particular AHardwareBuffer formats EGL
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dandroid_util.h16 struct AHardwareBuffer;
25 EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuffer);
34 AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer);
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.h58 struct AHardwareBuffer *ahb);
67 vn_android_release_ahb(struct AHardwareBuffer *ahb);
128 UNUSED struct AHardwareBuffer *ahb) in vn_android_device_import_ahb()
143 vn_android_release_ahb(UNUSED struct AHardwareBuffer *ahb) in vn_android_release_ahb()
/third_party/vk-gl-cts/modules/egl/
DteglAndroidUtil.cpp99 typedef int (*pfnAHardwareBuffer_allocate)(const AHardwareBuffer_Desc* desc, AHardwareBuffer** out…
100 typedef void (*pfnAHardwareBuffer_describe)(const AHardwareBuffer* buffer, AHardwareBuffer_Desc* ou…
101 typedef void (*pfnAHardwareBuffer_acquire)(AHardwareBuffer* buffer);
102 typedef void (*pfnAHardwareBuffer_release)(AHardwareBuffer* buffer);
184 AHardwareBuffer* m_hardwareBuffer;
242 …Buffer (EGLW_APIENTRY* eglGetNativeClientBufferANDROIDFunc) (const struct AHardwareBuffer *buffer); in get()

12345