/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_drm.c | 39 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 …]
|
D | vl_winsys.h | 45 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,
|
D | vl_winsys_dri.c | 78 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 …]
|
D | vl_winsys_dri3.c | 605 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/ |
D | virgl_screen.c | 59 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/ |
D | presentation.c | 189 *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() 235 … vscreen->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 …]
|
D | device.c | 67 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()
|
D | query.c | 81 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()
|
D | vdpau_private.h | 349 struct vl_screen *vscreen; member
|
D | decode.c | 72 screen = dev->vscreen->pscreen; in vlVdpDecoderCreate()
|
D | mixer.c | 58 screen = dev->vscreen->pscreen; in vlVdpVideoMixerCreate()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | context.c | 192 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()
|
D | surface.c | 359 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()
|
D | xvmc_private.h | 53 struct vl_screen *vscreen; member
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | context.c | 122 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()
|
D | surface.c | 282 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()
|
D | va_private.h | 50 #define VL_VA_PSCREEN(ctx) (VL_VA_DRIVER(ctx)->vscreen->pscreen) 205 struct vl_screen *vscreen; member
|