Lines Matching refs:visual
273 st_visual_have_buffers(stfb->iface->visual, 1 << statt))
300 format = stfb->iface->visual->depth_stencil_format;
304 format = stfb->iface->visual->accum_format;
308 format = stfb->iface->visual->color_format;
316 samples = stfb->iface->visual->samples;
338 * Intialize a struct gl_config from a visual.
341 st_visual_to_context_mode(const struct st_visual *visual,
346 if (st_visual_have_buffers(visual, ST_ATTACHMENT_BACK_LEFT_MASK))
348 if (st_visual_have_buffers(visual,
352 if (visual->color_format != PIPE_FORMAT_NONE) {
356 util_format_get_component_bits(visual->color_format,
359 util_format_get_component_bits(visual->color_format,
362 util_format_get_component_bits(visual->color_format,
365 util_format_get_component_bits(visual->color_format,
372 if (visual->depth_stencil_format != PIPE_FORMAT_NONE) {
374 util_format_get_component_bits(visual->depth_stencil_format,
377 util_format_get_component_bits(visual->depth_stencil_format,
384 if (visual->accum_format != PIPE_FORMAT_NONE) {
388 util_format_get_component_bits(visual->accum_format,
391 util_format_get_component_bits(visual->accum_format,
394 util_format_get_component_bits(visual->accum_format,
397 util_format_get_component_bits(visual->accum_format,
401 if (visual->samples) {
403 mode->samples = visual->samples;
424 st_visual_to_context_mode(stfbi->visual, &mode);
639 st_visual_to_context_mode(&attribs->visual, &mode);