History log of /external/mesa3d/src/gallium/drivers/i915/i915_clear.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e2c08e824b9698f911fb6c20da43ce7476de0b3f 10-Jun-2012 Michael Karcher <freedesktop-bugzilla@mkarcher.dialup.fu-berlin.de> i915g: Fix depth/stencil glClear

This patch fixes a copy/paste error and masking of depth/stencil (stencil
is in the top 8 bits), and makes glean/readPixSanity happy.

Both the stencil and the depth buffer piglit test also pass if
glClear(DEPTH | STENCIL) is executed instead of
glClear(DEPTH)/glClear(STENCIL).

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Christopher Egert <cme3000@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.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_clear.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_clear.c
a13eed4b826d0bb5dfcb5e63651987a232df8a06 11-Oct-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Remove duplicated comment.
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
530728fb60fc4dd2aa1a2b6eb5de39ec9b17ea35 25-Sep-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: handle seperate stencil clear

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
ce775dc1b6601bb7272054b87fcb574c19265c63 25-Sep-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: actually try to clear 16bit depth bufs

... with the right value.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
661b7ef9a89b8f5a10cb8ca8a23365bce1f1cbc5 25-Sep-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: hw can't fastclear both depth and color when bbp doesn't match

Do it in two passes in that case.

v2: Don't forget to handle stencil clears.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
0a6131b15c874c076781a8dc347b4e51be15801a 25-Sep-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: disable scissor in fast clear

Docs say this is obeyed.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
8dd523b2dfdcda27a0afc449b169f2c26bf73527 25-Sep-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: fixup clear params emission

Docs say that default shader input color input need to be spec
as ARGB8888. And a clear rect prim essentially uses this value
instead of default diffuse. Depth on the other hands is an ieee
32 bit float. Clear stencil is U8.

Completely different are the clear values for zone init prims.
These are speced in the actual output pixel layout (and need
to be repeated for 16 bit formats).

Clear up the confusion by adding some comments.

v2: Retain the target swizzling support added by Stephan Marchesin.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
6dd284f7c8fac22f64c13fdf9909094f5ec59086 16-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: move clear paths from rgba to a pointer to a color union (v2)

This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values.

Notes:
1. the value is opaque.
2. only when the value is used should it be interpretered according to
the surface format it is going to be used with.
3. float clears on integer buffers and vice-versa are undefined.

v2: fixed up vega and graw, dropped hunks that shouldn't have been in
patch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
b97889f543085f516fc1c821c621790399d57fa5 24-Aug-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Improve the flush heuristic by using the previous frame's number of vertices.
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
e53b41f2632af26c79c4f7ed5b0fdb86a1feb602 06-Jul-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Improve flushing using heuristics.
/external/mesa3d/src/gallium/drivers/i915/i915_clear.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_clear.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_clear.c
fb3b712b84528b192834d3ba3df557b25bbe6e6e 06-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: implement surface clear functions using hw-clear

Tested by temporarily using util_clear even when not using the blitter.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_clear.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_clear.c
4bc7b14224bfb9c5efe37e1505345fb90ba69d9e 29-May-2010 Roland Scheidegger <sroland@vmware.com> i915g: adapt to clear interface changes

should in theory support separate depth/stencil clears (untested).
Also fix some format omissions?
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
ac2a665fd75249e02838ec63ef4a5b3db093ceb1 20-Jan-2010 Vinson Lee <vlee@vmware.com> i915g: Remove unnecessary headers.
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c
f00da2a3ff59c1a7104ac25a1c6eba5a6050ad68 30-Sep-2009 Jakob Bornecrantz <jakob@vmware.com> i915g: Drop the simple sufix

None of the other driver have a silly sufix,
so just drop it. Nothing new added in this commit
or any other commit but this is better marketing.
/external/mesa3d/src/gallium/drivers/i915/i915_clear.c