Searched refs:stvis (Results 1 – 16 of 16) sorted by relevance
593 dri_fill_st_visual(struct st_visual *stvis, in dri_fill_st_visual() argument597 memset(stvis, 0, sizeof(*stvis)); in dri_fill_st_visual()609 stvis->color_format = PIPE_FORMAT_R16G16B16A16_FLOAT; in dri_fill_st_visual()611 stvis->color_format = PIPE_FORMAT_R16G16B16X16_FLOAT; in dri_fill_st_visual()618 stvis->color_format = PIPE_FORMAT_B10G10R10A2_UNORM; in dri_fill_st_visual()620 stvis->color_format = PIPE_FORMAT_B10G10R10X2_UNORM; in dri_fill_st_visual()627 stvis->color_format = PIPE_FORMAT_R10G10B10A2_UNORM; in dri_fill_st_visual()629 stvis->color_format = PIPE_FORMAT_R10G10B10X2_UNORM; in dri_fill_st_visual()636 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()640 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()[all …]
59 drawable->stvis.samples > 1 ? drawable->msaa_textures in dri_st_framebuffer_validate()165 dri_fill_st_visual(&drawable->stvis, screen, visual); in dri_create_buffer()168 drawable->base.visual = &drawable->stvis; in dri_create_buffer()329 *format = util_format_linear(drawable->stvis.color_format); in dri_drawable_get_format()333 *format = drawable->stvis.depth_stencil_format; in dri_drawable_get_format()418 if (args->drawable->stvis.samples > 1 && in notify_before_flush_cb()
260 if (drawable->stvis.samples > 1) { in drisw_swap_buffers()299 if (drawable->stvis.samples > 1) { in drisw_copy_sub_buffer()321 if (drawable->stvis.samples > 1) { in drisw_flush_frontbuffer()409 if (drawable->stvis.samples > 1) { in drisw_allocate_textures()412 templ.nr_samples = drawable->stvis.samples; in drisw_allocate_textures()413 templ.nr_storage_samples = drawable->stvis.samples; in drisw_allocate_textures()
642 if (drawable->stvis.samples > 1 && !drawable->msaa_textures[statts[i]]) { in kopper_allocate_textures()645 templ.nr_samples = drawable->stvis.samples; in kopper_allocate_textures()646 templ.nr_storage_samples = drawable->stvis.samples; in kopper_allocate_textures()728 if (drawable->stvis.samples > 1) { in kopper_flush_frontbuffer()860 ret->base.visual = &ret->stvis; in kopper_create_drawable()
43 struct st_visual stvis; member
155 dri_fill_st_visual(struct st_visual *stvis,
499 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()626 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()637 templ.nr_samples = drawable->stvis.samples; in dri2_allocate_textures()638 templ.nr_storage_samples = drawable->stvis.samples; in dri2_allocate_textures()688 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()689 templ.nr_samples = drawable->stvis.samples; in dri2_allocate_textures()690 templ.nr_storage_samples = drawable->stvis.samples; in dri2_allocate_textures()755 if (drawable->stvis.samples > 1) { in dri2_flush_frontbuffer()2230 if (drawable->stvis.samples > 1) in dri2_set_damage_region()
48 struct st_visual stvis; member168 if (stwfb->stvis.samples <= 1) in stw_st_framebuffer_validate_locked()184 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()204 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()222 format = stwfb->stvis.depth_stencil_format; in stw_st_framebuffer_validate_locked()233 if (bind != PIPE_BIND_DEPTH_STENCIL && stwfb->stvis.samples > 1) { in stw_st_framebuffer_validate_locked()236 stwfb->stvis.samples; in stw_st_framebuffer_validate_locked()289 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()336 stwfb->stvis.samples > 1 ? stwfb->msaa_textures in stw_st_framebuffer_validate()371 if (args->stwfb->stvis.samples > 1) { in notify_before_flush_cb()[all …]
207 pfi->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in stw_pixelformat_add()209 pfi->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in stw_pixelformat_add()211 pfi->stvis.color_format = color->format; in stw_pixelformat_add()212 pfi->stvis.depth_stencil_format = depth->format; in stw_pixelformat_add()214 pfi->stvis.accum_format = (accum) ? in stw_pixelformat_add()217 pfi->stvis.samples = samples; 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()
49 struct st_visual stvis; member
222 attribs.visual = pfi->stvis; in stw_create_context_attribs()
40 struct st_visual stvis; member141 templ.nr_samples = xstfb->stvis.samples; in xmesa_st_framebuffer_validate_textures()142 templ.nr_storage_samples = xstfb->stvis.samples; in xmesa_st_framebuffer_validate_textures()161 format = xstfb->stvis.color_format; in xmesa_st_framebuffer_validate_textures()166 format = xstfb->stvis.depth_stencil_format; in xmesa_st_framebuffer_validate_textures()303 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer()309 stfbi->visual = &xstfb->stvis; in xmesa_create_st_framebuffer()
864 v->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in XMesaCreateVisual()866 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in XMesaCreateVisual()868 v->stvis.buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in XMesaCreateVisual()870 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in XMesaCreateVisual()873 v->stvis.color_format = choose_pixel_format(v); in XMesaCreateVisual()877 v->stvis.color_format, in XMesaCreateVisual()881 v->stvis.color_format = PIPE_FORMAT_NONE; in XMesaCreateVisual()883 if (v->stvis.color_format == PIPE_FORMAT_NONE) { in XMesaCreateVisual()889 v->stvis.depth_stencil_format = in XMesaCreateVisual()893 v->stvis.accum_format = (accum_red_size + in XMesaCreateVisual()[all …]
298 struct st_visual stvis; member
88 base.Samples = stw_config->stvis.samples; in wgl_add_config()