/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_screen.c | 42 struct vmw_winsys_screen *vws = CALLOC_STRUCT(vmw_winsys_screen); local 43 if (!vws) 46 vws->ioctl.drm_fd = fd; 47 vws->use_old_scanout_flag = use_old_scanout_flag; 49 if (!vmw_ioctl_init(vws)) 52 if(!vmw_pools_init(vws)) 55 if (!vmw_winsys_screen_init_svga(vws)) 58 return vws; 60 vmw_pools_cleanup(vws); 62 vmw_ioctl_cleanup(vws); [all...] |
vmw_buffer.c | 85 struct vmw_winsys_screen *vws; member in struct:vmw_gmr_bufmgr 173 struct vmw_winsys_screen *vws = mgr->vws; local 187 buf->region = vmw_ioctl_region_create(vws, size); 222 vmw_gmr_bufmgr_create(struct vmw_winsys_screen *vws) 234 mgr->vws = vws;
|
vmw_fence.c | 49 struct vmw_winsys_screen *vws; member in struct:vmw_fence_ops 115 * @vws: Pointer to the winsys screen. 120 vmw_fence_reference(struct vmw_winsys_screen *vws, 128 vmw_ioctl_fence_unref(vws, vfence->handle); 146 * @vws: Pointer to the winsys screen. 154 vmw_fence_signalled(struct vmw_winsys_screen *vws, 174 ret = vmw_ioctl_fence_signalled(vws, vfence->handle, vflags); 191 * @vws: Pointer to the winsys screen. 199 vmw_fence_finish(struct vmw_winsys_screen *vws, 218 ret = vmw_ioctl_fence_finish(vws, vfence->handle, vflags) 243 struct vmw_winsys_screen *vws = vmw_fence_ops(ops)->vws; local 258 struct vmw_winsys_screen *vws = vmw_fence_ops(ops)->vws; local 274 struct vmw_winsys_screen *vws = vmw_fence_ops(ops)->vws; local [all...] |
vmw_screen_dri.c | 89 struct vmw_winsys_screen *vws; local 106 vws = vmw_winsys_create( fd, FALSE ); 107 if (!vws) 111 vws->base.surface_from_handle = vmw_drm_surface_from_handle; 112 vws->base.surface_get_handle = vmw_drm_surface_get_handle; 114 return &vws->base; 159 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 174 ret = drmCommandWriteRead(vws->ioctl.drm_fd, DRM_VMW_REF_SURFACE, 206 vsrf->screen = vws; 214 vmw_ioctl_surface_destroy(vws, whandle->handle) [all...] |
vmw_screen_svga.c | 58 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 68 if (vws->pools.query_fenced == NULL && !vmw_query_pools_init(vws)) 70 provider = vws->pools.query_fenced; 72 provider = vws->pools.gmr_fenced; 77 if(!buffer && provider == vws->pools.gmr_fenced) { 80 provider = vws->pools.gmr_slab_fenced; 125 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 127 vmw_fence_reference(vws, pdst, src); 136 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws) local 147 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 162 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 212 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 221 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 232 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local [all...] |
vmw_context.c | 60 struct vmw_winsys_screen *vws; member in struct:vmw_svga_winsys_context 155 vmw_ioctl_command(vswc->vws, 192 vmw_fence_reference(vswc->vws, pfence, fence); 194 vmw_fence_reference(vswc->vws, &fence, NULL); 359 vmw_ioctl_context_destroy(vswc->vws, swc->cid); 367 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 381 vswc->base.cid = vmw_ioctl_context_create(vws); 383 vswc->vws = vws;
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_screen.c | 42 struct vmw_winsys_screen *vws = CALLOC_STRUCT(vmw_winsys_screen); local 43 if (!vws) 46 vws->ioctl.drm_fd = fd; 47 vws->use_old_scanout_flag = use_old_scanout_flag; 49 if (!vmw_ioctl_init(vws)) 52 if(!vmw_pools_init(vws)) 55 if (!vmw_winsys_screen_init_svga(vws)) 58 return vws; 60 vmw_pools_cleanup(vws); 62 vmw_ioctl_cleanup(vws); [all...] |
vmw_buffer.c | 85 struct vmw_winsys_screen *vws; member in struct:vmw_gmr_bufmgr 173 struct vmw_winsys_screen *vws = mgr->vws; local 187 buf->region = vmw_ioctl_region_create(vws, size); 222 vmw_gmr_bufmgr_create(struct vmw_winsys_screen *vws) 234 mgr->vws = vws;
|
vmw_fence.c | 49 struct vmw_winsys_screen *vws; member in struct:vmw_fence_ops 115 * @vws: Pointer to the winsys screen. 120 vmw_fence_reference(struct vmw_winsys_screen *vws, 128 vmw_ioctl_fence_unref(vws, vfence->handle); 146 * @vws: Pointer to the winsys screen. 154 vmw_fence_signalled(struct vmw_winsys_screen *vws, 174 ret = vmw_ioctl_fence_signalled(vws, vfence->handle, vflags); 191 * @vws: Pointer to the winsys screen. 199 vmw_fence_finish(struct vmw_winsys_screen *vws, 218 ret = vmw_ioctl_fence_finish(vws, vfence->handle, vflags) 243 struct vmw_winsys_screen *vws = vmw_fence_ops(ops)->vws; local 258 struct vmw_winsys_screen *vws = vmw_fence_ops(ops)->vws; local 274 struct vmw_winsys_screen *vws = vmw_fence_ops(ops)->vws; local [all...] |
vmw_screen_dri.c | 89 struct vmw_winsys_screen *vws; local 106 vws = vmw_winsys_create( fd, FALSE ); 107 if (!vws) 111 vws->base.surface_from_handle = vmw_drm_surface_from_handle; 112 vws->base.surface_get_handle = vmw_drm_surface_get_handle; 114 return &vws->base; 159 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 174 ret = drmCommandWriteRead(vws->ioctl.drm_fd, DRM_VMW_REF_SURFACE, 206 vsrf->screen = vws; 214 vmw_ioctl_surface_destroy(vws, whandle->handle) [all...] |
vmw_screen_svga.c | 58 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 68 if (vws->pools.query_fenced == NULL && !vmw_query_pools_init(vws)) 70 provider = vws->pools.query_fenced; 72 provider = vws->pools.gmr_fenced; 77 if(!buffer && provider == vws->pools.gmr_fenced) { 80 provider = vws->pools.gmr_slab_fenced; 125 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 127 vmw_fence_reference(vws, pdst, src); 136 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws) local 147 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 162 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 212 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 221 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 232 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local [all...] |
vmw_context.c | 60 struct vmw_winsys_screen *vws; member in struct:vmw_svga_winsys_context 155 vmw_ioctl_command(vswc->vws, 192 vmw_fence_reference(vswc->vws, pfence, fence); 194 vmw_fence_reference(vswc->vws, &fence, NULL); 359 vmw_ioctl_context_destroy(vswc->vws, swc->cid); 367 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); local 381 vswc->base.cid = vmw_ioctl_context_create(vws); 383 vswc->vws = vws;
|