Searched refs:vsrf (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/svga/drm/
H A Dvmw_surface.c43 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); local in function:vmw_svga_winsys_surface_map
47 struct vmw_winsys_screen *vws = vsrf->screen;
51 mtx_lock(&vsrf->mutex);
53 if (vsrf->mapcount) {
58 (vsrf->map_mode & PIPE_TRANSFER_WRITE))
61 data = vsrf->data;
65 vsrf->rebind = FALSE;
71 if (flags & PIPE_TRANSFER_READ || vsrf->shared)
87 p_atomic_read(&vsrf->validated)) {
101 if (!p_atomic_read(&vsrf
167 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); local in function:vmw_svga_winsys_surface_unmap
[all...]
H A Dvmw_screen_dri.c146 struct vmw_svga_winsys_surface *vsrf; local in function:vmw_drm_gb_surface_from_handle
180 vsrf = CALLOC_STRUCT(vmw_svga_winsys_surface);
181 if (!vsrf)
184 pipe_reference_init(&vsrf->refcnt, 1);
185 p_atomic_set(&vsrf->validated, 0);
186 vsrf->screen = vws;
187 vsrf->sid = handle;
188 vsrf->size = vmw_region_size(desc.region);
197 pb_buf = provider->create_buffer(provider, vsrf->size, &desc.pb_desc);
198 vsrf
218 struct vmw_svga_winsys_surface *vsrf; local in function:vmw_drm_surface_from_handle
331 struct vmw_svga_winsys_surface *vsrf; local in function:vmw_drm_surface_get_handle
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/svga/drm/
H A Dvmw_surface.c42 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); local in function:vmw_svga_winsys_surface_init
46 struct vmw_winsys_screen *vws = vsrf->screen;
52 mtx_lock(&vsrf->mutex);
53 data = vmw_svga_winsys_buffer_map(&vws->base, vsrf->buf, pb_flags);
60 pb_buf = provider->create_buffer(provider, vsrf->size, &desc);
67 vsrf->rebind = TRUE;
68 if (vsrf->buf)
69 vmw_svga_winsys_buffer_destroy(&vws->base, vsrf->buf);
70 vsrf->buf = vbuf;
83 mtx_unlock(&vsrf
108 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); local in function:vmw_svga_winsys_surface_map
233 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); local in function:vmw_svga_winsys_surface_unmap
[all...]
H A Dvmw_screen_dri.c146 struct vmw_svga_winsys_surface *vsrf; local in function:vmw_drm_gb_surface_from_handle
180 vsrf = CALLOC_STRUCT(vmw_svga_winsys_surface);
181 if (!vsrf)
184 pipe_reference_init(&vsrf->refcnt, 1);
185 p_atomic_set(&vsrf->validated, 0);
186 vsrf->screen = vws;
187 vsrf->sid = handle;
188 vsrf->size = vmw_region_size(desc.region);
197 pb_buf = provider->create_buffer(provider, vsrf->size, &desc.pb_desc);
198 vsrf
218 struct vmw_svga_winsys_surface *vsrf; local in function:vmw_drm_surface_from_handle
331 struct vmw_svga_winsys_surface *vsrf; local in function:vmw_drm_surface_get_handle
[all...]

Completed in 7 milliseconds