Home
last modified time | relevance | path

Searched refs:native_handle_t (Results 1 – 25 of 36) sorted by relevance

12

/external/drm_hwcomposer/.ci/android_headers/cutils/
Dnative_handle.h32 alignas(native_handle_t) char (name)[ \
33 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))]
48 } native_handle_t; typedef
50 typedef const native_handle_t* buffer_handle_t;
60 int native_handle_close(const native_handle_t* h);
69 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
79 native_handle_t* native_handle_create(int numFds, int numInts);
88 native_handle_t* native_handle_clone(const native_handle_t* handle);
100 int native_handle_delete(native_handle_t* h);
/external/mesa3d/include/android_stub/cutils/
Dnative_handle.h31 alignas(native_handle_t) char (name)[ \
32 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))]
47 } native_handle_t; typedef
49 typedef const native_handle_t* buffer_handle_t;
59 int native_handle_close(const native_handle_t* h);
68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
78 native_handle_t* native_handle_create(int numFds, int numInts);
87 native_handle_t* native_handle_clone(const native_handle_t* handle);
99 int native_handle_delete(native_handle_t* h);
/external/swiftshader/src/System/
DGrallocAndroid.cpp121 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in release()
129 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in release()
142 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in lock()
168 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in lock()
224 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in unlock()
238 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in unlock()
/external/drm_hwcomposer/.ci/android_headers/
Dgralloc_handle.h38 native_handle_t base;
77 ((sizeof(struct gralloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \
88 static inline native_handle_t *gralloc_handle_create(int32_t width, in gralloc_handle_create()
94 native_handle_t *nhandle = native_handle_create(GRALLOC_HANDLE_NUM_FDS, in gralloc_handle_create()
/external/libdrm/android/
Dgralloc_handle.h37 native_handle_t base;
76 ((sizeof(struct gralloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \
87 static inline native_handle_t *gralloc_handle_create(int32_t width, in gralloc_handle_create()
93 native_handle_t *nhandle = native_handle_create(GRALLOC_HANDLE_NUM_FDS, in gralloc_handle_create()
/external/swiftshader/include/Android/cutils/
Dnative_handle.h19 struct native_handle_t;
21 typedef const struct native_handle_t* buffer_handle_t;
/external/minigbm/cros_gralloc/aidl/
DAllocator.cpp68 void Allocator::releaseBufferAndHandle(native_handle_t* handle) { in releaseBufferAndHandle()
89 std::vector<native_handle_t*> handles; in allocate()
113 native_handle_t** outHandle) { in allocate()
136 native_handle_t* handle; in allocate()
182 std::vector<native_handle_t*> handles; in allocate2()
DAllocator.h44 int32_t* outStride, native_handle_t** outHandle);
50 void releaseBufferAndHandle(native_handle_t* handle);
/external/mesa3d/include/android_stub/vndk/
Dhardware_buffer.h27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
49 const native_handle_t* handle, int32_t method,
/external/angle/src/common/
Dandroid_util.cpp38 } native_handle_t; typedef
42 typedef const native_handle_t *buffer_handle_t;
66 const native_handle_t *handle;
/external/drm_hwcomposer/.ci/android_headers/ui/
DGraphicBuffer.h131 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth,
136 GraphicBuffer(const native_handle_t* inHandle, HandleWrapMethod method, uint32_t inWidth, in GraphicBuffer()
143 native_handle_t* inHandle, bool keepOwnership);
249 status_t initWithHandle(const native_handle_t* inHandle, HandleWrapMethod method,
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.cc72 const native_handle_t* bufferHandle = handle.getNativeHandle(); in importBuffer()
79 native_handle_t* importedBufferHandle = native_handle_clone(bufferHandle); in importBuffer()
104 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in freeBuffer()
128 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in validateBufferSize()
180 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in getTransportSize()
DCrosGralloc4Allocator.cc92 native_handle_t* handle; in allocate()
/external/swiftshader/include/Android/nativebase/
Dnativebase.h60 const native_handle_t* handle;
/external/minigbm/cros_gralloc/
Dcros_gralloc_handle.h16 struct cros_gralloc_handle : public native_handle_t {
Dcros_gralloc_driver.h28 native_handle_t **out_handle);
Dcros_gralloc_driver.cc251 native_handle_t **out_handle) in allocate()
292 num_ints = ((sizeof(struct cros_gralloc_handle) - sizeof(native_handle_t)) / sizeof(int)) - in allocate()
/external/mesa3d/include/android_stub/nativebase/
Dnativebase.h96 const native_handle_t* handle;
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c133 static native_handle_t *duplicate_buffer_handle(buffer_handle_t handle) in duplicate_buffer_handle()
135 native_handle_t *hnd = native_handle_create(handle->numFds, handle->numInts); in duplicate_buffer_handle()
408 native_handle_t *native_handle = duplicate_buffer_handle(info.handle); in test_gralloc_order()
498 native_handle_t *native_handle = duplicate_buffer_handle(info.handle); in test_perform()
/external/drm_hwcomposer/tests/test_include/
Dimg_gralloc1_public.h57 native_handle_t base;
/external/minigbm/cros_gralloc/mapper_stablec/
DMapper.cpp63 AIMapper_Error importBuffer(const native_handle_t* _Nonnull handle,
142 const native_handle_t* _Nonnull bufferHandle, in importBuffer()
151 native_handle_t* importedBufferHandle = native_handle_clone(bufferHandle); in importBuffer()
177 native_handle_delete(const_cast<native_handle_t*>(buffer)); in freeBuffer()
/external/drm_hwcomposer/hwc2_device/
DHwcLayer.h74 HWC2::Error SetLayerSidebandStream(const native_handle_t *stream);
/external/drm_hwcomposer/.ci/android_headers/hardware/
Dhwcomposer.h149 const native_handle_t* sidebandStream;
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc74 native_handle_t *handle; in gralloc0_alloc()
114 auto hnd = const_cast<native_handle_t *>(handle); in gralloc0_free()
/external/mesa3d/src/intel/vulkan/
Danv_android.c208 const native_handle_t *handle = in anv_GetAndroidHardwareBufferPropertiesANDROID()
296 const native_handle_t *handle = in anv_import_ahw_memory()

12