History log of /external/mesa3d/src/mesa/swrast/s_clear.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c4b5f0cadb18bad22b4c28424723a09832209c6f 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: rewrite color buffer clearing to use Map/UnmapRenderbuffer()

v2: use _mesa_pack_colormask() helper and fix incorrect masking arithmetic

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/swrast/s_clear.c
fd104a84591ae854c5d6adc81e2dc31ef6ab9e8a 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: do depth/stencil clearing with Map/UnmapRenderbuffer()

Another step toward getting rid of the renderbuffer PutRow/etc functions.

v2: fix assorted depth/stencil clear bugs found by Eric

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/swrast/s_clear.c
22e806f57013b2c116b5bfab228e0f28e25198f4 10-Dec-2011 Brian Paul <brianp@vmware.com> swrast: add missing state validation calls for Blit, Clear
/external/mesa3d/src/mesa/swrast/s_clear.c
122c6768e3d4c1d1b57203eca70569f9301baab5 03-Dec-2011 Brian Paul <brianp@vmware.com> mesa: rewrite accum buffer support

Implemented in terms of renderbuffer mapping/unmapping and format
packing/unpacking functions.

The swrast and state tracker code for implementing accumulation are
unused and will be removed in the next commit.

v2: don't use memcpy() in _mesa_clear_accum_buffer()
v3: don't allocate MAX_WIDTH arrays, be more careful with mapping flags

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_clear.c
81a86aea4f0990a1b8795f9e00e7a6c4ba368281 14-Sep-2011 Dave Airlie <airlied@redhat.com> mesa/colormac: introduce inline helper for 4 unclamped float to ubyte.

This introduces an UNCLAMPED_FLOAT_TO_UBYTE x 4 inline function, as
suggested by Brian. It uses it in a few places I noticed from previous
color changes, and also some core mesa places. I haven't updated other places
yet.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/swrast/s_clear.c
093dc9e548537e6c77e33064a584f849ad90dfa5 12-Sep-2011 Dave Airlie <airlied@redhat.com> mesa: introduce a clear color union to be used for int/unsigned buffers

This introduces a new gl_color_union union and moves the current
ClearColorUnclamped to use it, it removes current ClearColor completely and
renames CCU to CC, then all drivers are modified to expected unclamped floats instead.

also fixes st to use translated color in one place it wasn't.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/swrast/s_clear.c
7f9c17aaa82f5a8a1d5f077eba4d5889d3c3b298 07-Jun-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Don't try to clear a NULL renderbuffer

In an ES2 context (or if GL_ARB_ES2_compatibility) is supported, the
framebuffer can be complete with some attachments be missing. In this
case the _ColorDrawBuffers pointer will be NULL.

Fixes the crash in piglit test fbo-missing-attachment-clear.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37739
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>

NOTE: This is a candidate for the stable branches.
/external/mesa3d/src/mesa/swrast/s_clear.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/swrast/s_clear.c
5f1699e9d5e8e5e67a560482f73e559304a8ae43 29-Mar-2010 Vinson Lee <vlee@vmware.com> swrast: Remove unnecessary header.
/external/mesa3d/src/mesa/swrast/s_clear.c
9e2d30e0b8242d1e4afcf05513bd3d7e0de504a2 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> swrast: Remove support for Clear into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_clear.c
b30898f4ab533085d97a33638ad0a1cf9ddb1d67 14-Feb-2010 Karl Schultz <karl.w.schultz@gmail.com> mesa: Fix compiler warnings

Add explicit casts, fix constant types, fix variable types.
Fixes about 340 warnings in MSFT Visual Studio.
/external/mesa3d/src/mesa/swrast/s_clear.c
ab26682eb4db0dbe160b13f1e320ec9164c3afc5 31-Dec-2009 Brian Paul <brianp@vmware.com> swrast: add check for conditional rendering
/external/mesa3d/src/mesa/swrast/s_clear.c
fd5511d27fc44096117c47ab503fb5b47f993061 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement per-buffer color masking

This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.

The ctx->Color.ColorMask field is now a 2-D array. Until drivers are
modified to support per-buffer color masking, they can just look at
the 0th color mask.

The new _mesa_ColorMaskIndexed() function will be called by
glColorMaskIndexedEXT() or glColorMaski().
/external/mesa3d/src/mesa/swrast/s_clear.c
45e76d2665b38ba3787548310efc59e969124c01 09-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove a bunch of gl_renderbuffer fields

_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
/external/mesa3d/src/mesa/swrast/s_clear.c
4de5abee3938ee1d186629a70b04a98a74f50c97 07-Mar-2009 Brian Paul <brianp@vmware.com> swrast: remove old comment
/external/mesa3d/src/mesa/swrast/s_clear.c
2ee5ba0411de9c6cb17326a1f4a6c316295dae69 07-Mar-2009 Brian Paul <brianp@vmware.com> swrast: rename s_buffers.c -> s_clear.c
/external/mesa3d/src/mesa/swrast/s_clear.c