Home
last modified time | relevance | path

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

123

/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()
140 *is_supported &= pscreen->is_video_format_supported in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
142 pscreen, in vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities()
160 struct pipe_screen *pscreen; in vlVdpDecoderQueryCapabilities() local
[all …]
Ddevice.c43 struct pipe_screen *pscreen; in vdp_imp_device_create_x11() local
67 pscreen = dev->vscreen->pscreen; in vdp_imp_device_create_x11()
68 dev->context = pscreen->context_create(pscreen, dev->vscreen); in vdp_imp_device_create_x11()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_resource.c35 nv30_resource_create(struct pipe_screen *pscreen, in nv30_resource_create() argument
40 return nouveau_buffer_create(pscreen, tmpl); in nv30_resource_create()
42 return nv30_miptree_create(pscreen, tmpl); in nv30_resource_create()
47 nv30_resource_from_handle(struct pipe_screen *pscreen, in nv30_resource_from_handle() argument
54 return nv30_miptree_from_handle(pscreen, tmpl, handle); in nv30_resource_from_handle()
58 nv30_resource_screen_init(struct pipe_screen *pscreen) in nv30_resource_screen_init() argument
60 pscreen->resource_create = nv30_resource_create; in nv30_resource_screen_init()
61 pscreen->resource_from_handle = nv30_resource_from_handle; in nv30_resource_screen_init()
62 pscreen->resource_get_handle = u_resource_get_handle_vtbl; in nv30_resource_screen_init()
63 pscreen->resource_destroy = u_resource_destroy_vtbl; in nv30_resource_screen_init()
Dnv30_screen.c47 nv30_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nv30_screen_get_param() argument
49 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_param()
132 nv30_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv30_screen_get_paramf() argument
134 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_paramf()
155 nv30_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in nv30_screen_get_shader_param() argument
158 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_get_shader_param()
238 nv30_screen_is_format_supported(struct pipe_screen *pscreen, in nv30_screen_is_format_supported() argument
266 return (nv30_format_info(pscreen, format)->bindings & bindings) == bindings; in nv30_screen_is_format_supported()
270 nv30_screen_fence_emit(struct pipe_screen *pscreen, uint32_t *sequence) in nv30_screen_fence_emit() argument
272 struct nv30_screen *screen = nv30_screen(pscreen); in nv30_screen_fence_emit()
[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
Dnv30_miptree.c49 nv30_miptree_get_handle(struct pipe_screen *pscreen, in nv30_miptree_get_handle() argument
61 return nouveau_screen_bo_get_handle(pscreen, mt->base.bo, stride, handle); in nv30_miptree_get_handle()
65 nv30_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) in nv30_miptree_destroy() argument
270 nv30_miptree_create(struct pipe_screen *pscreen, in nv30_miptree_create() argument
273 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv30_miptree_create()
301 pt->screen = pscreen; in nv30_miptree_create()
358 nv30_miptree_from_handle(struct pipe_screen *pscreen, in nv30_miptree_from_handle() argument
377 mt->base.bo = nouveau_screen_bo_from_handle(pscreen, handle, &stride); in nv30_miptree_from_handle()
386 mt->base.base.screen = pscreen; in nv30_miptree_from_handle()
Dnv30_screen.h46 nv30_screen(struct pipe_screen *pscreen) in nv30_screen() argument
48 return (struct nv30_screen *)pscreen; in nv30_screen()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c31 nouveau_screen_get_name(struct pipe_screen *pscreen) in nouveau_screen_get_name() argument
33 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nouveau_screen_get_name()
41 nouveau_screen_get_vendor(struct pipe_screen *pscreen) in nouveau_screen_get_vendor() argument
47 nouveau_screen_get_timestamp(struct pipe_screen *pscreen) in nouveau_screen_get_timestamp() argument
53 return cpu_time + nouveau_screen(pscreen)->cpu_gpu_time_delta; in nouveau_screen_get_timestamp()
57 nouveau_screen_fence_ref(struct pipe_screen *pscreen, in nouveau_screen_fence_ref() argument
81 nouveau_screen_bo_from_handle(struct pipe_screen *pscreen, in nouveau_screen_bo_from_handle() argument
85 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nouveau_screen_bo_from_handle()
102 nouveau_screen_bo_get_handle(struct pipe_screen *pscreen, in nouveau_screen_bo_get_handle() argument
122 struct pipe_screen *pscreen = &screen->base; in nouveau_screen_init() local
[all …]
Dnouveau_screen.h47 nouveau_screen(struct pipe_screen *pscreen) in nouveau_screen() argument
49 return (struct nouveau_screen *)pscreen; in nouveau_screen()
53 nouveau_screen_bo_get_handle(struct pipe_screen *pscreen,
58 nouveau_screen_bo_from_handle(struct pipe_screen *pscreen,
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_screen.c47 nv50_screen_is_format_supported(struct pipe_screen *pscreen, in nv50_screen_is_format_supported() argument
65 if (nv50_screen(pscreen)->tesla->oclass < NVA0_3D_CLASS) in nv50_screen_is_format_supported()
86 nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nv50_screen_get_param() argument
88 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nv50_screen_get_param()
113 return nv50_screen(pscreen)->tesla->oclass >= NVA0_3D_CLASS; in nv50_screen_get_param()
148 return nv50_screen(pscreen)->tesla->oclass >= NVA3_3D_CLASS; in nv50_screen_get_param()
186 nv50_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in nv50_screen_get_shader_param() argument
225 return nv50_screen(pscreen)->max_tls_space / ONE_TEMP_SIZE; in nv50_screen_get_shader_param()
241 nv50_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nv50_screen_get_paramf() argument
261 nv50_screen_destroy(struct pipe_screen *pscreen) in nv50_screen_destroy() argument
[all …]
Dnv50_resource.h17 nv50_screen_init_resource_functions(struct pipe_screen *pscreen);
69 nv50_miptree_create(struct pipe_screen *pscreen,
73 nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt);
76 nv50_miptree_from_handle(struct pipe_screen *pscreen,
81 nv50_miptree_get_handle(struct pipe_screen *pscreen,
Dnv50_resource.c100 nv50_screen_init_resource_functions(struct pipe_screen *pscreen) in nv50_screen_init_resource_functions() argument
102 pscreen->resource_create = nv50_resource_create; in nv50_screen_init_resource_functions()
103 pscreen->resource_from_handle = nv50_resource_from_handle; in nv50_screen_init_resource_functions()
104 pscreen->resource_get_handle = u_resource_get_handle_vtbl; in nv50_screen_init_resource_functions()
105 pscreen->resource_destroy = u_resource_destroy_vtbl; in nv50_screen_init_resource_functions()
Dnv50_miptree.c113 nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) in nv50_miptree_destroy() argument
126 nv50_miptree_get_handle(struct pipe_screen *pscreen, in nv50_miptree_get_handle() argument
138 return nouveau_screen_bo_get_handle(pscreen, in nv50_miptree_get_handle()
254 nv50_miptree_create(struct pipe_screen *pscreen, in nv50_miptree_create() argument
257 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv50_miptree_create()
270 pt->screen = pscreen; in nv50_miptree_create()
305 nv50_miptree_from_handle(struct pipe_screen *pscreen, in nv50_miptree_from_handle() argument
324 mt->base.bo = nouveau_screen_bo_from_handle(pscreen, whandle, &stride); in nv50_miptree_from_handle()
335 mt->base.base.screen = pscreen; in nv50_miptree_from_handle()
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_pipe.c39 struct pipe_screen pscreen; member
298 static const char *noop_get_vendor(struct pipe_screen* pscreen) in noop_get_vendor() argument
303 static const char *noop_get_name(struct pipe_screen* pscreen) in noop_get_name() argument
308 static int noop_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in noop_get_param() argument
310 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_param()
315 static float noop_get_paramf(struct pipe_screen* pscreen, in noop_get_paramf() argument
318 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_paramf()
323 static int noop_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enum pipe_shader_cap… in noop_get_shader_param() argument
325 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_shader_param()
330 static boolean noop_is_format_supported(struct pipe_screen* pscreen, in noop_is_format_supported() argument
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_screen.c36 nvc0_screen_is_format_supported(struct pipe_screen *pscreen, in nvc0_screen_is_format_supported() argument
69 nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) in nvc0_screen_get_param() argument
71 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_param()
164 nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, in nvc0_screen_get_shader_param() argument
229 nvc0_screen_get_paramf(struct pipe_screen *pscreen, enum pipe_capf param) in nvc0_screen_get_paramf() argument
250 nvc0_screen_destroy(struct pipe_screen *pscreen) in nvc0_screen_destroy() argument
252 struct nvc0_screen *screen = nvc0_screen(pscreen); in nvc0_screen_destroy()
369 nvc0_screen_fence_emit(struct pipe_screen *pscreen, u32 *sequence) in nvc0_screen_fence_emit() argument
371 struct nvc0_screen *screen = nvc0_screen(pscreen); in nvc0_screen_fence_emit()
386 nvc0_screen_fence_update(struct pipe_screen *pscreen) in nvc0_screen_fence_update() argument
[all …]
Dnvc0_resource.c58 nvc0_screen_init_resource_functions(struct pipe_screen *pscreen) in nvc0_screen_init_resource_functions() argument
60 pscreen->resource_create = nvc0_resource_create; in nvc0_screen_init_resource_functions()
61 pscreen->resource_from_handle = nvc0_resource_from_handle; in nvc0_screen_init_resource_functions()
62 pscreen->resource_get_handle = u_resource_get_handle_vtbl; in nvc0_screen_init_resource_functions()
63 pscreen->resource_destroy = u_resource_destroy_vtbl; in nvc0_screen_init_resource_functions()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c45 static const char* r300_get_vendor(struct pipe_screen* pscreen) in r300_get_vendor() argument
76 static const char* r300_get_name(struct pipe_screen* pscreen) in r300_get_name() argument
78 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_name()
83 static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in r300_get_param() argument
85 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_param()
181 static int r300_get_shader_param(struct pipe_screen *pscreen, unsigned shader, enum pipe_shader_cap… in r300_get_shader_param() argument
183 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_shader_param()
285 static float r300_get_paramf(struct pipe_screen* pscreen, in r300_get_paramf() argument
288 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_paramf()
463 static void r300_destroy_screen(struct pipe_screen* pscreen) in r300_destroy_screen() argument
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_pipe.c266 static const char* r600_get_vendor(struct pipe_screen* pscreen) in r600_get_vendor() argument
281 static const char* r600_get_name(struct pipe_screen* pscreen) in r600_get_name() argument
283 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_name()
288 static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in r600_get_param() argument
290 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_param()
392 static float r600_get_paramf(struct pipe_screen* pscreen, in r600_get_paramf() argument
395 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_paramf()
417 static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enum pipe_shader_cap… in r600_get_shader_param() argument
419 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_shader_param()
494 static void r600_destroy_screen(struct pipe_screen* pscreen) in r600_destroy_screen() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c41 pp_init_prog(struct pp_queue_t *ppq, struct pipe_screen *pscreen) in pp_init_prog() argument
47 if (!pscreen) in pp_init_prog()
54 p->screen = pscreen; in pp_init_prog()
55 p->pipe = pscreen->context_create(pscreen, NULL); in pp_init_prog()
82 p->vbuf = pipe_buffer_create(pscreen, PIPE_BIND_VERTEX_BUFFER, in pp_init_prog()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_xsp.c96 …pipe_resource_reference(&xsp_screen->tex, vscreen->pscreen->resource_create(vscreen->pscreen, &tem… in vl_screen_texture_from_drawable()
146 xsp_screen->base.pscreen = softpipe_create_screen(winsys); in vl_screen_create()
147 if (!xsp_screen->base.pscreen) { in vl_screen_create()
168 vscreen->pscreen->destroy(vscreen->pscreen); in vl_screen_destroy()
Dvl_winsys_dri.c242 tex = scrn->base.pscreen->resource_from_handle(scrn->base.pscreen, &template, &dri2_handle); in vl_screen_texture_from_drawable()
360 scrn->base.pscreen = driver_descriptor.create_screen(fd); in vl_screen_create()
361 if (!scrn->base.pscreen) in vl_screen_create()
364 scrn->base.pscreen->flush_frontbuffer = vl_dri2_flush_frontbuffer; in vl_screen_create()
398 scrn->base.pscreen->destroy(scrn->base.pscreen); in vl_screen_destroy()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c864 struct pipe_screen *pscreen = st->pipe->screen; in emit_wpos() local
898 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) { in emit_wpos()
901 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) { in emit_wpos()
911 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) in emit_wpos()
914 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) in emit_wpos()
923 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
928 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
939 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
942 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
1166 struct pipe_screen *pscreen = st->pipe->screen; in st_translate_mesa_program() local
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.c327 static const char* r600_get_vendor(struct pipe_screen* pscreen) in r600_get_vendor() argument
364 static const char* r600_get_name(struct pipe_screen* pscreen) in r600_get_name() argument
366 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_name()
371 static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) in r600_get_param() argument
373 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_param()
483 static float r600_get_paramf(struct pipe_screen* pscreen, in r600_get_paramf() argument
486 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_paramf()
511 static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enum pipe_shader_cap… in r600_get_shader_param() argument
676 static void r600_destroy_screen(struct pipe_screen* pscreen) in r600_destroy_screen() argument
678 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_destroy_screen()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_screen.h63 i915_screen(struct pipe_screen *pscreen) in i915_screen() argument
65 return (struct i915_screen *) pscreen; in i915_screen()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen.h81 svga_screen(struct pipe_screen *pscreen) in svga_screen() argument
83 return (struct svga_screen *) pscreen; in svga_screen()

123