• Home
  • Raw
  • Download

Lines Matching full:visual

117 				format = buffer->visual->color_format;  in hgl_st_framebuffer_validate_textures()
121 format = buffer->visual->depth_stencil_format; in hgl_st_framebuffer_validate_textures()
242 buffer->visual = context->stVisual; in hgl_create_st_framebuffer()
253 buffer->stfbi->visual = context->stVisual; in hgl_create_st_framebuffer()
305 struct st_visual* visual; in hgl_create_st_visual() local
309 visual = CALLOC_STRUCT(st_visual); in hgl_create_st_visual()
310 assert(visual); in hgl_create_st_visual()
315 visual->color_format = PIPE_FORMAT_B5G6R5_UNORM; in hgl_create_st_visual()
317 visual->depth_stencil_format = PIPE_FORMAT_NONE; in hgl_create_st_visual()
320 visual->color_format = (options & BGL_ALPHA) in hgl_create_st_visual()
323 visual->depth_stencil_format = (options & BGL_DEPTH) in hgl_create_st_visual()
327 visual->accum_format = (options & BGL_ACCUM) in hgl_create_st_visual()
330 visual->buffer_mask |= ST_ATTACHMENT_FRONT_LEFT_MASK; in hgl_create_st_visual()
331 visual->render_buffer = ST_ATTACHMENT_FRONT_LEFT; in hgl_create_st_visual()
334 visual->buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in hgl_create_st_visual()
335 visual->render_buffer = ST_ATTACHMENT_BACK_LEFT; in hgl_create_st_visual()
340 visual->buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in hgl_create_st_visual()
342 visual->buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in hgl_create_st_visual()
347 visual->buffer_mask |= ST_ATTACHMENT_DEPTH_STENCIL_MASK; in hgl_create_st_visual()
349 TRACE("%s: Visual color format: %s\n", __func__, in hgl_create_st_visual()
350 util_format_name(visual->color_format)); in hgl_create_st_visual()
352 return visual; in hgl_create_st_visual()
357 hgl_destroy_st_visual(struct st_visual* visual) in hgl_destroy_st_visual() argument
361 FREE(visual); in hgl_destroy_st_visual()