Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c70 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_get_name() local
71 if (vscreen->caps.caps.v2.host_feature_check_version >= 5) in virgl_get_name()
72 return vscreen->caps.caps.v2.renderer; in virgl_get_name()
80 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_get_param() local
88 return vscreen->caps.caps.v2.max_anisotropy > 1.0; in virgl_get_param()
92 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
94 return vscreen->caps.caps.v1.max_dual_source_render_targets; in virgl_get_param()
96 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()
99 return vscreen->caps.caps.v1.bset.mirror_clamp; in virgl_get_param()
103 if (vscreen->caps.caps.v2.max_texture_2d_size) in virgl_get_param()
[all …]
Dvirgl_tgsi.c430 struct tgsi_token *virgl_tgsi_transform(struct virgl_screen *vscreen, const struct tgsi_token *toke… in virgl_tgsi_transform() argument
441 transform.cull_enabled = vscreen->caps.caps.v1.bset.has_cull; in virgl_tgsi_transform()
442 transform.has_precise = vscreen->caps.caps.v2.capability_bits & VIRGL_CAP_TGSI_PRECISE; in virgl_tgsi_transform()
444 vscreen->caps.caps.v2.capability_bits & VIRGL_CAP_FAKE_FP64; in virgl_tgsi_transform()
445 …transform.is_separable = is_separable && (vscreen->caps.caps.v2.capability_bits_v2 & VIRGL_CAP_V2_… in virgl_tgsi_transform()
Dvirgl_screen.h84 virgl_has_scanout_format(struct virgl_screen *vscreen,
Dvirgl_context.h130 struct tgsi_token *virgl_tgsi_transform(struct virgl_screen *vscreen, const struct tgsi_token *toke…
Dvirgl_resource.c412 struct virgl_screen *vscreen = virgl_screen(vctx->base.screen); in virgl_staging_read_map() local
413 struct virgl_winsys *vws = vscreen->vws; in virgl_staging_read_map()
489 struct virgl_screen *vscreen = virgl_screen(ctx->screen); in virgl_resource_transfer_map() local
490 struct virgl_winsys *vws = vscreen->vws; in virgl_resource_transfer_map()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_xlib_swrast.c51 vl_screen_destroy(struct vl_screen *vscreen) in vl_screen_destroy() argument
53 if (vscreen == NULL) in vl_screen_destroy()
56 if (vscreen->pscreen) in vl_screen_destroy()
57 vscreen->pscreen->destroy(vscreen->pscreen); in vl_screen_destroy()
59 if (vscreen->dev) in vl_screen_destroy()
60 pipe_loader_release(&vscreen->dev, 1); in vl_screen_destroy()
62 FREE(vscreen); in vl_screen_destroy()
66 vl_swrast_texture_from_drawable(struct vl_screen *vscreen, void *drawable);
69 vl_swrast_get_dirty_area(struct vl_screen *vscreen);
72 vl_swrast_get_private(struct vl_screen *vscreen);
[all …]
Dvl_winsys_drm.c38 vl_drm_screen_destroy(struct vl_screen *vscreen);
43 struct vl_screen *vscreen; in vl_drm_screen_create() local
45 vscreen = CALLOC_STRUCT(vl_screen); in vl_drm_screen_create()
46 if (!vscreen) in vl_drm_screen_create()
49 if (pipe_loader_drm_probe_fd(&vscreen->dev, fd)) in vl_drm_screen_create()
50 vscreen->pscreen = pipe_loader_create_screen(vscreen->dev); in vl_drm_screen_create()
52 if (!vscreen->pscreen) in vl_drm_screen_create()
55 vscreen->destroy = vl_drm_screen_destroy; in vl_drm_screen_create()
56 vscreen->texture_from_drawable = NULL; in vl_drm_screen_create()
57 vscreen->get_dirty_area = NULL; in vl_drm_screen_create()
[all …]
Dvl_winsys_dri_vgem.c33 vl_vgem_drm_screen_destroy(struct vl_screen *vscreen) in vl_vgem_drm_screen_destroy() argument
35 if (vscreen) { in vl_vgem_drm_screen_destroy()
36 if (vscreen->pscreen) in vl_vgem_drm_screen_destroy()
37 vscreen->pscreen->destroy(vscreen->pscreen); in vl_vgem_drm_screen_destroy()
38 FREE(vscreen); in vl_vgem_drm_screen_destroy()
45 struct vl_screen *vscreen = CALLOC_STRUCT(vl_screen); in vl_vgem_drm_screen_create() local
46 if (!vscreen) in vl_vgem_drm_screen_create()
53 vscreen->pscreen = sw_screen_create(winsys); in vl_vgem_drm_screen_create()
54 if (!vscreen->pscreen) in vl_vgem_drm_screen_create()
57 vscreen->destroy = vl_vgem_drm_screen_destroy; in vl_vgem_drm_screen_create()
[all …]
Dvl_winsys.h47 void (*destroy)(struct vl_screen *vscreen);
50 (*texture_from_drawable)(struct vl_screen *vscreen, void *drawable);
53 (*get_dirty_area)(struct vl_screen *vscreen);
56 (*get_timestamp)(struct vl_screen *vscreen, void *drawable);
59 (*set_next_timestamp)(struct vl_screen *vscreen, uint64_t stamp);
62 (*get_private)(struct vl_screen *vscreen);
65 (*set_back_texture_from_output)(struct vl_screen *vscreen,
78 vl_dri2_format_for_depth(struct vl_screen *vscreen, int depth);
Dvl_winsys_dri.c79 static void vl_dri2_screen_destroy(struct vl_screen *vscreen);
181 vl_dri2_screen_texture_from_drawable(struct vl_screen *vscreen, void *drawable) in vl_dri2_screen_texture_from_drawable() argument
183 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_texture_from_drawable()
191 unsigned depth = ((xcb_screen_t *)(vscreen->xcb_screen))->root_depth; in vl_dri2_screen_texture_from_drawable()
244 templ.format = vl_dri2_format_for_depth(vscreen, depth); in vl_dri2_screen_texture_from_drawable()
263 vl_dri2_screen_get_dirty_area(struct vl_screen *vscreen) in vl_dri2_screen_get_dirty_area() argument
265 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_get_dirty_area()
271 vl_dri2_screen_get_timestamp(struct vl_screen *vscreen, void *drawable) in vl_dri2_screen_get_timestamp() argument
273 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_get_timestamp()
294 vl_dri2_screen_set_next_timestamp(struct vl_screen *vscreen, uint64_t stamp) in vl_dri2_screen_set_next_timestamp() argument
[all …]
Dvl_winsys_dri3.c621 vl_dri3_screen_texture_from_drawable(struct vl_screen *vscreen, void *drawable) in vl_dri3_screen_texture_from_drawable() argument
623 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_texture_from_drawable()
641 vl_dri3_screen_get_dirty_area(struct vl_screen *vscreen) in vl_dri3_screen_get_dirty_area() argument
643 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_get_dirty_area()
651 vl_dri3_screen_get_timestamp(struct vl_screen *vscreen, void *drawable) in vl_dri3_screen_get_timestamp() argument
653 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_get_timestamp()
678 vl_dri3_screen_set_next_timestamp(struct vl_screen *vscreen, uint64_t stamp) in vl_dri3_screen_set_next_timestamp() argument
680 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; in vl_dri3_screen_set_next_timestamp()
692 vl_dri3_screen_get_private(struct vl_screen *vscreen) in vl_dri3_screen_get_private() argument
694 return vscreen; in vl_dri3_screen_get_private()
[all …]
/third_party/mesa3d/src/gallium/frontends/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.c66 dev->vscreen = vl_dri3_screen_create(display, screen); in vdp_imp_device_create_x11()
67 if (!dev->vscreen) in vdp_imp_device_create_x11()
68 dev->vscreen = vl_dri2_screen_create(display, screen); in vdp_imp_device_create_x11()
69 if (!dev->vscreen) in vdp_imp_device_create_x11()
70 dev->vscreen = vl_xlib_swrast_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()
149 dev->vscreen->destroy(dev->vscreen); in vdp_imp_device_create_x11()
240 dev->vscreen->destroy(dev->vscreen); in vlVdpDeviceFree()
Dquery.c83 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryCapabilities()
119 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
190 pscreen = dev->vscreen->pscreen; in vlVdpDecoderQueryCapabilities()
240 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryCapabilities()
292 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
333 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
392 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
440 pscreen = dev->vscreen->pscreen; in vlVdpBitmapSurfaceQueryCapabilities()
541 screen = dev->vscreen->pscreen; in vlVdpVideoMixerQueryParameterValueRange()
Dvdpau_private.h378 struct vl_screen *vscreen; member
Doutput.c83 vlsurface->send_to_X = dev->vscreen->color_depth == 24 && in vlVdpOutputSurfaceCreate()
Ddecode.c73 screen = dev->vscreen->pscreen; in vlVdpDecoderCreate()
Dmixer.c57 screen = dev->vscreen->pscreen; in vlVdpVideoMixerCreate()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dcontext.c192 struct vl_screen *vscreen; in XvMCCreateContext() local
232 vscreen = vl_dri3_screen_create(dpy, scrn); in XvMCCreateContext()
233 if (!vscreen) in XvMCCreateContext()
234 vscreen = vl_dri2_screen_create(dpy, scrn); in XvMCCreateContext()
236 if (!vscreen) { in XvMCCreateContext()
242 pipe = vscreen->pscreen->context_create(vscreen->pscreen, NULL, 0); in XvMCCreateContext()
245 vscreen->destroy(vscreen); in XvMCCreateContext()
263 vscreen->destroy(vscreen); in XvMCCreateContext()
272 vscreen->destroy(vscreen); in XvMCCreateContext()
282 vscreen->destroy(vscreen); in XvMCCreateContext()
[all …]
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
/third_party/mesa3d/src/gallium/frontends/va/
Dcontext.c132 drv->vscreen = vl_dri3_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
133 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
134 drv->vscreen = vl_dri2_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
135 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
136 drv->vscreen = vl_xlib_swrast_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
151 drv->vscreen = vl_vgem_drm_screen_create(drm_info->fd); in VA_DRIVER_INIT_FUNC()
155 if(!drv->vscreen) in VA_DRIVER_INIT_FUNC()
156 drv->vscreen = vl_drm_screen_create(drm_info->fd); in VA_DRIVER_INIT_FUNC()
164 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
167 drv->pipe = pipe_create_multimedia_context(drv->vscreen->pscreen); in VA_DRIVER_INIT_FUNC()
[all …]
Dsurface.c315 struct vl_screen *vscreen; in vlVaPutSurface() local
333 vscreen = drv->vscreen; in vlVaPutSurface()
335 tex = vscreen->texture_from_drawable(vscreen, draw); in vlVaPutSurface()
341 dirty_area = vscreen->get_dirty_area(vscreen); in vlVaPutSurface()
385 vscreen->get_private(vscreen), NULL); in vlVaPutSurface()
Dva_private.h54 #define VL_VA_PSCREEN(ctx) (VL_VA_DRIVER(ctx)->vscreen->pscreen)
247 struct vl_screen *vscreen; member
Dpostproc.c378 pscreen = drv->vscreen->pscreen; in vlVaHandleVAProcPipelineParameterBufferType()