Home
last modified time | relevance | path

Searched refs:buffer_handle (Results 1 – 13 of 13) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dbo_tests.c39 static amdgpu_bo_handle buffer_handle; variable
97 buffer_handle = buf_handle; in suite_bo_tests_init()
114 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean()
124 r = amdgpu_bo_free(buffer_handle); in suite_bo_tests_clean()
141 r = amdgpu_bo_export(buffer_handle, type, &shared_handle); in amdgpu_bo_export_import_do_type()
147 CU_ASSERT_EQUAL(res.buf_handle, buffer_handle); in amdgpu_bo_export_import_do_type()
174 r = amdgpu_bo_set_metadata(buffer_handle, &meta); in amdgpu_bo_metadata()
177 r = amdgpu_bo_query_info(buffer_handle, &info); in amdgpu_bo_metadata()
189 r = amdgpu_bo_cpu_map(buffer_handle, (void **)&ptr); in amdgpu_bo_map_unmap()
196 r = amdgpu_bo_cpu_unmap(buffer_handle); in amdgpu_bo_map_unmap()
/third_party/weston/libweston/
Dlinux-dmabuf.c50 if (buffer->attributes.buffer_handle != NULL) { in linux_dmabuf_buffer_destroy()
51 free(buffer->attributes.buffer_handle); in linux_dmabuf_buffer_destroy()
147 …buffer->attributes.buffer_handle = zalloc((sizeof(BufferHandle)) + (reserveFds + reserveInts) * si… in params_add_buffer_handle()
148 if (!buffer->attributes.buffer_handle) { in params_add_buffer_handle()
153 buffer->attributes.buffer_handle->fd = buffer->attributes.fd[0]; in params_add_buffer_handle()
154 buffer->attributes.buffer_handle->width = width; in params_add_buffer_handle()
155 buffer->attributes.buffer_handle->stride = stride; in params_add_buffer_handle()
156 buffer->attributes.buffer_handle->height = height; in params_add_buffer_handle()
157 buffer->attributes.buffer_handle->size = size; in params_add_buffer_handle()
158 buffer->attributes.buffer_handle->format = format; in params_add_buffer_handle()
[all …]
Dlinux-dmabuf.h50 BufferHandle *buffer_handle; member
Dtde-render-part.cpp592 void *ptr = ps->tde->renderer->display_gralloc->Mmap(*dmabuf->attributes.buffer_handle); in tde_render_attach_hook()
625 ps->tde->image.phyaddr = dmabuf->attributes.buffer_handle->phyAddr; in tde_render_attach_hook()
632 (uint32_t *)dmabuf->attributes.buffer_handle->virAddr, in tde_render_attach_hook()
666 BufferHandle *bh = tss->buffer->attributes.buffer_handle; in tde_unref_image_hook()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c208 uint32_t buffer_handle, in vmw_ioctl_gb_surface_create() argument
270 req->base.buffer_handle = buffer_handle ? in vmw_ioctl_gb_surface_create()
271 buffer_handle : SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
309 req->buffer_handle = buffer_handle ? in vmw_ioctl_gb_surface_create()
310 buffer_handle : SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
320 region->handle = rep->buffer_handle; in vmw_ioctl_gb_surface_create()
441 region->handle = rep->crep.buffer_handle; in vmw_ioctl_gb_surface_ref()
469 region->handle = rep->crep.buffer_handle; in vmw_ioctl_gb_surface_ref()
878 sh_arg.buffer_handle = SVGA3D_INVALID_ID; in vmw_ioctl_shader_create()
Dvmwgfx_drm.h860 __u32 buffer_handle; member
936 __u32 buffer_handle; member
958 __u32 buffer_handle; member
Dvmw_screen.h167 uint32 buffer_handle,
/third_party/libdrm/include/drm/
Dvmwgfx_drm.h861 __u32 buffer_handle; member
935 __u32 buffer_handle; member
957 __u32 buffer_handle; member
/third_party/weston/libweston/backend-hdi/
Dhdi_renderer.cpp169 BufferHandle *bh = dmabuf->attributes.buffer_handle; in hdi_renderer_surface_state_mmap()
198 BufferHandle *bh = dmabuf->attributes.buffer_handle; in hdi_renderer_surface_state_unmap()
Dhdi_output.cpp153 BufferHandle *bh = dmabuf->attributes.buffer_handle; in dump_to_file()
/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c1035 unsigned long buffer_handle; in vaapi_map_from_drm() local
1086 buffer_handle = desc->objects[0].fd; in vaapi_map_from_drm()
1091 buffer_desc.buffers = &buffer_handle; in vaapi_map_from_drm()
/third_party/libusb/libusb/os/
Dwindows_winusb.c2872 WINUSB_ISOCH_BUFFER_HANDLE buffer_handle; in winusbx_submit_iso_transfer() local
2947 …IsochBuffer(winusb_handle, transfer->endpoint, transfer->buffer, transfer->length, &buffer_handle); in winusbx_submit_iso_transfer()
2967 …ret = WinUSBX[sub_api].ReadIsochPipeAsap(buffer_handle, 0, transfer->length, !transfer_priv->iso_b… in winusbx_submit_iso_transfer()
2969 …ret = WinUSBX[sub_api].WriteIsochPipeAsap(buffer_handle, 0, out_transfer_length, !transfer_priv->i… in winusbx_submit_iso_transfer()
2973 if (!WinUSBX[sub_api].UnregisterIsochBuffer(buffer_handle)) in winusbx_submit_iso_transfer()
2981 transfer_priv->isoch_buffer_handle = buffer_handle; in winusbx_submit_iso_transfer()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch5159 + "$ohos_build_root/foundation/graphic/graphic_2d/utils/buffer_handle/export",
251426 gfx::NativePixmapPlane>::buffer_handle(gfx::NativePixmapPlane& plane) {