Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c70 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_get_param() local
83 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
85 return vscreen->caps.caps.v1.max_dual_source_render_targets; in virgl_get_param()
87 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()
90 return vscreen->caps.caps.v1.bset.mirror_clamp; in virgl_get_param()
94 if (vscreen->caps.caps.v2.max_texture_2d_size) in virgl_get_param()
95 return vscreen->caps.caps.v2.max_texture_2d_size; in virgl_get_param()
98 if (vscreen->caps.caps.v2.max_texture_3d_size) in virgl_get_param()
99 return 1 + util_logbase2(vscreen->caps.caps.v2.max_texture_3d_size); in virgl_get_param()
102 if (vscreen->caps.caps.v2.max_texture_cube_size) in virgl_get_param()
[all …]
Dvirgl_tgsi.c106 struct virgl_screen *vscreen = (struct virgl_screen *)vctx->base.screen; in virgl_tgsi_transform() local
119 transform.cull_enabled = vscreen->caps.caps.v1.bset.has_cull; in virgl_tgsi_transform()
120 transform.has_precise = vscreen->caps.caps.v2.capability_bits & VIRGL_CAP_TGSI_PRECISE; in virgl_tgsi_transform()
122 vscreen->caps.caps.v2.capability_bits & VIRGL_CAP_FAKE_FP64; in virgl_tgsi_transform()
/external/mesa3d/src/gallium/auxiliary/vl/
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.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.c77 static void vl_dri2_screen_destroy(struct vl_screen *vscreen);
178 vl_dri2_screen_texture_from_drawable(struct vl_screen *vscreen, void *drawable) in vl_dri2_screen_texture_from_drawable() argument
180 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; in vl_dri2_screen_texture_from_drawable()
188 unsigned depth = ((xcb_screen_t *)(vscreen->xcb_screen))->root_depth; in vl_dri2_screen_texture_from_drawable()
240 templ.format = vl_dri2_format_for_depth(vscreen, depth); 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
[all …]
Dvl_winsys_dri3.c612 vl_dri3_screen_texture_from_drawable(struct vl_screen *vscreen, void *drawable) in vl_dri3_screen_texture_from_drawable() argument
614 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/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()
74 pscreen = dev->vscreen->pscreen; in vdp_imp_device_create_x11()
147 dev->vscreen->destroy(dev->vscreen); in vdp_imp_device_create_x11()
238 dev->vscreen->destroy(dev->vscreen); in vlVdpDeviceFree()
Dquery.c81 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryCapabilities()
117 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
188 pscreen = dev->vscreen->pscreen; in vlVdpDecoderQueryCapabilities()
235 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryCapabilities()
287 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryGetPutBitsNativeCapabilities()
328 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryPutBitsIndexedCapabilities()
387 pscreen = dev->vscreen->pscreen; in vlVdpOutputSurfaceQueryPutBitsYCbCrCapabilities()
435 pscreen = dev->vscreen->pscreen; in vlVdpBitmapSurfaceQueryCapabilities()
536 screen = dev->vscreen->pscreen; in vlVdpVideoMixerQueryParameterValueRange()
Dvdpau_private.h373 struct vl_screen *vscreen; member
Doutput.c83 vlsurface->send_to_X = dev->vscreen->color_depth == 24 && in vlVdpOutputSurfaceCreate()
Ddecode.c72 screen = dev->vscreen->pscreen; in vlVdpDecoderCreate()
Dmixer.c57 screen = dev->vscreen->pscreen; in vlVdpVideoMixerCreate()
/external/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
/external/mesa3d/src/gallium/frontends/va/
Dcontext.c129 drv->vscreen = vl_dri3_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
130 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
131 drv->vscreen = vl_dri2_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
143 drv->vscreen = vl_drm_screen_create(drm_info->fd); in VA_DRIVER_INIT_FUNC()
151 if (!drv->vscreen) in VA_DRIVER_INIT_FUNC()
154 drv->pipe = pipe_create_multimedia_context(drv->vscreen->pscreen); in VA_DRIVER_INIT_FUNC()
186 drv->vscreen->pscreen->get_name(drv->vscreen->pscreen)); in VA_DRIVER_INIT_FUNC()
204 drv->vscreen->destroy(drv->vscreen); in VA_DRIVER_INIT_FUNC()
389 drv->vscreen->destroy(drv->vscreen); in vlVaTerminate()
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)
243 struct vl_screen *vscreen; member