Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.c129 struct pipe_screen *p_screen = screen->base.screen; in dri_fill_in_modes() local
150 pf_x8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24X8_UNORM, in dri_fill_in_modes()
153 pf_z24x8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_X8Z24_UNORM, in dri_fill_in_modes()
156 pf_s8z24 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z24_UNORM_S8_UINT, in dri_fill_in_modes()
159 pf_z24s8 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_S8_UINT_Z24_UNORM, in dri_fill_in_modes()
162 pf_z16 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z16_UNORM, in dri_fill_in_modes()
165 pf_z32 = p_screen->is_format_supported(p_screen, PIPE_FORMAT_Z32_UNORM, in dri_fill_in_modes()
189 p_screen->get_param(p_screen, PIPE_CAP_MIXED_COLOR_DEPTH_BITS); in dri_fill_in_modes()
199 if (!p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
207 if (p_screen->is_format_supported(p_screen, pipe_formats[format], in dri_fill_in_modes()
/external/mesa3d/src/gallium/drivers/swr/
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.cpp869 swr_resource_destroy(struct pipe_screen *p_screen, struct pipe_resource *pt) in swr_resource_destroy() argument
871 struct swr_screen *screen = swr_screen(p_screen); in swr_resource_destroy()
878 swr_fence_finish(p_screen, NULL, screen->flush_fence, 0); in swr_resource_destroy()
896 swr_flush_frontbuffer(struct pipe_screen *p_screen, in swr_flush_frontbuffer() argument
903 struct swr_screen *screen = swr_screen(p_screen); in swr_flush_frontbuffer()
909 swr_fence_finish(p_screen, NULL, screen->flush_fence, 0); in swr_flush_frontbuffer()
922 swr_destroy_screen(struct pipe_screen *p_screen) in swr_destroy_screen() argument
924 struct swr_screen *screen = swr_screen(p_screen); in swr_destroy_screen()
929 swr_fence_finish(p_screen, NULL, screen->flush_fence, 0); in swr_destroy_screen()
930 swr_fence_reference(p_screen, &screen->flush_fence, NULL); in swr_destroy_screen()
Dswr_context.cpp452 swr_create_context(struct pipe_screen *p_screen, void *priv, unsigned flags) in swr_create_context() argument
476 ctx->pipe.screen = p_screen; in swr_create_context()