summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_state_static.c
AgeCommit message (Collapse)Author
2011-03-15i915g: fix braino in the static state reworkDaniel Vetter
For mip-map level rendering, both draw offset and size tend to change ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-15i915g: implement early zDaniel Vetter
v2: Make it actually work. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-15i915g: split up static stateDaniel Vetter
Early Z support is set in the DST_VARS command. Hence split up static state emission to avoid reissuing to much on fragment shader changes, especially the costly dst buffer relocations. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-12i915g: don't recalculate fb dimensionDaniel Vetter
The statetracker should do this for us correctly. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: implement hw clearDaniel Vetter
Benefits: - spares us a relocation. - needed for zone rendering (if that ever happens). - just awesome. v2: Rename the debug option. Completely disabling the blitter is required for Y tiling to work, so this option will cover other code paths in the future. v3: Implement suggestions by Jakob Bornecrantz. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01i915g: split up hw state emission into small atomsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: implement cache flushingDaniel Vetter
With an extremely dumb strategy. But it's the same i915c employs. Also improve the hw_atom code slightly by statically specifying the required batch space. For extremely variably stuff (shaders, constants) it would probably be better to add a new parameter to the hw_atom->validate function. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: cleanup static state calculation, part 2Daniel Vetter
Now also for the DRAW_RECT command Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: cleanup static state calculation, part 1Daniel Vetter
Move it to i915_state_static.c This way i915_emit_state.c only emits state and doesn't (re)calculate it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-07-04i915g: Remove unnecessary header.Vinson Lee
2010-07-04i915g: Move static state to its own fileJakob Bornecrantz