Home
last modified time | relevance | path

Searched refs:p_screen (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.c158 struct pipe_screen *p_screen = screen->base.screen; in dri_fill_in_modes() local
183 pf_x8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24X8_UNORM, in dri_fill_in_modes()
186 pf_z24x8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_X8Z24_UNORM, in dri_fill_in_modes()
189 pf_s8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24_UNORM_S8_UINT, in dri_fill_in_modes()
192 pf_z24s8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_S8_UINT_Z24_UNORM, in dri_fill_in_modes()
195 pf_z16 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z16_UNORM, in dri_fill_in_modes()
198 pf_z32 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z32_UNORM, in dri_fill_in_modes()
222 p_screen->get_param(p_screen, PIPE_CAP_MIXED_COLOR_DEPTH_BITS); in dri_fill_in_modes()
244 if (!p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
252 if (p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_loader.cpp68 struct pipe_screen *p_screen = swr_create_screen_internal(winsys); in swr_create_screen() local
69 if (!p_screen) { in swr_create_screen()
73 struct swr_screen *screen = swr_screen(p_screen); in swr_create_screen()
85 return p_screen; in swr_create_screen()
96 return p_screen; in swr_create_screen()
106 return p_screen; in swr_create_screen()
116 return p_screen; in swr_create_screen()
Dswr_fence.cpp143 swr_fence_init(struct pipe_screen *p_screen) in swr_fence_init() argument
145 p_screen->fence_reference = swr_fence_reference; in swr_fence_init()
146 p_screen->fence_finish = swr_fence_finish; in swr_fence_init()
147 p_screen->get_timestamp = swr_get_timestamp; in swr_fence_init()
151 struct swr_screen *screen = swr_screen(p_screen); in swr_fence_init()
Dswr_screen.cpp969 swr_resource_destroy(struct pipe_screen *p_screen, struct pipe_resource *pt) in swr_resource_destroy() argument
971 struct swr_screen *screen = swr_screen(p_screen); in swr_resource_destroy()
977 swr_fence_finish(p_screen, NULL, screen->flush_fence, 0); in swr_resource_destroy()
1016 swr_flush_frontbuffer(struct pipe_screen *p_screen, in swr_flush_frontbuffer() argument
1023 struct swr_screen *screen = swr_screen(p_screen); in swr_flush_frontbuffer()
1030 swr_fence_finish(p_screen, NULL, screen->flush_fence, 0); in swr_flush_frontbuffer()
1058 struct pipe_screen *p_screen = &(*screen)->base; in swr_destroy_screen_internal() local
1060 swr_fence_finish(p_screen, NULL, (*screen)->flush_fence, 0); in swr_destroy_screen_internal()
1061 swr_fence_reference(p_screen, &(*screen)->flush_fence, NULL); in swr_destroy_screen_internal()
1074 swr_destroy_screen(struct pipe_screen *p_screen) in swr_destroy_screen() argument
[all …]
Dswr_context.cpp475 swr_create_context(struct pipe_screen *p_screen, void *priv, unsigned flags) in swr_create_context() argument
481 swr_screen(p_screen)->pfnSwrGetInterface(ctx->api); in swr_create_context()
507 if (swr_screen(p_screen)->is_knl) in swr_create_context()
528 ctx->pipe.screen = p_screen; in swr_create_context()