Home
last modified time | relevance | path

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

123456

/external/mesa3d/src/gallium/state_trackers/vdpau/
Dquery.c71 struct pipe_screen *pscreen; in vlVdpVideoSurfaceQueryCapabilities() local
81 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryCapabilities()
82 if (!pscreen) in vlVdpVideoSurfaceQueryCapabilities()
89 max_2d_texture_level = pscreen->get_param(pscreen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in vlVdpVideoSurfaceQueryCapabilities()
109 struct pipe_screen *pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities() local
118 pscreen = dev->vscreen->pscreen; in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
119 if (!pscreen) in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
134 pscreen->is_video_format_supported(pscreen, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
158 *is_supported &= pscreen->is_video_format_supported in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
160 pscreen, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
[all …]
Ddevice.c44 struct pipe_screen *pscreen; in vdp_imp_device_create_x11() local
74 pscreen = dev->vscreen->pscreen; in vdp_imp_device_create_x11()
75 dev->context = pscreen->context_create(pscreen, NULL, 0); in vdp_imp_device_create_x11()
81 if (!pscreen->get_param(pscreen, PIPE_CAP_NPOT_TEXTURES)) { in vdp_imp_device_create_x11()
97 if (!CheckSurfaceParams(pscreen, &res_tmpl)) { in vdp_imp_device_create_x11()
102 res = pscreen->resource_create(pscreen, &res_tmpl); in vdp_imp_device_create_x11()
/external/mesa3d/src/gallium/winsys/freedreno/drm/
Dfreedreno_drm_winsys.c48 fd_drm_screen_destroy(struct pipe_screen *pscreen) in fd_drm_screen_destroy() argument
50 struct fd_screen *screen = fd_screen(pscreen); in fd_drm_screen_destroy()
62 pscreen->destroy = screen->winsys_priv; in fd_drm_screen_destroy()
63 pscreen->destroy(pscreen); in fd_drm_screen_destroy()
92 struct pipe_screen *pscreen = NULL; in fd_drm_screen_create() local
101 pscreen = util_hash_table_get(fd_tab, intptr_to_pointer(fd)); in fd_drm_screen_create()
102 if (pscreen) { in fd_drm_screen_create()
103 fd_screen(pscreen)->refcnt++; in fd_drm_screen_create()
109 pscreen = fd_screen_create(dev); in fd_drm_screen_create()
110 if (pscreen) { in fd_drm_screen_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.c96 fd_screen_get_name(struct pipe_screen *pscreen) in fd_screen_get_name() argument
100 fd_screen(pscreen)->device_id); in fd_screen_get_name()
105 fd_screen_get_vendor(struct pipe_screen *pscreen) in fd_screen_get_vendor() argument
111 fd_screen_get_device_vendor(struct pipe_screen *pscreen) in fd_screen_get_device_vendor() argument
118 fd_screen_get_timestamp(struct pipe_screen *pscreen) in fd_screen_get_timestamp() argument
120 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_get_timestamp()
135 fd_screen_destroy(struct pipe_screen *pscreen) in fd_screen_destroy() argument
137 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_destroy()
161 fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in fd_screen_get_param() argument
163 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_get_param()
[all …]
/external/mesa3d/src/gallium/winsys/etnaviv/drm/
Detnaviv_drm_winsys.c75 etna_drm_screen_destroy(struct pipe_screen *pscreen) in etna_drm_screen_destroy() argument
77 struct etna_screen *screen = etna_screen(pscreen); in etna_drm_screen_destroy()
89 pscreen->destroy = screen->winsys_priv; in etna_drm_screen_destroy()
90 pscreen->destroy(pscreen); in etna_drm_screen_destroy()
121 struct pipe_screen *pscreen = NULL; in etna_drm_screen_create_renderonly() local
130 pscreen = util_hash_table_get(etna_tab, intptr_to_pointer(ro->gpu_fd)); in etna_drm_screen_create_renderonly()
131 if (pscreen) { in etna_drm_screen_create_renderonly()
132 etna_screen(pscreen)->refcnt++; in etna_drm_screen_create_renderonly()
134 pscreen = screen_create(ro); in etna_drm_screen_create_renderonly()
135 if (pscreen) { in etna_drm_screen_create_renderonly()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c78 vc4_screen_get_name(struct pipe_screen *pscreen) in vc4_screen_get_name() argument
80 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_get_name()
93 vc4_screen_get_vendor(struct pipe_screen *pscreen) in vc4_screen_get_vendor() argument
99 vc4_screen_destroy(struct pipe_screen *pscreen) in vc4_screen_destroy() argument
101 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_destroy()
104 vc4_bufmgr_destroy(pscreen); in vc4_screen_destroy()
113 ralloc_free(pscreen); in vc4_screen_destroy()
131 vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in vc4_screen_get_param() argument
133 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_get_param()
360 vc4_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in vc4_screen_get_paramf() argument
[all …]
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_screen.c44 vc5_screen_get_name(struct pipe_screen *pscreen) in vc5_screen_get_name() argument
46 struct vc5_screen *screen = vc5_screen(pscreen); in vc5_screen_get_name()
59 vc5_screen_get_vendor(struct pipe_screen *pscreen) in vc5_screen_get_vendor() argument
65 vc5_screen_destroy(struct pipe_screen *pscreen) in vc5_screen_destroy() argument
67 struct vc5_screen *screen = vc5_screen(pscreen); in vc5_screen_destroy()
70 vc5_bufmgr_destroy(pscreen); in vc5_screen_destroy()
79 ralloc_free(pscreen); in vc5_screen_destroy()
83 vc5_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in vc5_screen_get_param() argument
85 struct vc5_screen *screen = vc5_screen(pscreen); in vc5_screen_get_param()
319 vc5_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in vc5_screen_get_paramf() argument
[all …]
Dvc5_resource.c99 struct pipe_screen *pscreen = prsc->screen; in vc5_resource_bo_alloc() local
104 bo = vc5_bo_alloc(vc5_screen(pscreen), in vc5_resource_bo_alloc()
289 vc5_resource_destroy(struct pipe_screen *pscreen, in vc5_resource_destroy() argument
299 vc5_resource_get_handle(struct pipe_screen *pscreen, in vc5_resource_get_handle() argument
436 vc5_resource_setup(struct pipe_screen *pscreen, in vc5_resource_setup() argument
439 struct vc5_screen *screen = vc5_screen(pscreen); in vc5_resource_setup()
448 prsc->screen = pscreen; in vc5_resource_setup()
494 vc5_resource_create_with_modifiers(struct pipe_screen *pscreen, in vc5_resource_create_with_modifiers() argument
500 struct vc5_resource *rsc = vc5_resource_setup(pscreen, tmpl); in vc5_resource_create_with_modifiers()
549 vc5_resource_destroy(pscreen, prsc); in vc5_resource_create_with_modifiers()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c32 nouveau_screen_get_name(struct pipe_screen *pscreen) in nouveau_screen_get_name() argument
34 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nouveau_screen_get_name()
42 nouveau_screen_get_vendor(struct pipe_screen *pscreen) in nouveau_screen_get_vendor() argument
48 nouveau_screen_get_device_vendor(struct pipe_screen *pscreen) in nouveau_screen_get_device_vendor() argument
54 nouveau_screen_get_timestamp(struct pipe_screen *pscreen) in nouveau_screen_get_timestamp() argument
60 return cpu_time + nouveau_screen(pscreen)->cpu_gpu_time_delta; in nouveau_screen_get_timestamp()
64 nouveau_screen_get_disk_shader_cache(struct pipe_screen *pscreen) in nouveau_screen_get_disk_shader_cache() argument
66 return nouveau_screen(pscreen)->disk_shader_cache; in nouveau_screen_get_disk_shader_cache()
70 nouveau_screen_fence_ref(struct pipe_screen *pscreen, in nouveau_screen_fence_ref() argument
91 nouveau_screen_bo_from_handle(struct pipe_screen *pscreen, in nouveau_screen_bo_from_handle() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dconfig.c45 struct pipe_screen *pscreen; in vlVaQueryConfigProfiles() local
54 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigProfiles()
59 …if (pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_BITSTREAM, PIPE_VIDEO_CAP_SUPPORTED… in vlVaQueryConfigProfiles()
76 struct pipe_screen *pscreen; in vlVaQueryConfigEntrypoints() local
93 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigEntrypoints()
94 if (pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_BITSTREAM, in vlVaQueryConfigEntrypoints()
98 if (pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_ENCODE, in vlVaQueryConfigEntrypoints()
114 struct pipe_screen *pscreen; in vlVaGetConfigAttributes() local
120 pscreen = VL_VA_PSCREEN(ctx); in vlVaGetConfigAttributes()
128 if (pscreen->is_video_format_supported(pscreen, PIPE_FORMAT_P016, in vlVaGetConfigAttributes()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.c86 etna_screen_resource_alloc_ts(struct pipe_screen *pscreen, in etna_screen_resource_alloc_ts() argument
89 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_resource_alloc_ts()
129 etna_screen_can_create_resource(struct pipe_screen *pscreen, in etna_screen_can_create_resource() argument
132 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_can_create_resource()
181 etna_resource_alloc(struct pipe_screen *pscreen, unsigned layout, in etna_resource_alloc() argument
184 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_alloc()
255 rsc = etna_resource(pscreen->resource_from_handle(pscreen, templat, in etna_resource_alloc()
272 rsc->base.screen = pscreen; in etna_resource_alloc()
307 etna_resource_create(struct pipe_screen *pscreen, in etna_resource_create() argument
310 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_create()
[all …]
Detnaviv_screen.c78 etna_screen_destroy(struct pipe_screen *pscreen) in etna_screen_destroy() argument
80 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_destroy()
98 etna_screen_get_name(struct pipe_screen *pscreen) in etna_screen_get_name() argument
100 struct etna_screen *priv = etna_screen(pscreen); in etna_screen_get_name()
110 etna_screen_get_vendor(struct pipe_screen *pscreen) in etna_screen_get_vendor() argument
116 etna_screen_get_device_vendor(struct pipe_screen *pscreen) in etna_screen_get_device_vendor() argument
122 etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in etna_screen_get_param() argument
124 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_get_param()
355 etna_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in etna_screen_get_paramf() argument
357 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_get_paramf()
[all …]
Detnaviv_fence.c54 etna_screen_fence_reference(struct pipe_screen *pscreen, in etna_screen_fence_reference() argument
65 etna_screen_fence_finish(struct pipe_screen *pscreen, struct pipe_context *ctx, in etna_screen_fence_finish() argument
94 etna_screen_fence_get_fd(struct pipe_screen *pscreen, in etna_screen_fence_get_fd() argument
121 etna_fence_screen_init(struct pipe_screen *pscreen) in etna_fence_screen_init() argument
123 pscreen->fence_reference = etna_screen_fence_reference; in etna_fence_screen_init()
124 pscreen->fence_finish = etna_screen_fence_finish; in etna_fence_screen_init()
125 pscreen->fence_get_fd = etna_screen_fence_get_fd; in etna_fence_screen_init()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.c51 nv30_resource_create(struct pipe_screen *pscreen, in nv30_resource_create() argument
56 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
58 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
63 nv30_resource_from_handle(struct pipe_screen *pscreen, in nv30_resource_from_handle() argument
71 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
75 nv30_resource_screen_init(struct pipe_screen *pscreen) in nv30_resource_screen_init() argument
77 pscreen->resource_create = nv30_resource_create; in nv30_resource_screen_init()
78 pscreen->resource_from_handle = nv30_resource_from_handle; in nv30_resource_screen_init()
79 pscreen->resource_get_handle = u_resource_get_handle_vtbl; in nv30_resource_screen_init()
80 pscreen->resource_destroy = u_resource_destroy_vtbl; in nv30_resource_screen_init()
Dnv30_screen.c50 nv30_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nv30_screen_get_param() argument
52 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_param()
54 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv30_screen_get_param()
254 nv30_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv30_screen_get_paramf() argument
256 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_paramf()
277 nv30_screen_get_shader_param(struct pipe_screen *pscreen, in nv30_screen_get_shader_param() argument
281 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_shader_param()
394 nv30_screen_is_format_supported(struct pipe_screen *pscreen, in nv30_screen_is_format_supported() argument
400 if (sample_count > nv30_screen(pscreen)->max_sample_count) in nv30_screen_is_format_supported()
413 return (nv30_format_info(pscreen, format)->bindings & bindings) == bindings; in nv30_screen_is_format_supported()
[all …]
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_pipe.c40 struct pipe_screen pscreen; member
138 static boolean noop_resource_get_handle(struct pipe_screen *pscreen, in noop_resource_get_handle() argument
144 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)pscreen; in noop_resource_get_handle()
364 static const char *noop_get_vendor(struct pipe_screen* pscreen) in noop_get_vendor() argument
369 static const char *noop_get_device_vendor(struct pipe_screen* pscreen) in noop_get_device_vendor() argument
374 static const char *noop_get_name(struct pipe_screen* pscreen) in noop_get_name() argument
379 static int noop_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in noop_get_param() argument
381 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_param()
386 static float noop_get_paramf(struct pipe_screen* pscreen, in noop_get_paramf() argument
389 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_paramf()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_screen.c45 nv50_screen_is_format_supported(struct pipe_screen *pscreen, in nv50_screen_is_format_supported() argument
63 if (nv50_screen(pscreen)->tesla->oclass < NVA0_3D_CLASS) in nv50_screen_is_format_supported()
87 nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nv50_screen_get_param() argument
89 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nv50_screen_get_param()
90 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv50_screen_get_param()
306 nv50_screen_get_shader_param(struct pipe_screen *pscreen, in nv50_screen_get_shader_param() argument
345 return nv50_screen(pscreen)->max_tls_space / ONE_TEMP_SIZE; in nv50_screen_get_shader_param()
385 nv50_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv50_screen_get_paramf() argument
411 nv50_screen_get_compute_param(struct pipe_screen *pscreen, in nv50_screen_get_compute_param() argument
415 struct nv50_screen *screen = nv50_screen(pscreen); in nv50_screen_get_compute_param()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_resource.c60 nvc0_screen_init_resource_functions(struct pipe_screen *pscreen) in nvc0_screen_init_resource_functions() argument
62 pscreen->resource_create = nvc0_resource_create; in nvc0_screen_init_resource_functions()
63 pscreen->resource_from_handle = nvc0_resource_from_handle; in nvc0_screen_init_resource_functions()
64 pscreen->resource_get_handle = u_resource_get_handle_vtbl; in nvc0_screen_init_resource_functions()
65 pscreen->resource_destroy = u_resource_destroy_vtbl; in nvc0_screen_init_resource_functions()
Dnvc0_screen.c41 nvc0_screen_is_format_supported(struct pipe_screen *pscreen, in nvc0_screen_is_format_supported() argument
83 nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS) in nvc0_screen_is_format_supported()
92 nouveau_screen(pscreen)->class_3d >= GM107_3D_CLASS) { in nvc0_screen_is_format_supported()
99 nouveau_screen(pscreen)->class_3d < NVE4_3D_CLASS) { in nvc0_screen_is_format_supported()
111 nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nvc0_screen_get_param() argument
113 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_param()
114 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nvc0_screen_get_param()
259 return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ? 1 : 0; in nvc0_screen_get_param()
335 nvc0_screen_get_shader_param(struct pipe_screen *pscreen, in nvc0_screen_get_shader_param() argument
339 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_shader_param()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_screen.c38 fd3_screen_is_format_supported(struct pipe_screen *pscreen, in fd3_screen_is_format_supported() argument
100 fd3_screen_init(struct pipe_screen *pscreen) in fd3_screen_init() argument
102 struct fd_screen *screen = fd_screen(pscreen); in fd3_screen_init()
105 pscreen->context_create = fd3_context_create; in fd3_screen_init()
106 pscreen->is_format_supported = fd3_screen_is_format_supported; in fd3_screen_init()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c37 fd2_screen_is_format_supported(struct pipe_screen *pscreen, in fd2_screen_is_format_supported() argument
107 fd2_screen_init(struct pipe_screen *pscreen) in fd2_screen_init() argument
109 fd_screen(pscreen)->max_rts = 1; in fd2_screen_init()
110 pscreen->context_create = fd2_context_create; in fd2_screen_init()
111 pscreen->is_format_supported = fd2_screen_is_format_supported; in fd2_screen_init()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_screen.c38 fd4_screen_is_format_supported(struct pipe_screen *pscreen, in fd4_screen_is_format_supported() argument
104 fd4_screen_init(struct pipe_screen *pscreen) in fd4_screen_init() argument
106 struct fd_screen *screen = fd_screen(pscreen); in fd4_screen_init()
109 pscreen->context_create = fd4_context_create; in fd4_screen_init()
110 pscreen->is_format_supported = fd4_screen_is_format_supported; in fd4_screen_init()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c39 fd5_screen_is_format_supported(struct pipe_screen *pscreen, in fd5_screen_is_format_supported() argument
105 fd5_screen_init(struct pipe_screen *pscreen) in fd5_screen_init() argument
107 struct fd_screen *screen = fd_screen(pscreen); in fd5_screen_init()
110 pscreen->context_create = fd5_context_create; in fd5_screen_init()
111 pscreen->is_format_supported = fd5_screen_is_format_supported; in fd5_screen_init()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c705 struct pipe_screen *pscreen = st->pipe->screen; in emit_wpos() local
739 if (pscreen->get_param(pscreen, in emit_wpos()
743 else if (pscreen->get_param(pscreen, in emit_wpos()
755 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) in emit_wpos()
759 else if (pscreen->get_param(pscreen, in emit_wpos()
769 if (pscreen->get_param(pscreen, in emit_wpos()
776 else if (pscreen->get_param(pscreen, in emit_wpos()
788 if (pscreen->get_param(pscreen, in emit_wpos()
792 else if (pscreen->get_param(pscreen, in emit_wpos()
971 struct pipe_screen *pscreen = st->pipe->screen; in st_translate_mesa_program() local
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c45 static const char* r300_get_vendor(struct pipe_screen* pscreen) in r300_get_vendor() argument
50 static const char* r300_get_device_vendor(struct pipe_screen* pscreen) in r300_get_device_vendor() argument
82 static const char* r300_get_name(struct pipe_screen* pscreen) in r300_get_name() argument
84 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_name()
89 static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in r300_get_param() argument
91 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_param()
308 static int r300_get_shader_param(struct pipe_screen *pscreen, in r300_get_shader_param() argument
312 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_shader_param()
452 static float r300_get_paramf(struct pipe_screen* pscreen, in r300_get_paramf() argument
455 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_paramf()
[all …]

123456