History log of /external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45fc069600ddbfe07a0a0cd5280161a8c7c55dd0 26-Jun-2012 Stéphane Marchesin <marcheu@chromium.org> i915g: Implement sRGB textures

Since we don't have them in hw we emulate them in the shader. Although not
recommended by the spec it is legit.

As a side effect we also get GL 2.1. I think this is as far as we can take
the i915.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
23d4a0569dcb70bdfd748bf7e1f5102289bfad6b 16-Jan-2012 Stéphane Marchesin <marcheu@chromium.org> i915g: Fix the blending for the A8 destination buffer case.

The i915 GPU can't do A8 dst, so we abuse GREEN8 buffers for that
purpose. However, things get hairy as we start to do blending,
because then GL_DST_*_ALPHA should be replaced with GL_DST_*_COLOR.
This is what we do here.

Fixes piglt fbo-alpha.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
1981042341c6942bbd4d61508a47226c789bc25b 16-Dec-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Turn an assert into a debug message, print more debug info for missing depth swz.

Also fix indentation a bit.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
8265bb7fb87184104e3c97dbf480170fb69ff8ad 23-Nov-2011 Vasily Khoruzhick <anarsoul@gmail.com> i915g: don't set alpha to 1 for RGBX and BGRX

This patch fixes regression introduced in
1f3c5eae5c4be582e50c2d4d7950424d86059c45

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
1f3c5eae5c4be582e50c2d4d7950424d86059c45 22-Nov-2011 Vasily Khoruzhick <anarsoul@gmail.com> i915g: implement RGBX and BGRX render targets

They're not supported by hw directly, but it's easy to emulate
them with a shader swizzling fixup.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
[danvet: The important thing is to write a 1 to the unused alpha
channel, the ddx is relying on this for render accel.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
866f9b18c68ede63c00917ec9c3dae3524ca8826 11-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: rename ZS stencil type to UINT (v2)

these are never USCALED, always UINT in reality.

taken from some work by Christoph Bumiller

v2: fixup formatting of table + tabs

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
e125786be8e19a9606afb91cd7e8bc37d035b63f 09-Oct-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Silence warning.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
305bcda4b583641bab5a7bfa6ce4e30a8559a868 26-Sep-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: make fixup swizzle into a real hw state

This way it can be reused in the fastclear path.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
2e481e5fc4c99d353cc5b21dacf1470847a11646 28-Jun-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Support PIPE_FORMAT_B10G10R10A2_UNORM.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
465183c6ae594ad399f72ade027e49adcb1f763b 23-Jun-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Support more texture and render target formats.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
d04348aaf69549c14b68e77d4003e4e3499e7cce 15-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: fix braino in the static state rework

For mip-map level rendering, both draw offset and size tend to change ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
11ee41fe7f72f7136b531f0c51f820e90a610a79 14-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: implement early z

v2: Make it actually work.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
288504fac7b659da6bd45f22ccfb39d130250f9c 15-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: split up static state

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>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
f6087955888ee089f986c19b576ef574c9e7bd06 12-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: don't recalculate fb dimension

The statetracker should do this for us correctly.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
6358e6371b31671acbfa7c00336673f62ee928c5 10-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: implement hw clear

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>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
179cb587954ff90efa477945297272680c750149 01-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: split up hw state emission into small atoms

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
d42c9433b0a3d9b3a198261d8037ce0d4595452d 25-Feb-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: implement cache flushing

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>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
f58c11af72303a7b8ec480b4f216e4a17882e0f4 26-Feb-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: cleanup static state calculation, part 2

Now also for the DRAW_RECT command

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
beaf039f972490bc62ec87401441d4b754ae86b0 26-Feb-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: cleanup static state calculation, part 1

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>
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
a3b0aaf26fd55a40bef08312df8b9ac9f1d9d338 04-Jul-2010 Vinson Lee <vlee@vmware.com> i915g: Remove unnecessary header.
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c
d64561472b8a7fa20512a6586d724c7c7b2867b3 04-Jul-2010 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Move static state to its own file
/external/mesa3d/src/gallium/drivers/i915/i915_state_static.c