Home
last modified time | relevance | path

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

12

/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/Common/
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/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/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/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/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Mapper.cc74 const native_handle_t* bufferHandle = handle.getNativeHandle(); in importBuffer()
81 native_handle_t* importedBufferHandle = native_handle_clone(bufferHandle); in importBuffer()
106 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in freeBuffer()
131 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in validateBufferSize()
177 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in getTransportSize()
DCrosGralloc3Utils.cc353 const native_handle_t* nativeHandle = fenceHandle.getNativeHandle(); in convertToFenceFd()
/external/angle/src/common/
Dandroid_util.cpp40 } native_handle_t; typedef
44 typedef const native_handle_t *buffer_handle_t;
68 const native_handle_t *handle;
/external/drm_hwcomposer/include/
Ddrmhwcomposer.h85 DrmHwcNativeHandle(native_handle_t *handle) : handle_(handle) { in DrmHwcNativeHandle()
111 native_handle_t *handle_ = NULL;
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Mapper.cc130 const native_handle_t* bufferHandle = handle.getNativeHandle(); in importBuffer()
137 native_handle_t* importedBufferHandle = native_handle_clone(bufferHandle); in importBuffer()
162 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in freeBuffer()
186 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in validateBufferSize()
232 native_handle_t* bufferHandle = reinterpret_cast<native_handle_t*>(rawHandle); in getTransportSize()
DCrosGralloc4Utils.cc358 const native_handle_t* nativeHandle = fenceHandle.getNativeHandle(); in convertToFenceFd()
/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.cc212 num_ints = ((num_bytes - sizeof(native_handle_t)) / sizeof(int)) - num_fds; 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()
406 native_handle_t *native_handle = duplicate_buffer_handle(info.handle); in test_gralloc_order()
496 native_handle_t *native_handle = duplicate_buffer_handle(info.handle); in test_perform()
/external/drm_hwcomposer/utils/
Dhwcutils.cpp75 native_handle_t *handle_copy; in CopyBufferHandle()
/external/v4l2_codec2/common/
DEncodeHelpers.cpp66 native_handle_t* grallocHandle = android::UnwrapNativeCodec2GrallocHandle(block.handle()); in getGraphicBlockInfo()
DFormatConverter.cpp75 native_handle_t* grallocHandle = android::UnwrapNativeCodec2GrallocHandle(block.handle()); in Create()
/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()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c656 const native_handle_t *handle = in radv_GetAndroidHardwareBufferPropertiesANDROID()
725 const native_handle_t *handle = in radv_import_ahb_memory()
/external/mesa3d/include/android_stub/system/
Dwindow.h891 native_handle_t* sidebandHandle) in native_window_set_sideband_stream()
/external/drm_hwcomposer/
DDrmHwcTwo.h135 HWC2::Error SetLayerSidebandStream(const native_handle_t *stream);
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c164 native_handle_t *handle = (native_handle_t *)buf->handle; in get_native_buffer_fds()

12