Searched refs:stvis (Results 1 – 13 of 13) sorted by relevance
294 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument297 memset(stvis, 0, sizeof(*stvis)); in dri_fill_st_visual()307 stvis->color_format = PIPE_FORMAT_B10G10R10A2_UNORM; in dri_fill_st_visual()309 stvis->color_format = PIPE_FORMAT_B10G10R10X2_UNORM; in dri_fill_st_visual()316 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()320 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()329 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()333 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()340 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual()349 stvis->samples = mode->samples; in dri_fill_st_visual()[all …]
62 drawable->stvis.samples > 1 ? drawable->msaa_textures in dri_st_framebuffer_validate()158 dri_fill_st_visual(&drawable->stvis, screen, visual); in dri_create_buffer()161 drawable->base.visual = &drawable->stvis; in dri_create_buffer()319 *format = util_format_linear(drawable->stvis.color_format); in dri_drawable_get_format()323 *format = drawable->stvis.depth_stencil_format; in dri_drawable_get_format()507 if (drawable->stvis.samples > 1 && in dri_flush()
130 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
46 struct st_visual stvis; member
679 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()787 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()798 templ.nr_samples = drawable->stvis.samples; in dri2_allocate_textures()848 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()849 templ.nr_samples = drawable->stvis.samples; in dri2_allocate_textures()904 if (drawable->stvis.samples > 1) { in dri2_flush_frontbuffer()
42 struct st_visual stvis; member97 templ.nr_samples = stwfb->stvis.samples; in stw_st_framebuffer_validate_locked()114 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()120 format = stwfb->stvis.depth_stencil_format; in stw_st_framebuffer_validate_locked()234 stwfb->stvis = fb->pfi->stvis; in stw_st_create_framebuffer()238 stwfb->base.visual = &stwfb->stvis; in stw_st_create_framebuffer()
195 pfi->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in stw_pixelformat_add()197 pfi->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in stw_pixelformat_add()199 pfi->stvis.color_format = color->format; in stw_pixelformat_add()200 pfi->stvis.depth_stencil_format = depth->format; in stw_pixelformat_add()202 pfi->stvis.accum_format = (accum) ? in stw_pixelformat_add()205 pfi->stvis.samples = samples; in stw_pixelformat_add()206 pfi->stvis.render_buffer = ST_ATTACHMENT_INVALID; in stw_pixelformat_add()
162 if (util_format_is_float(pfi->stvis.color_format)) { in stw_query_attrib()246 *pvalue = (pfi->stvis.samples > 1); in stw_query_attrib()250 *pvalue = pfi->stvis.samples; in stw_query_attrib()
45 struct st_visual stvis; member
220 attribs.visual = pfi->stvis; in stw_create_context_attribs()
39 struct st_visual stvis; member137 templ.nr_samples = xstfb->stvis.samples; in xmesa_st_framebuffer_validate_textures()156 format = xstfb->stvis.color_format; in xmesa_st_framebuffer_validate_textures()161 format = xstfb->stvis.depth_stencil_format; in xmesa_st_framebuffer_validate_textures()295 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer()301 stfbi->visual = &xstfb->stvis; in xmesa_create_st_framebuffer()
876 v->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in XMesaCreateVisual()878 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in XMesaCreateVisual()880 v->stvis.buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in XMesaCreateVisual()882 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in XMesaCreateVisual()885 v->stvis.color_format = choose_pixel_format(v); in XMesaCreateVisual()889 v->stvis.color_format, in XMesaCreateVisual()892 v->stvis.color_format = PIPE_FORMAT_NONE; in XMesaCreateVisual()894 if (v->stvis.color_format == PIPE_FORMAT_NONE) { in XMesaCreateVisual()900 v->stvis.depth_stencil_format = in XMesaCreateVisual()904 v->stvis.accum_format = (accum_red_size + in XMesaCreateVisual()[all …]
297 struct st_visual stvis; member