Home
last modified time | relevance | path

Searched refs:native_handle_t (Results 1 - 17 of 17) sorted by relevance

/third_party/mesa3d/include/android_stub/cutils/
H A Dnative_handle.h31 alignas(native_handle_t) char (name)[ \
32 sizeof(native_handle_t) + sizeof(int) * ((maxFds) + (maxInts))]
36 int version; /* sizeof(native_handle_t) */
47 } native_handle_t; typedef
49 typedef const native_handle_t* buffer_handle_t;
54 * closes the file descriptors contained in this native_handle_t
59 int native_handle_close(const native_handle_t* h);
64 * Initializes a native_handle_t from storage. storage must be declared with
68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
73 * creates a native_handle_t an
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A 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 *>(handl in unlock()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/System/
H A 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 *>(handl in unlock()
[all...]
/third_party/libdrm/android/
H A Dgralloc_handle.h37 native_handle_t base;
40 * Must be located first since, native_handle_t is allocated
42 * sizeof(native_handle_t) + sizeof(int) * (numFds + numInts)
49 * native_handle_t.
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()
/third_party/skia/third_party/externals/swiftshader/include/Android/cutils/
H A Dnative_handle.h19 struct native_handle_t;
21 typedef const struct native_handle_t* buffer_handle_t;
/third_party/mesa3d/include/android_stub/vndk/
H A Dhardware_buffer.h27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
49 const native_handle_t* handle, int32_t method,
/third_party/skia/third_party/externals/angle2/src/common/
H A Dandroid_util.cpp24 int version; /* sizeof(native_handle_t) */
40 } native_handle_t; typedef
44 typedef const native_handle_t *buffer_handle_t;
68 const native_handle_t *handle;
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_android_mapper.cpp51 GetMetadata(android::sp<IMapper> mapper, const native_handle_t *buffer, in GetMetadata()
56 auto native_handle = const_cast<native_handle_t*>(buffer); in GetMetadata()
71 android::sp<IMapper> mapper, const native_handle_t *buffer) in GetPlaneLayouts()
H A Dplatform_android.c167 native_handle_t *handle = (native_handle_t *)buf->handle; in get_native_buffer_fds()
/third_party/skia/third_party/externals/swiftshader/include/Android/nativebase/
H A Dnativebase.h60 const native_handle_t* handle;
/third_party/mesa3d/src/android_stub/
H A Dnativewindow_stub.cpp34 const native_handle_t *
/third_party/mesa3d/include/android_stub/nativebase/
H A Dnativebase.h96 const native_handle_t* handle;
/third_party/mesa3d/include/android_stub/system/
H A Dwindow.h72 typedef const native_handle_t* buffer_handle_t;
933 * native_window_set_sideband_stream(..., native_handle_t*)
938 native_handle_t* sidebandHandle) in native_window_set_sideband_stream()
/third_party/mesa3d/include/vulkan/
H A Dvk_android_native_buffer.h26 typedef const native_handle_t *buffer_handle_t;
/third_party/mesa3d/src/intel/vulkan/
H A Danv_android.c297 const native_handle_t *handle = in anv_GetAndroidHardwareBufferPropertiesANDROID()
385 const native_handle_t *handle = in anv_import_ahw_memory()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_android.c640 const native_handle_t *handle = AHardwareBuffer_getNativeHandle(buffer); in radv_GetAndroidHardwareBufferPropertiesANDROID()
704 const native_handle_t *handle = AHardwareBuffer_getNativeHandle(info->buffer); in radv_import_ahb_memory()
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_android.c154 vn_android_gralloc_get_dma_buf_fd(const native_handle_t *handle) in vn_android_gralloc_get_dma_buf_fd()
156 /* There can be multiple fds wrapped inside a native_handle_t, but we in vn_android_gralloc_get_dma_buf_fd()
468 const native_handle_t *handle, in vn_android_get_image_builder()
1142 const native_handle_t *handle = NULL; in vn_android_device_import_ahb()

Completed in 12 milliseconds