Home
last modified time | relevance | path

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

12

/external/libchrome/base/android/
Dscoped_hardware_buffer_handle.h12 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;
Dscoped_hardware_buffer_handle.cc27 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/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,
33 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()
126 AHardwareBuffer* hardwareBuffer = fHardwareBuffer; in makeProxy()
133 AutoAHBRelease(AHardwareBuffer* ahb) : fAhb(ahb) {} in makeProxy()
145 AHardwareBuffer* get() const { return fAhb; } in makeProxy()
148 AHardwareBuffer* fAhb; in makeProxy()
DGrAHardwareBufferUtils.cpp63 GrBackendFormat GetBackendFormat(GrContext* context, AHardwareBuffer* hardwareBuffer, in GetBackendFormat()
183 GrContext* context, AHardwareBuffer* hardwareBuffer, in make_gl_backend_texture()
271 GrContext* context, AHardwareBuffer* hardwareBuffer, in make_vk_backend_texture()
489 GrBackendTexture MakeBackendTexture(GrContext* context, AHardwareBuffer* hardwareBuffer, in MakeBackendTexture()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.h17 typedef struct AHardwareBuffer AHardwareBuffer; typedef
33 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType,
56 GrAHardwareBufferImageGenerator(const SkImageInfo&, AHardwareBuffer*, SkAlphaType,
65 AHardwareBuffer* fHardwareBuffer;
DGrAHardwareBufferImageGenerator.cpp70 AHardwareBuffer* graphicBuffer, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace, in Make()
109 AHardwareBuffer* hardwareBuffer, SkAlphaType alphaType, bool isProtectedContent, in GrAHardwareBufferImageGenerator()
155 GrContext* context, AHardwareBuffer* hardwareBuffer, in make_vk_backend_texture()
368 GrContext* context, AHardwareBuffer* hardwareBuffer, in make_gl_backend_texture()
426 GrContext* context, AHardwareBuffer* hardwareBuffer, in make_backend_texture()
453 GrBackendFormat get_backend_format(GrContext* context, AHardwareBuffer* hardwareBuffer, in get_backend_format()
575 AHardwareBuffer* hardwareBuffer = fHardwareBuffer; in makeProxy()
/external/swiftshader/include/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);
/external/vulkan-headers/include/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);
/external/skqp/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);
/external/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);
/external/vulkan-validation-layers/layers/
Dandroid_ndk_types.h59 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/skia/tests/
DVkHardwareBufferTest.cpp52 AHardwareBuffer* buffer) = 0;
54 AHardwareBuffer* buffer) = 0;
101 AHardwareBuffer* buffer) override;
103 AHardwareBuffer* buffer) override;
115 bool importHardwareBuffer(skiatest::Reporter* reporter, AHardwareBuffer* buffer);
117 typedef EGLClientBuffer (*EGLGetNativeClientBufferANDROIDProc)(const struct AHardwareBuffer*);
217 bool EGLTestHelper::importHardwareBuffer(skiatest::Reporter* reporter, AHardwareBuffer* buffer) { in importHardwareBuffer()
255 AHardwareBuffer* buffer) { in importHardwareBufferForRead()
283 AHardwareBuffer* buffer) { in importHardwareBufferForWrite()
446 AHardwareBuffer* buffer) override;
[all …]
DGrAHardwareBufferTest.cpp94 static void cleanup_resources(AHardwareBuffer* buffer) { in cleanup_resources()
119 AHardwareBuffer* buffer = nullptr; in basic_draw_test_helper()
229 AHardwareBuffer* buffer = nullptr; in surface_draw_test_helper()
/external/skqp/tests/
DVkHardwareBufferTest.cpp52 AHardwareBuffer* buffer) = 0;
54 AHardwareBuffer* buffer) = 0;
101 AHardwareBuffer* buffer) override;
103 AHardwareBuffer* buffer) override;
115 bool importHardwareBuffer(skiatest::Reporter* reporter, AHardwareBuffer* buffer);
117 typedef EGLClientBuffer (*EGLGetNativeClientBufferANDROIDProc)(const struct AHardwareBuffer*);
217 bool EGLTestHelper::importHardwareBuffer(skiatest::Reporter* reporter, AHardwareBuffer* buffer) { in importHardwareBuffer()
255 AHardwareBuffer* buffer) { in importHardwareBufferForRead()
283 AHardwareBuffer* buffer) { in importHardwareBufferForWrite()
443 AHardwareBuffer* buffer) override;
[all …]
DGrAHardwareBufferTest.cpp94 static void cleanup_resources(AHardwareBuffer* buffer) { in cleanup_resources()
119 AHardwareBuffer* buffer = nullptr; in basic_draw_test_helper()
/external/tensorflow/tensorflow/lite/nnapi/
DNeuralNetworksTypes.h21 typedef struct AHardwareBuffer AHardwareBuffer; typedef
485 const AHardwareBuffer* ahwb, ANeuralNetworksMemory** memory);
Dnnapi_implementation.h967 const AHardwareBuffer* ahwb, ANeuralNetworksMemory** memory);
DNeuralNetworksShim.h1107 const AHardwareBuffer* ahwb, ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromAHardwareBuffer()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp1233 typedef int (*pfnAHardwareBuffer_allocate)(const AHardwareBuffer_Desc* desc, AHardwareBuffer** out…
1234 typedef void (*pfnAHardwareBuffer_describe)(const AHardwareBuffer* buffer, AHardwareBuffer_Desc* ou…
1235 typedef void (*pfnAHardwareBuffer_acquire)(AHardwareBuffer* buffer);
1236 typedef void (*pfnAHardwareBuffer_release)(AHardwareBuffer* buffer);
1333 AHardwareBuffer* hbuffer = DE_NULL; in allocate()
1341 ahbFunctions.acquire(static_cast<AHardwareBuffer*>(buffer.internal)); in acquire()
1346 ahbFunctions.release(static_cast<AHardwareBuffer*>(buffer.internal)); in release()
1358 ahbFunctions.describe(static_cast<const AHardwareBuffer*>(buffer.internal), &desc); in describe()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp373 AHardwareBuffer* findOrCreateHwBuffer (const VkMemoryAllocateInfo* pAllocInfo) in findOrCreateHwBuffer()
379 AHardwareBuffer* hwbuffer = DE_NULL; in findOrCreateHwBuffer()
387 hwbuffer = (AHardwareBuffer*)importInfo->buffer.internal; in findOrCreateHwBuffer()
469 AHardwareBuffer* getHwBuffer (void) { return m_hwbuffer; } in getHwBuffer()
472 AHardwareBuffer* const m_hwbuffer;
1170 AHardwareBuffer* hwbuffer = androidMemory->getHwBuffer(); in getMemoryAndroidHardwareBufferANDROID()
/external/skia/include/core/
DSkImage.h565 AHardwareBuffer* hardwareBuffer,
583 AHardwareBuffer* hardwareBuffer,
DSkSurface.h320 AHardwareBuffer* hardwareBuffer,
/external/skqp/include/core/
DSkImage.h563 AHardwareBuffer* hardwareBuffer,

12