Home
last modified time | relevance | path

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

12345

/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()
145 *is_supported &= pscreen->is_video_format_supported in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
147 pscreen, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
166 struct pipe_screen *pscreen; in vlVdpDecoderQueryCapabilities() local
[all …]
Ddevice.c44 struct pipe_screen *pscreen; in vdp_imp_device_create_x11() local
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()
83 if (!pscreen->get_param(pscreen, PIPE_CAP_NPOT_TEXTURES)) { in vdp_imp_device_create_x11()
99 if (!CheckSurfaceParams(pscreen, &res_tmpl)) { in vdp_imp_device_create_x11()
104 res = pscreen->resource_create(pscreen, &res_tmpl); in vdp_imp_device_create_x11()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.c92 fd_screen_get_name(struct pipe_screen *pscreen) in fd_screen_get_name() argument
96 fd_screen(pscreen)->device_id); in fd_screen_get_name()
101 fd_screen_get_vendor(struct pipe_screen *pscreen) in fd_screen_get_vendor() argument
107 fd_screen_get_device_vendor(struct pipe_screen *pscreen) in fd_screen_get_device_vendor() argument
114 fd_screen_get_timestamp(struct pipe_screen *pscreen) in fd_screen_get_timestamp() argument
116 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_get_timestamp()
131 fd_screen_destroy(struct pipe_screen *pscreen) in fd_screen_destroy() argument
133 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_destroy()
155 fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in fd_screen_get_param() argument
157 struct fd_screen *screen = fd_screen(pscreen); in fd_screen_get_param()
[all …]
/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/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.c74 vc4_screen_get_name(struct pipe_screen *pscreen) in vc4_screen_get_name() argument
76 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_get_name()
89 vc4_screen_get_vendor(struct pipe_screen *pscreen) in vc4_screen_get_vendor() argument
95 vc4_screen_destroy(struct pipe_screen *pscreen) in vc4_screen_destroy() argument
97 struct vc4_screen *screen = vc4_screen(pscreen); in vc4_screen_destroy()
100 vc4_bufmgr_destroy(pscreen); in vc4_screen_destroy()
108 ralloc_free(pscreen); in vc4_screen_destroy()
112 vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in vc4_screen_get_param() argument
317 vc4_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in vc4_screen_get_paramf() argument
344 vc4_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in vc4_screen_get_shader_param() argument
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.c45 etna_screen_resource_alloc_ts(struct pipe_screen *pscreen, in etna_screen_resource_alloc_ts() argument
48 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_resource_alloc_ts()
87 etna_screen_can_create_resource(struct pipe_screen *pscreen, in etna_screen_can_create_resource() argument
90 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_can_create_resource()
139 etna_resource_alloc(struct pipe_screen *pscreen, unsigned layout, in etna_resource_alloc() argument
142 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_alloc()
194 rsc->base.screen = pscreen; in etna_resource_alloc()
228 etna_resource_create(struct pipe_screen *pscreen, in etna_resource_create() argument
231 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_create()
277 return etna_resource_alloc(pscreen, layout, templat); in etna_resource_create()
[all …]
Detnaviv_screen.c72 etna_screen_destroy(struct pipe_screen *pscreen) in etna_screen_destroy() argument
74 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_destroy()
92 etna_screen_get_name(struct pipe_screen *pscreen) in etna_screen_get_name() argument
94 struct etna_screen *priv = etna_screen(pscreen); in etna_screen_get_name()
104 etna_screen_get_vendor(struct pipe_screen *pscreen) in etna_screen_get_vendor() argument
110 etna_screen_get_device_vendor(struct pipe_screen *pscreen) in etna_screen_get_device_vendor() argument
116 etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in etna_screen_get_param() argument
118 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_get_param()
328 etna_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in etna_screen_get_paramf() argument
352 etna_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in etna_screen_get_shader_param() argument
[all …]
Detnaviv_fence.c43 etna_screen_fence_reference(struct pipe_screen *pscreen, in etna_screen_fence_reference() argument
54 etna_screen_fence_finish(struct pipe_screen *pscreen, struct pipe_context *ctx, in etna_screen_fence_finish() argument
83 etna_fence_screen_init(struct pipe_screen *pscreen) in etna_fence_screen_init() argument
85 pscreen->fence_reference = etna_screen_fence_reference; in etna_fence_screen_init()
86 pscreen->fence_finish = etna_screen_fence_finish; in etna_fence_screen_init()
/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_fence_ref(struct pipe_screen *pscreen, in nouveau_screen_fence_ref() argument
85 nouveau_screen_bo_from_handle(struct pipe_screen *pscreen, in nouveau_screen_bo_from_handle() argument
89 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nouveau_screen_bo_from_handle()
123 nouveau_screen_bo_get_handle(struct pipe_screen *pscreen, in nouveau_screen_bo_get_handle() argument
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.c55 nv30_resource_create(struct pipe_screen *pscreen, in nv30_resource_create() argument
60 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
62 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
67 nv30_resource_from_handle(struct pipe_screen *pscreen, in nv30_resource_from_handle() argument
75 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
79 nv30_resource_screen_init(struct pipe_screen *pscreen) in nv30_resource_screen_init() argument
81 pscreen->resource_create = nv30_resource_create; in nv30_resource_screen_init()
82 pscreen->resource_from_handle = nv30_resource_from_handle; in nv30_resource_screen_init()
83 pscreen->resource_get_handle = u_resource_get_handle_vtbl; in nv30_resource_screen_init()
84 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()
235 nv30_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv30_screen_get_paramf() argument
237 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_paramf()
258 nv30_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in nv30_screen_get_shader_param() argument
261 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_shader_param()
369 nv30_screen_is_format_supported(struct pipe_screen *pscreen, in nv30_screen_is_format_supported() argument
375 if (sample_count > nv30_screen(pscreen)->max_sample_count) in nv30_screen_is_format_supported()
388 return (nv30_format_info(pscreen, format)->bindings & bindings) == bindings; in nv30_screen_is_format_supported()
[all …]
Dnv30_format.h31 nv30_format_info(struct pipe_screen *pscreen, enum pipe_format format) in nv30_format_info() argument
38 nv30_format(struct pipe_screen *pscreen, enum pipe_format format) in nv30_format() argument
45 nv30_vtxfmt(struct pipe_screen *pscreen, enum pipe_format format) in nv30_vtxfmt() argument
52 nv30_texfmt(struct pipe_screen *pscreen, enum pipe_format format) in nv30_texfmt() argument
/external/mesa3d/src/gallium/state_trackers/va/
Dconfig.c44 struct pipe_screen *pscreen; in vlVaQueryConfigProfiles() local
53 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigProfiles()
58 …if (pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_BITSTREAM, PIPE_VIDEO_CAP_SUPPORTED… in vlVaQueryConfigProfiles()
75 struct pipe_screen *pscreen; in vlVaQueryConfigEntrypoints() local
92 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigEntrypoints()
93 if (pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_BITSTREAM, in vlVaQueryConfigEntrypoints()
97 if (pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_ENCODE, in vlVaQueryConfigEntrypoints()
170 struct pipe_screen *pscreen; in vlVaCreateConfig() local
215 pscreen = VL_VA_PSCREEN(ctx); in vlVaCreateConfig()
219 if (!pscreen->get_video_param(pscreen, p, PIPE_VIDEO_ENTRYPOINT_BITSTREAM, in vlVaCreateConfig()
[all …]
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_pipe.c39 struct pipe_screen pscreen; member
137 static boolean noop_resource_get_handle(struct pipe_screen *pscreen, in noop_resource_get_handle() argument
143 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)pscreen; in noop_resource_get_handle()
351 static const char *noop_get_vendor(struct pipe_screen* pscreen) in noop_get_vendor() argument
356 static const char *noop_get_device_vendor(struct pipe_screen* pscreen) in noop_get_device_vendor() argument
361 static const char *noop_get_name(struct pipe_screen* pscreen) in noop_get_name() argument
366 static int noop_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in noop_get_param() argument
368 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_param()
373 static float noop_get_paramf(struct pipe_screen* pscreen, in noop_get_paramf() argument
376 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_paramf()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp220 struct pipe_screen *pscreen = st->pipe->screen; in st_glsl_to_nir() local
225 assert(pscreen->get_compiler_options); /* drivers using NIR must implement this */ in st_glsl_to_nir()
228 pscreen->get_compiler_options(pscreen, PIPE_SHADER_IR_NIR, ptarget); in st_glsl_to_nir()
251 struct pipe_screen *pscreen = st->pipe->screen; in st_glsl_to_nir() local
256 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT); in st_glsl_to_nir()
258 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT); in st_glsl_to_nir()
260 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER); in st_glsl_to_nir()
262 pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER); in st_glsl_to_nir()
Dst_mesa_to_tgsi.c679 struct pipe_screen *pscreen = st->pipe->screen; in emit_wpos() local
713 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) { in emit_wpos()
716 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) { in emit_wpos()
727 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) in emit_wpos()
731 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) in emit_wpos()
740 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
746 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
757 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
760 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
939 struct pipe_screen *pscreen = st->pipe->screen; in st_translate_mesa_program() local
[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()
287 nv50_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in nv50_screen_get_shader_param() argument
327 return nv50_screen(pscreen)->max_tls_space / ONE_TEMP_SIZE; in nv50_screen_get_shader_param()
361 nv50_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv50_screen_get_paramf() argument
387 nv50_screen_get_compute_param(struct pipe_screen *pscreen, in nv50_screen_get_compute_param() argument
391 struct nv50_screen *screen = nv50_screen(pscreen); in nv50_screen_get_compute_param()
[all …]
/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
100 fd2_screen_init(struct pipe_screen *pscreen) in fd2_screen_init() argument
102 fd_screen(pscreen)->max_rts = 1; in fd2_screen_init()
103 pscreen->context_create = fd2_context_create; in fd2_screen_init()
104 pscreen->is_format_supported = fd2_screen_is_format_supported; in fd2_screen_init()
/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.c44 nvc0_screen_is_format_supported(struct pipe_screen *pscreen, in nvc0_screen_is_format_supported() argument
86 nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS) in nvc0_screen_is_format_supported()
94 nouveau_screen(pscreen)->class_3d >= GM107_3D_CLASS) { in nvc0_screen_is_format_supported()
105 nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nvc0_screen_get_param() argument
107 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_param()
108 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nvc0_screen_get_param()
253 return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ? 1 : 0; in nvc0_screen_get_param()
309 nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in nvc0_screen_get_shader_param() argument
312 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_shader_param()
407 nvc0_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nvc0_screen_get_paramf() argument
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_screen.c36 fd5_screen_is_format_supported(struct pipe_screen *pscreen, in fd5_screen_is_format_supported() argument
97 fd5_screen_init(struct pipe_screen *pscreen) in fd5_screen_init() argument
99 struct fd_screen *screen = fd_screen(pscreen); in fd5_screen_init()
102 pscreen->context_create = fd5_context_create; in fd5_screen_init()
103 pscreen->is_format_supported = fd5_screen_is_format_supported; in fd5_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
99 fd4_screen_init(struct pipe_screen *pscreen) in fd4_screen_init() argument
101 struct fd_screen *screen = fd_screen(pscreen); in fd4_screen_init()
104 pscreen->context_create = fd4_context_create; in fd4_screen_init()
105 pscreen->is_format_supported = fd4_screen_is_format_supported; in fd4_screen_init()
/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/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()
289 static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, enum pipe_shader_cap… in r300_get_shader_param() argument
291 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_shader_param()
423 static float r300_get_paramf(struct pipe_screen* pscreen, in r300_get_paramf() argument
426 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_paramf()
[all …]

12345