Searched refs:native_handle_t (Results 1 - 17 of 17) sorted by relevance
/third_party/mesa3d/include/android_stub/cutils/ |
H A D | native_handle.h | 31 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 D | GrallocAndroid.cpp | 121 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 D | GrallocAndroid.cpp | 121 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 D | gralloc_handle.h | 37 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 D | native_handle.h | 19 struct native_handle_t; 21 typedef const struct native_handle_t* buffer_handle_t;
|
/third_party/mesa3d/include/android_stub/vndk/ |
H A D | hardware_buffer.h | 27 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 D | android_util.cpp | 24 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 D | platform_android_mapper.cpp | 51 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 D | platform_android.c | 167 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 D | nativebase.h | 60 const native_handle_t* handle;
|
/third_party/mesa3d/src/android_stub/ |
H A D | nativewindow_stub.cpp | 34 const native_handle_t *
|
/third_party/mesa3d/include/android_stub/nativebase/ |
H A D | nativebase.h | 96 const native_handle_t* handle;
|
/third_party/mesa3d/include/android_stub/system/ |
H A D | window.h | 72 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 D | vk_android_native_buffer.h | 26 typedef const native_handle_t *buffer_handle_t;
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_android.c | 297 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 D | radv_android.c | 640 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 D | vn_android.c | 154 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