Home
last modified time | relevance | path

Searched refs:rt_format (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_clear.c113 uint32_t rt_format; in nv30_clear_render_target() local
115 rt_format = nv30_format(pipe->screen, ps->format)->hw; in nv30_clear_render_target()
117 rt_format |= NV30_3D_RT_FORMAT_ZETA_Z24S8; in nv30_clear_render_target()
119 rt_format |= NV30_3D_RT_FORMAT_ZETA_Z16; in nv30_clear_render_target()
122 rt_format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; in nv30_clear_render_target()
123 rt_format |= util_logbase2(sf->width) << 16; in nv30_clear_render_target()
124 rt_format |= util_logbase2(sf->height) << 24; in nv30_clear_render_target()
126 rt_format |= NV30_3D_RT_FORMAT_TYPE_LINEAR; in nv30_clear_render_target()
140 PUSH_DATA (push, rt_format); in nv30_clear_render_target()
173 uint32_t rt_format, mode = 0; in nv30_clear_depth_stencil() local
[all …]
Dnv30_state_validate.c42 uint32_t rt_format; in nv30_validate_fb() local
52 rt_format = 0; in nv30_validate_fb()
55 rt_format |= nv30_format(pscreen, fb->cbufs[0]->format)->hw; in nv30_validate_fb()
56 rt_format |= mt->ms_mode; in nv30_validate_fb()
58 rt_format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; in nv30_validate_fb()
60 rt_format |= NV30_3D_RT_FORMAT_TYPE_LINEAR; in nv30_validate_fb()
63 rt_format |= NV30_3D_RT_FORMAT_COLOR_A8R8G8B8; in nv30_validate_fb()
65 rt_format |= NV30_3D_RT_FORMAT_COLOR_R5G6B5; in nv30_validate_fb()
69 rt_format |= nv30_format(pscreen, fb->zsbuf->format)->hw; in nv30_validate_fb()
71 rt_format |= NV30_3D_RT_FORMAT_TYPE_SWIZZLED; in nv30_validate_fb()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_fb.c83 unsigned rt_format = NV20_3D_RT_FORMAT_TYPE_LINEAR; in nv20_emit_framebuffer() local
97 rt_format |= get_rt_format(s->format); in nv20_emit_framebuffer()
110 rt_format |= get_rt_format(s->format); in nv20_emit_framebuffer()
120 rt_format |= get_rt_format(MESA_FORMAT_S8_UINT_Z24_UNORM); in nv20_emit_framebuffer()
125 PUSH_DATA (push, rt_format); in nv20_emit_framebuffer()
Dnv04_state_fb.c55 uint32_t rt_format = NV04_CONTEXT_SURFACES_3D_FORMAT_TYPE_PITCH; in nv04_emit_framebuffer() local
69 rt_format |= get_rt_format(s->format); in nv04_emit_framebuffer()
90 PUSH_DATA (push, rt_format); in nv04_emit_framebuffer()
Dnv10_state_fb.c98 unsigned rt_format = NV10_3D_RT_FORMAT_TYPE_LINEAR; in nv10_emit_framebuffer() local
123 rt_format |= get_rt_format(s->format); in nv10_emit_framebuffer()
136 rt_format |= get_rt_format(s->format); in nv10_emit_framebuffer()
150 PUSH_DATA (push, rt_format); in nv10_emit_framebuffer()
/external/mesa3d/src/gallium/state_trackers/va/
Dconfig.c191 config->rt_format = attrib_list[i].value; in vlVaCreateConfig()
200 if (!config->rt_format) in vlVaCreateConfig()
201 config->rt_format = VA_RT_FORMAT_YUV420 | VA_RT_FORMAT_RGB32; in vlVaCreateConfig()
256 config->rt_format = attrib_list[i].value; in vlVaCreateConfig()
265 if (!config->rt_format) in vlVaCreateConfig()
266 config->rt_format = VA_RT_FORMAT_YUV420; in vlVaCreateConfig()
336 attrib_list[0].value = config->rt_format; in vlVaQueryConfigAttributes()
Dsurface.c425 if (config->rt_format & VA_RT_FORMAT_RGB32) { in vlVaQuerySurfaceAttributes()
434 if (config->rt_format & VA_RT_FORMAT_YUV420) { in vlVaQuerySurfaceAttributes()
Dva_private.h271 unsigned int rt_format; member