Home
last modified time | relevance | path

Searched refs:stvis (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_screen.c251 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 …]
Ddri_drawable.c133 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()
Ddri_drawable.h46 struct st_visual stvis; member
Ddri_screen.h117 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_screen.c251 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 …]
Ddri_drawable.c133 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/
Ddri_screen.c251 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 …]
Ddri_drawable.c133 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/
Dstw_st.c42 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()
Dstw_pixelformat.c192 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()
Dstw_pixelformat.h45 struct st_visual stvis; member
Dstw_ext_pixelformat.c151 if (util_format_is_float(pfi->stvis.color_format)) { in stw_query_attrib()
239 *pvalue = pfi->stvis.samples; in stw_query_attrib()
Dstw_context.c188 attribs.visual = pfi->stvis; in stw_create_context_attribs()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_st.c40 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()
Dxm_api.c792 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 …]
Dxm_api.h295 struct st_visual stvis; member
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d.h72 struct st_visual stvis; member
88 struct st_visual stvis; member
Degl_g3d_api.c168 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()
Degl_g3d.c354 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()
Degl_g3d_st.c143 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()