/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_screen.c | 251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument 254 memset(stvis, 0, sizeof(*stvis)); in dri_fill_st_visual() 259 stvis->samples = mode->samples; in dri_fill_st_visual() 263 stvis->color_format = PIPE_FORMAT_B8G8R8A8_UNORM; in dri_fill_st_visual() 265 stvis->color_format = PIPE_FORMAT_B8G8R8X8_UNORM; in dri_fill_st_visual() 267 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual() 273 stvis->depth_stencil_format = PIPE_FORMAT_NONE; in dri_fill_st_visual() 276 stvis->depth_stencil_format = PIPE_FORMAT_Z16_UNORM; in dri_fill_st_visual() 280 stvis->depth_stencil_format = (screen->d_depth_bits_last) ? in dri_fill_st_visual() 284 stvis->depth_stencil_format = (screen->sd_depth_bits_last) ? in dri_fill_st_visual() [all …]
|
D | dri_drawable.c | 133 dri_fill_st_visual(&drawable->stvis, screen, visual); in dri_create_buffer() 136 drawable->base.visual = &drawable->stvis; in dri_create_buffer() 270 *format = drawable->stvis.color_format; in dri_drawable_get_format() 274 *format = drawable->stvis.depth_stencil_format; in dri_drawable_get_format()
|
D | dri_drawable.h | 46 struct st_visual stvis; member
|
D | dri_screen.h | 117 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | dri_screen.c | 251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument 254 memset(stvis, 0, sizeof(*stvis)); in dri_fill_st_visual() 259 stvis->samples = mode->samples; in dri_fill_st_visual() 263 stvis->color_format = PIPE_FORMAT_B8G8R8A8_UNORM; in dri_fill_st_visual() 265 stvis->color_format = PIPE_FORMAT_B8G8R8X8_UNORM; in dri_fill_st_visual() 267 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual() 273 stvis->depth_stencil_format = PIPE_FORMAT_NONE; in dri_fill_st_visual() 276 stvis->depth_stencil_format = PIPE_FORMAT_Z16_UNORM; in dri_fill_st_visual() 280 stvis->depth_stencil_format = (screen->d_depth_bits_last) ? in dri_fill_st_visual() 284 stvis->depth_stencil_format = (screen->sd_depth_bits_last) ? in dri_fill_st_visual() [all …]
|
D | dri_drawable.c | 133 dri_fill_st_visual(&drawable->stvis, screen, visual); in dri_create_buffer() 136 drawable->base.visual = &drawable->stvis; in dri_create_buffer() 270 *format = drawable->stvis.color_format; in dri_drawable_get_format() 274 *format = drawable->stvis.depth_stencil_format; in dri_drawable_get_format()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri_screen.c | 251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual() argument 254 memset(stvis, 0, sizeof(*stvis)); in dri_fill_st_visual() 259 stvis->samples = mode->samples; in dri_fill_st_visual() 263 stvis->color_format = PIPE_FORMAT_B8G8R8A8_UNORM; in dri_fill_st_visual() 265 stvis->color_format = PIPE_FORMAT_B8G8R8X8_UNORM; in dri_fill_st_visual() 267 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual() 273 stvis->depth_stencil_format = PIPE_FORMAT_NONE; in dri_fill_st_visual() 276 stvis->depth_stencil_format = PIPE_FORMAT_Z16_UNORM; in dri_fill_st_visual() 280 stvis->depth_stencil_format = (screen->d_depth_bits_last) ? in dri_fill_st_visual() 284 stvis->depth_stencil_format = (screen->sd_depth_bits_last) ? in dri_fill_st_visual() [all …]
|
D | dri_drawable.c | 133 dri_fill_st_visual(&drawable->stvis, screen, visual); in dri_create_buffer() 136 drawable->base.visual = &drawable->stvis; in dri_create_buffer() 270 *format = drawable->stvis.color_format; in dri_drawable_get_format() 274 *format = drawable->stvis.depth_stencil_format; in dri_drawable_get_format()
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_st.c | 42 struct st_visual stvis; member 96 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked() 101 format = stwfb->stvis.depth_stencil_format; in stw_st_framebuffer_validate_locked() 197 stwfb->stvis = fb->pfi->stvis; in stw_st_create_framebuffer() 199 stwfb->base.visual = &stwfb->stvis; in stw_st_create_framebuffer()
|
D | stw_pixelformat.c | 192 pfi->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in stw_pixelformat_add() 194 pfi->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in stw_pixelformat_add() 196 pfi->stvis.color_format = color->format; in stw_pixelformat_add() 197 pfi->stvis.depth_stencil_format = depth->format; in stw_pixelformat_add() 199 pfi->stvis.accum_format = (accum) ? in stw_pixelformat_add() 202 pfi->stvis.samples = samples; in stw_pixelformat_add() 203 pfi->stvis.render_buffer = ST_ATTACHMENT_INVALID; in stw_pixelformat_add()
|
D | stw_pixelformat.h | 45 struct st_visual stvis; member
|
D | stw_ext_pixelformat.c | 151 if (util_format_is_float(pfi->stvis.color_format)) { in stw_query_attrib() 239 *pvalue = pfi->stvis.samples; in stw_query_attrib()
|
D | stw_context.c | 188 attribs.visual = pfi->stvis; in stw_create_context_attribs()
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_st.c | 40 struct st_visual stvis; member 153 format = xstfb->stvis.color_format; in xmesa_st_framebuffer_validate_textures() 158 format = xstfb->stvis.depth_stencil_format; in xmesa_st_framebuffer_validate_textures() 291 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer() 297 stfbi->visual = &xstfb->stvis; in xmesa_create_st_framebuffer()
|
D | xm_api.c | 792 v->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK; in XMesaCreateVisual() 794 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_LEFT_MASK; in XMesaCreateVisual() 796 v->stvis.buffer_mask |= ST_ATTACHMENT_FRONT_RIGHT_MASK; in XMesaCreateVisual() 798 v->stvis.buffer_mask |= ST_ATTACHMENT_BACK_RIGHT_MASK; in XMesaCreateVisual() 801 v->stvis.color_format = choose_pixel_format(v); in XMesaCreateVisual() 802 if (v->stvis.color_format == PIPE_FORMAT_NONE) { in XMesaCreateVisual() 808 v->stvis.depth_stencil_format = in XMesaCreateVisual() 811 v->stvis.accum_format = (accum_red_size + in XMesaCreateVisual() 815 v->stvis.samples = num_samples; in XMesaCreateVisual() 816 v->stvis.render_buffer = ST_ATTACHMENT_INVALID; in XMesaCreateVisual() [all …]
|
D | xm_api.h | 295 struct st_visual stvis; member
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d.h | 72 struct st_visual stvis; member 88 struct st_visual stvis; member
|
D | egl_g3d_api.c | 168 stattribs.visual = gconf->stvis; in egl_g3d_create_context() 295 gsurf->stvis = gconf->stvis; in egl_g3d_create_surface() 297 gconf->stvis.buffer_mask & ST_ATTACHMENT_FRONT_LEFT_MASK) in egl_g3d_create_surface() 298 gsurf->stvis.render_buffer = ST_ATTACHMENT_FRONT_LEFT; in egl_g3d_create_surface() 363 gsurf->stvis = gconf->stvis; in create_pbuffer_surface() 448 &gsurf->stvis.render_buffer, 1, &ptex)) { in egl_g3d_create_pbuffer_from_client_buffer() 514 (gdraw->stvis.render_buffer == ST_ATTACHMENT_FRONT_LEFT) ? in egl_g3d_make_current() 568 if (gsurf->stvis.render_buffer == ST_ATTACHMENT_FRONT_LEFT) in swap_buffers()
|
D | egl_g3d.c | 354 gconf->stvis.buffer_mask = buffer_mask; in egl_g3d_init_config() 355 gconf->stvis.color_format = nconf->color_format; in egl_g3d_init_config() 356 gconf->stvis.depth_stencil_format = depth_stencil_format; in egl_g3d_init_config() 357 gconf->stvis.accum_format = PIPE_FORMAT_NONE; in egl_g3d_init_config() 358 gconf->stvis.samples = 0; in egl_g3d_init_config() 361 gconf->stvis.render_buffer = (buffer_mask & ST_ATTACHMENT_BACK_LEFT_MASK) ? in egl_g3d_init_config()
|
D | egl_g3d_st.c | 143 templ.format = gsurf->stvis.color_format; in pbuffer_allocate_pbuffer_texture() 164 if (gsurf->stvis.render_buffer != statts[i]) in egl_g3d_st_framebuffer_validate_pbuffer() 298 stfbi->visual = &gsurf->stvis; in egl_g3d_create_st_framebuffer()
|