Searched refs:stvis (Results 1 – 15 of 15) sorted by relevance
304 dri_fill_st_visual(struct st_visual *stvis, in dri_fill_st_visual() argument308 memset(stvis, 0, sizeof(*stvis)); in dri_fill_st_visual()320 stvis->color_format = PIPE_FORMAT_R16G16B16A16_FLOAT; in dri_fill_st_visual()322 stvis->color_format = PIPE_FORMAT_R16G16B16X16_FLOAT; in dri_fill_st_visual()329 stvis->color_format = PIPE_FORMAT_B10G10R10A2_UNORM; in dri_fill_st_visual()331 stvis->color_format = PIPE_FORMAT_B10G10R10X2_UNORM; in dri_fill_st_visual()338 stvis->color_format = PIPE_FORMAT_R10G10B10A2_UNORM; in dri_fill_st_visual()340 stvis->color_format = PIPE_FORMAT_R10G10B10X2_UNORM; in dri_fill_st_visual()347 stvis->color_format = mode->sRGBCapable ? in dri_fill_st_visual()351 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()
258 if (drawable->stvis.samples > 1) { in drisw_swap_buffers()303 if (drawable->stvis.samples > 1) { in drisw_flush_frontbuffer()391 if (drawable->stvis.samples > 1) { in drisw_allocate_textures()394 templ.nr_samples = drawable->stvis.samples; in drisw_allocate_textures()395 templ.nr_storage_samples = drawable->stvis.samples; in drisw_allocate_textures()
42 struct st_visual stvis; member
145 dri_fill_st_visual(struct st_visual *stvis,
459 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()583 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()594 templ.nr_samples = drawable->stvis.samples; in dri2_allocate_textures()595 templ.nr_storage_samples = drawable->stvis.samples; in dri2_allocate_textures()645 if (drawable->stvis.samples > 1) { in dri2_allocate_textures()646 templ.nr_samples = drawable->stvis.samples; in dri2_allocate_textures()647 templ.nr_storage_samples = drawable->stvis.samples; in dri2_allocate_textures()712 if (drawable->stvis.samples > 1) { in dri2_flush_frontbuffer()2108 if (drawable->stvis.samples > 1) in dri2_set_damage_region()
44 struct st_visual stvis; member150 stwfb->stvis.samples <= 1) { in stw_st_framebuffer_validate_locked()164 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()184 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()190 format = stwfb->stvis.depth_stencil_format; in stw_st_framebuffer_validate_locked()201 if (bind != PIPE_BIND_DEPTH_STENCIL && stwfb->stvis.samples > 1) { in stw_st_framebuffer_validate_locked()204 stwfb->stvis.samples; in stw_st_framebuffer_validate_locked()232 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()279 stwfb->stvis.samples > 1 ? stwfb->msaa_textures in stw_st_framebuffer_validate()314 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()
863 v->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in XMesaCreateVisual()865 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in XMesaCreateVisual()867 v->stvis.buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in XMesaCreateVisual()869 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in XMesaCreateVisual()872 v->stvis.color_format = choose_pixel_format(v); in XMesaCreateVisual()876 v->stvis.color_format, in XMesaCreateVisual()880 v->stvis.color_format = PIPE_FORMAT_NONE; in XMesaCreateVisual()882 if (v->stvis.color_format == PIPE_FORMAT_NONE) { in XMesaCreateVisual()888 v->stvis.depth_stencil_format = in XMesaCreateVisual()892 v->stvis.accum_format = (accum_red_size + in XMesaCreateVisual()[all …]
297 struct st_visual stvis; member
101 base.Samples = stw_config->stvis.samples; in wgl_add_config()