Lines Matching refs:visual

114 				format = buffer->visual->color_format;  in hgl_st_framebuffer_validate_textures()
118 format = buffer->visual->depth_stencil_format; in hgl_st_framebuffer_validate_textures()
239 buffer->visual = context->stVisual; in hgl_create_st_framebuffer()
250 buffer->stfbi->visual = context->stVisual; in hgl_create_st_framebuffer()
301 struct st_visual* visual; in hgl_create_st_visual() local
305 visual = CALLOC_STRUCT(st_visual); in hgl_create_st_visual()
306 assert(visual); in hgl_create_st_visual()
311 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual()
313 visual->depth_stencil_format = PIPE_FORMAT_NONE; in hgl_create_st_visual()
316 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual()
319 visual->depth_stencil_format = (options & BGL_DEPTH) in hgl_create_st_visual()
323 visual->accum_format = (options & BGL_ACCUM) in hgl_create_st_visual()
326 visual->buffer_mask |= ST_ATTACHMENT_FRONT_LEFT_MASK; in hgl_create_st_visual()
327 visual->render_buffer = ST_ATTACHMENT_FRONT_LEFT; in hgl_create_st_visual()
330 visual->buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in hgl_create_st_visual()
331 visual->render_buffer = ST_ATTACHMENT_BACK_LEFT; in hgl_create_st_visual()
336 visual->buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in hgl_create_st_visual()
338 visual->buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in hgl_create_st_visual()
343 visual->buffer_mask |= ST_ATTACHMENT_DEPTH_STENCIL_MASK; in hgl_create_st_visual()
346 util_format_name(visual->color_format)); in hgl_create_st_visual()
348 return visual; in hgl_create_st_visual()
353 hgl_destroy_st_visual(struct st_visual* visual) in hgl_destroy_st_visual() argument
357 FREE(visual); in hgl_destroy_st_visual()