Home
last modified time | relevance | path

Searched refs:hw_clear (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c58 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in emit_fb_vgpu9()
143 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in svga_reemit_framebuffer_bindings_vgpu9()
192 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in emit_fb_vgpu10()
250 if ((num_color != svga->state.hw_clear.num_rendertargets) || in emit_fb_vgpu10()
251 (dsv != svga->state.hw_clear.dsv) || in emit_fb_vgpu10()
252 memcmp(rtv, svga->state.hw_clear.rtv, num_color * sizeof(rtv[0]))) { in emit_fb_vgpu10()
261 svga->state.hw_clear.num_rendertargets = last_rtv + 1; in emit_fb_vgpu10()
262 svga->state.hw_clear.dsv = dsv; in emit_fb_vgpu10()
263 memcpy(svga->state.hw_clear.rtv, rtv, num_color * sizeof(rtv[0])); in emit_fb_vgpu10()
338 struct svga_hw_clear_state *hw = &svga->state.hw_clear; in svga_rebind_framebuffer_bindings()
[all …]
Dsvga_context.c243 memset(&svga->state.hw_clear, 0xcd, sizeof(svga->state.hw_clear)); in svga_context_create()
244 memset(&svga->state.hw_clear.framebuffer, 0x0, in svga_context_create()
245 sizeof(svga->state.hw_clear.framebuffer)); in svga_context_create()
246 svga->state.hw_clear.num_rendertargets = 0; in svga_context_create()
247 svga->state.hw_clear.dsv = NULL; in svga_context_create()
Dsvga_surface.c698 struct svga_hw_clear_state *hw = &svga->state.hw_clear; in svga_mark_surfaces_dirty()
817 for (i = 0; i < svga->state.hw_clear.num_rendertargets; i++) { in svga_propagate_rendertargets()
818 struct pipe_surface *s = svga->state.hw_clear.rtv[i]; in svga_propagate_rendertargets()
824 if (svga->state.hw_clear.dsv) { in svga_propagate_rendertargets()
825 svga_propagate_surface(svga, svga->state.hw_clear.dsv, FALSE); in svga_propagate_rendertargets()
Dsvga_pipe_clear.c164 !svga_rects_equal(&rect, &svga->state.hw_clear.viewport)) { in try_clear()
221 ret = SVGA3D_SetViewport(svga->swc, &svga->state.hw_clear.viewport); in try_clear()
Dsvga_pipe_misc.c89 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in svga_cleanup_framebuffer()
Dsvga_state_gs.c119 key->gs.need_prescale = svga->state.hw_clear.prescale.enabled; in make_gs_key()
Dsvga_state_constants.c138 memcpy(*dest, svga->state.hw_clear.prescale.scale, 4 * sizeof(float)); in svga_get_prescale_constants()
141 memcpy(*dest, svga->state.hw_clear.prescale.translate, 4 * sizeof(float)); in svga_get_prescale_constants()
Dsvga_state_vs.c176 key->vs.need_prescale = svga->state.hw_clear.prescale.enabled && in make_vs_key()
Dsvga_context.h509 struct svga_hw_clear_state hw_clear; member