Lines Matching full:visual
113 if (((1 << i) & buffer->visual->buffer_mask) && buffer->textures[i] == NULL) { in hgl_st_framebuffer_validate_textures()
119 format = buffer->visual->color_format; in hgl_st_framebuffer_validate_textures()
123 format = buffer->visual->depth_stencil_format; in hgl_st_framebuffer_validate_textures()
239 buffer->visual = context->stVisual; in hgl_create_st_framebuffer()
251 buffer->stfbi->visual = context->stVisual; in hgl_create_st_framebuffer()
287 struct st_visual* visual; in hgl_create_st_visual() local
291 visual = CALLOC_STRUCT(st_visual); in hgl_create_st_visual()
292 assert(visual); in hgl_create_st_visual()
297 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual()
299 visual->depth_stencil_format = PIPE_FORMAT_NONE; in hgl_create_st_visual()
302 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual()
305 visual->depth_stencil_format = (options & BGL_DEPTH) in hgl_create_st_visual()
309 visual->accum_format = (options & BGL_ACCUM) in hgl_create_st_visual()
312 visual->buffer_mask |= ST_ATTACHMENT_FRONT_LEFT_MASK; in hgl_create_st_visual()
316 visual->buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in hgl_create_st_visual()
321 visual->buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in hgl_create_st_visual()
323 visual->buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in hgl_create_st_visual()
328 visual->buffer_mask |= ST_ATTACHMENT_DEPTH_STENCIL_MASK; in hgl_create_st_visual()
330 TRACE("%s: Visual color format: %s\n", __func__, in hgl_create_st_visual()
331 util_format_name(visual->color_format)); in hgl_create_st_visual()
333 return visual; in hgl_create_st_visual()
338 hgl_destroy_st_visual(struct st_visual* visual) in hgl_destroy_st_visual() argument
342 FREE(visual); in hgl_destroy_st_visual()