Home
last modified time | relevance | path

Searched refs:vscreen (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_drm.c39 vl_drm_screen_destroy(struct vl_screen *vscreen);
44 struct vl_screen *vscreen; in vl_drm_screen_create() local
47 vscreen = CALLOC_STRUCT(vl_screen); in vl_drm_screen_create()
48 if (!vscreen) in vl_drm_screen_create()
54 if (pipe_loader_drm_probe_fd(&vscreen->dev, new_fd)) in vl_drm_screen_create()
55 vscreen->pscreen = pipe_loader_create_screen(vscreen->dev); in vl_drm_screen_create()
57 if (!vscreen->pscreen) in vl_drm_screen_create()
60 vscreen->destroy = vl_drm_screen_destroy; in vl_drm_screen_create()
61 vscreen->texture_from_drawable = NULL; in vl_drm_screen_create()
62 vscreen->get_dirty_area = NULL; in vl_drm_screen_create()
[all …]
Dvl_winsys.h45 void (*destroy)(struct vl_screen *vscreen);
48 (*texture_from_drawable)(struct vl_screen *vscreen, void *drawable);
51 (*get_dirty_area)(struct vl_screen *vscreen);
54 (*get_timestamp)(struct vl_screen *vscreen, void *drawable);
57 (*set_next_timestamp)(struct vl_screen *vscreen, uint64_t stamp);
60 (*get_private)(struct vl_screen *vscreen);
63 (*set_back_texture_from_output)(struct vl_screen *vscreen,
Dvl_winsys_dri.c78 static void vl_dri2_screen_destroy(struct vl_screen *vscreen);
179 vl_dri2_screen_texture_from_drawable(struct vl_screen *vscreen, void *drawable) in vl_dri2_screen_texture_from_drawable() argument
181 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_texture_from_drawable()
259 vl_dri2_screen_get_dirty_area(struct vl_screen *vscreen) in vl_dri2_screen_get_dirty_area() argument
261 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_get_dirty_area()
267 vl_dri2_screen_get_timestamp(struct vl_screen *vscreen, void *drawable) in vl_dri2_screen_get_timestamp() argument
269 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_get_timestamp()
290 vl_dri2_screen_set_next_timestamp(struct vl_screen *vscreen, uint64_t stamp) in vl_dri2_screen_set_next_timestamp() argument
292 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_set_next_timestamp()
302 vl_dri2_screen_get_private(struct vl_screen *vscreen) in vl_dri2_screen_get_private() argument
[all …]
Dvl_winsys_dri3.c605 vl_dri3_screen_texture_from_drawable(struct vl_screen *vscreen, void *drawable) in vl_dri3_screen_texture_from_drawable() argument
607 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_texture_from_drawable()
632 vl_dri3_screen_get_dirty_area(struct vl_screen *vscreen) in vl_dri3_screen_get_dirty_area() argument
634 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_get_dirty_area()
642 vl_dri3_screen_get_timestamp(struct vl_screen *vscreen, void *drawable) in vl_dri3_screen_get_timestamp() argument
644 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_get_timestamp()
669 vl_dri3_screen_set_next_timestamp(struct vl_screen *vscreen, uint64_t stamp) in vl_dri3_screen_set_next_timestamp() argument
671 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_set_next_timestamp()
683 vl_dri3_screen_get_private(struct vl_screen *vscreen) in vl_dri3_screen_get_private() argument
685 return vscreen; in vl_dri3_screen_get_private()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c59 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_get_param() local
72 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
74 return vscreen->caps.caps.v1.max_dual_source_render_targets; in virgl_get_param()
76 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()
78 return vscreen->caps.caps.v1.bset.mirror_clamp; in virgl_get_param()
92 return vscreen->caps.caps.v1.bset.indep_blend_enable; in virgl_get_param()
94 return vscreen->caps.caps.v1.bset.indep_blend_func; in virgl_get_param()
99 return vscreen->caps.caps.v1.bset.fragment_coord_conventions; in virgl_get_param()
101 return vscreen->caps.caps.v1.bset.depth_clip_disable; in virgl_get_param()
103 return vscreen->caps.caps.v1.max_streamout_buffers; in virgl_get_param()
[all …]
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dpresentation.c189 *current_time = pq->device->vscreen->get_timestamp(pq->device->vscreen, in vlVdpPresentationQueueGetTime()
218 struct vl_screen *vscreen; in vlVdpPresentationQueueDisplay() local
231 vscreen = pq->device->vscreen; in vlVdpPresentationQueueDisplay()
234 if (vscreen->set_back_texture_from_output && surf->send_to_X) in vlVdpPresentationQueueDisplay()
235vscreen->set_back_texture_from_output(vscreen, surf->surface->texture, clip_width, clip_height); in vlVdpPresentationQueueDisplay()
236 tex = vscreen->texture_from_drawable(vscreen, (void *)pq->drawable); in vlVdpPresentationQueueDisplay()
242 if (!vscreen->set_back_texture_from_output || !surf->send_to_X) { in vlVdpPresentationQueueDisplay()
243 dirty_area = vscreen->get_dirty_area(vscreen); in vlVdpPresentationQueueDisplay()
265 vscreen->set_next_timestamp(vscreen, earliest_presentation_time); in vlVdpPresentationQueueDisplay()
272 vscreen->get_private(vscreen), NULL); in vlVdpPresentationQueueDisplay()
[all …]
Ddevice.c67 dev->vscreen = vl_dri3_screen_create(display, screen); in vdp_imp_device_create_x11()
69 if (!dev->vscreen) in vdp_imp_device_create_x11()
70 dev->vscreen = vl_dri2_screen_create(display, screen); in vdp_imp_device_create_x11()
71 if (!dev->vscreen) { in vdp_imp_device_create_x11()
76 pscreen = dev->vscreen->pscreen; in vdp_imp_device_create_x11()
77 dev->context = pscreen->context_create(pscreen, dev->vscreen, 0); in vdp_imp_device_create_x11()
149 dev->vscreen->destroy(dev->vscreen); in vdp_imp_device_create_x11()
240 dev->vscreen->destroy(dev->vscreen); in vlVdpDeviceFree()
Dquery.c81 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryCapabilities()
118 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
176 pscreen = dev->vscreen->pscreen; in vlVdpDecoderQueryCapabilities()
223 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryCapabilities()
275 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
316 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
375 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
423 pscreen = dev->vscreen->pscreen; in vlVdpBitmapSurfaceQueryCapabilities()
524 screen = dev->vscreen->pscreen; in vlVdpVideoMixerQueryParameterValueRange()
Dvdpau_private.h349 struct vl_screen *vscreen; member
Ddecode.c72 screen = dev->vscreen->pscreen; in vlVdpDecoderCreate()
Dmixer.c58 screen = dev->vscreen->pscreen; in vlVdpVideoMixerCreate()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dcontext.c192 struct vl_screen *vscreen; in XvMCCreateContext() local
232 vscreen = vl_dri2_screen_create(dpy, scrn); in XvMCCreateContext()
234 if (!vscreen) { in XvMCCreateContext()
240 pipe = vscreen->pscreen->context_create(vscreen->pscreen, vscreen, 0); in XvMCCreateContext()
243 vscreen->destroy(vscreen); in XvMCCreateContext()
261 vscreen->destroy(vscreen); in XvMCCreateContext()
270 vscreen->destroy(vscreen); in XvMCCreateContext()
280 vscreen->destroy(vscreen); in XvMCCreateContext()
298 context_priv->vscreen = vscreen; in XvMCCreateContext()
335 context_priv->vscreen->destroy(context_priv->vscreen); in XvMCDestroyContext()
Dsurface.c359 struct vl_screen *vscreen; in XvMCPutSurface() local
391 vscreen = context_priv->vscreen; in XvMCPutSurface()
393 tex = vscreen->texture_from_drawable(vscreen, (void *)drawable); in XvMCPutSurface()
394 dirty_area = vscreen->get_dirty_area(vscreen); in XvMCPutSurface()
451 vscreen->get_private(vscreen), NULL); in XvMCPutSurface()
Dxvmc_private.h53 struct vl_screen *vscreen; member
/external/mesa3d/src/gallium/state_trackers/va/
Dcontext.c122 drv->vscreen = vl_dri3_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
124 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
125 drv->vscreen = vl_dri2_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
126 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
139 drv->vscreen = vl_drm_screen_create(drm_info->fd); in VA_DRIVER_INIT_FUNC()
140 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
149 drv->pipe = drv->vscreen->pscreen->context_create(drv->vscreen->pscreen, in VA_DRIVER_INIT_FUNC()
150 drv->vscreen, 0); in VA_DRIVER_INIT_FUNC()
196 drv->vscreen->destroy(drv->vscreen); in VA_DRIVER_INIT_FUNC()
356 drv->vscreen->destroy(drv->vscreen); in vlVaTerminate()
Dsurface.c282 struct vl_screen *vscreen; in vlVaPutSurface() local
299 vscreen = drv->vscreen; in vlVaPutSurface()
301 tex = vscreen->texture_from_drawable(vscreen, draw); in vlVaPutSurface()
307 dirty_area = vscreen->get_dirty_area(vscreen); in vlVaPutSurface()
340 vscreen->get_private(vscreen), NULL); in vlVaPutSurface()
Dva_private.h50 #define VL_VA_PSCREEN(ctx) (VL_VA_DRIVER(ctx)->vscreen->pscreen)
205 struct vl_screen *vscreen; member