History log of /external/mesa3d/src/mesa/swrast/s_stencil.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bfcdb843830bba0190e00e35e3c5c18c4bdb5de1 21-Feb-2015 Matt Turner <mattst88@gmail.com> mesa: Use assert() instead of ASSERT wrapper.

Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.c
a487ef87fe4aa8c4b8e5c0d888bfb18727c8e570 08-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Fix MESA_FORMAT_Z24_UNORM_S8_UINT vs. X8_UINT mix-up.

In commit eeed49f5f290793870c60b5b635b977a732a1eb4, Mark accidentally
renamed MESA_FORMAT_S8_Z24 to MESA_FORMAT_Z24_UNORM_X8_UINT and
MESA_FORMAT_X8_Z24 to MESA_FORMAT_Z24_UNORM_S8_UINT, reversing their
sense. The commit message was correct, but what sed commands actually
got run didn't match that.

This patch swaps the two enum names, reversing them. This should undo
the damage, but might break things if people have manually fixed a few
instances in the meantime...

Mark's commit also failed to mention renames:
s/MESA_FORMAT_ARGB2101010_UINT\b/MESA_FORMAT_B10G10R10A2_UINT/g
s/MESA_FORMAT_ABGR2101010\b/MESA_FORMAT_R10G10B10A2_UNORM/g
but those seem okay.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
eeed49f5f290793870c60b5b635b977a732a1eb4 27-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Change many Type P MESA_FORMATs to meet naming spec

Conversion of Type P formats as follows (w/related comment fixes):
s/MESA_FORMAT_RGB565\b/MESA_FORMAT_B5G6R5_UNORM/g
s/MESA_FORMAT_RGB565_REV\b/MESA_FORMAT_R5G6B5_UNORM/g
s/MESA_FORMAT_ARGB4444\b/MESA_FORMAT_B4G4R4A4_UNORM/g
s/MESA_FORMAT_ARGB4444_REV\b/MESA_FORMAT_A4R4G4B4_UNORM/g
s/MESA_FORMAT_RGBA5551\b/MESA_FORMAT_A1B5G5R5_UNORM/g
s/MESA_FORMAT_XBGR8888_SNORM\b/MESA_FORMAT_R8G8B8X8_SNORM/g
s/MESA_FORMAT_XBGR8888_SRGB\b/MESA_FORMAT_R8G8B8X8_SRGB/g
s/MESA_FORMAT_ARGB1555\b/MESA_FORMAT_B5G5R5A1_UNORM/g
s/MESA_FORMAT_ARGB1555_REV\b/MESA_FORMAT_A1R5G5B5_UNORM/g
s/MESA_FORMAT_AL44\b/MESA_FORMAT_L4A4_UNORM/g
s/MESA_FORMAT_RGB332\b/MESA_FORMAT_B2G3R3_UNORM/g
s/MESA_FORMAT_ARGB2101010\b/MESA_FORMAT_B10G10R10A2_UNORM/g
s/MESA_FORMAT_Z24_S8\b/MESA_FORMAT_S8_UINT_Z24_UNORM/g
s/MESA_FORMAT_S8_Z24\b/MESA_FORMAT_Z24_UNORM_S8_UINT/g
s/MESA_FORMAT_X8_Z24\b/MESA_FORMAT_Z24_UNORM_X8_UINT/g
s/MESA_FORMAT_Z24_X8\b/MESA_FORMAT_X8Z24_UNORM/g
s/MESA_FORMAT_RGB9_E5_FLOAT\b/MESA_FORMAT_R9G9B9E5_FLOAT/g
s/MESA_FORMAT_R11_G11_B10_FLOAT\b/MESA_FORMAT_R11G11B10_FLOAT/g
s/MESA_FORMAT_Z32_FLOAT_X24S8\b/MESA_FORMAT_Z32_FLOAT_S8X24_UINT/g
s/MESA_FORMAT_ABGR2101010_UINT\b/MESA_FORMAT_R10G10B10A2_UINT/g
s/MESA_FORMAT_XRGB4444_UNORM\b/MESA_FORMAT_B4G4R4X4_UNORM/g
s/MESA_FORMAT_XRGB1555_UNORM\b/MESA_FORMAT_B5G5R5X1_UNORM/g
s/MESA_FORMAT_XRGB2101010_UNORM\b/MESA_FORMAT_B10G10R10X2_UNORM/g
s/MESA_FORMAT_AL88\b/MESA_FORMAT_L8A8_UNORM/g
s/MESA_FORMAT_AL88_REV\b/MESA_FORMAT_A8L8_UNORM/g
s/MESA_FORMAT_AL1616\b/MESA_FORMAT_L16A16_UNORM/g
s/MESA_FORMAT_AL1616_REV\b/MESA_FORMAT_A16L16_UNORM/g
s/MESA_FORMAT_RG88\b/MESA_FORMAT_G8R8_UNORM/g
s/MESA_FORMAT_GR88\b/MESA_FORMAT_R8G8_UNORM/g
s/MESA_FORMAT_GR1616\b/MESA_FORMAT_R16G16_UNORM/g
s/MESA_FORMAT_RG1616\b/MESA_FORMAT_G16R16_UNORM/g
s/MESA_FORMAT_SRGBA8\b/MESA_FORMAT_A8B8G8R8_SRGB/g
s/MESA_FORMAT_SARGB8\b/MESA_FORMAT_B8G8R8A8_SRGB/g
s/MESA_FORMAT_SLA8\b/MESA_FORMAT_L8A8_SRGB/g

Conflicts:
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/texformat.c
src/mesa/main/texstore.c
/external/mesa3d/src/mesa/swrast/s_stencil.c
50a01d2acafb2a937e62b24258e2e777c0cd1489 21-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Change many Type A MESA_FORMATs to meet naming standard

Update comments. Conversion of the following Type A formats:
s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g
s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g
s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g
s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g
s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g
s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g
s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g
s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g
s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g
s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g
s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g
s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g
s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g
s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g
s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g
s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g
s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g
s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g
s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g
s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g
s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g
s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g
s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g
s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g
s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g
s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g
s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
/external/mesa3d/src/mesa/swrast/s_stencil.c
71fe9437169cfdafda8814aa814bb85429fb6cfc 04-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: change gl_format to mesa_format

s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
/external/mesa3d/src/mesa/swrast/s_stencil.c
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 05-Jun-2013 Rico Schüller <kgbricola@web.de> mesa: remove outdated version lines in comments

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
978f91b8292cf504d3d50307aacfb94943d7f186 13-May-2013 Chris Forbes <chrisf@ijw.co.nz> swrast: Use accessor for stencil reference values

NOTE: This is a candidate for stable branches.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Restore 78-column wrapping of license text in C-style comments.

The previous commit introduced extra words, breaking the formatting.

This text transformation was done automatically via the following shell
command:
$ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript

where 'vimscript' is a file containing:
/THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * '
:wq

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.

This brings the license text in line with the MIT License as published
on the Open Source Initiative website:

http://opensource.org/licenses/mit-license.php

Generated automatically be the following shell command:
$ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {}

This introduces some wrapping issues, to be fixed in the next commit.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
dd404bc94f78a1766527becee03f8ef6ae3a799b 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.

Generated automatically be the following shell command:
$ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/BRIAN PAUL/THE AUTHORS/' {}

The intention here is to protect all authors, not just Brian Paul. I
believe that was already the sensible interpretation, but spelling it
out is probably better.

More practically, it also prevents people from accidentally copy &
pasting the license into a new file which says Brian is not liable when
he isn't even one of the authors.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
32bf36106ea433038b524311fc10cc5b835862f1 20-Feb-2012 Brian Paul <brianp@vmware.com> swrast: remove MAX_WIDTH arrays in stencil code

Use some per-context temporary arrays instead.
/external/mesa3d/src/mesa/swrast/s_stencil.c
0c1862851f27c428a18ba5509636efcc2f0084f8 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use swrast_renderbuffer instead of gl_renderbuffer
/external/mesa3d/src/mesa/swrast/s_stencil.c
c45771905f237d9285465dfce955440582ee51e5 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use stencil packing function in s_stencil.c
/external/mesa3d/src/mesa/swrast/s_stencil.c
b766d4bb43b2c8271413c1efafe3590fa75efc3c 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use gl_renderbuffer::StrideInBytes in depth/stencil code
/external/mesa3d/src/mesa/swrast/s_stencil.c
e34a54ff451a37a6e6eab529c44330dd6a8b218b 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use _swrast_pixel_address() in more places
/external/mesa3d/src/mesa/swrast/s_stencil.c
aed5c8299fe47b8e1728f8140d069bc89d3fa947 19-Jan-2012 Chad Versace <chad.versace@linux.intel.com> swrast: Fix unsigned promotion in pointer arithmetic

When rowstride was negatie, unsigned promotion caused a segfault here:

299│ if (rb->Format == MESA_FORMAT_S8) {
300│ const GLuint rowStride = rb->RowStride;
301│ for (i = 0; i < count; i++) {
302│ if (x[i] >= 0 && y[i] >= 0 && x[i] < w && y[i] < h) {
303├> stencil[i] = *(map + y[i] * rowStride + x[i]);
304│ }
305│ }
306│ }

Fixes segfault in oglconform
separatestencil-neu(NonPolygon.BothFacesBitmapCoreAPI),
though test still fails.

Note: This is a candidate for the stable branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43327
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/swrast/s_stencil.c
242fd9df3b2266402b3f6b20447798fb3bf57d53 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: use _swrast_pixel_address() helper function

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.c
d00d39a016893979d9b4ca61f6eaa570ccafb0b5 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: rewrite stencil test code

Stop using the deprecated renderbuffer Get/Put Row/Values functions.
Consolidate code paths, etc. The file is nearly half the size it used
to be!

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.c
8b913bda3ad20ec2c8353859d75a3d938801d86f 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: remove dead code in s_stencil.c

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.c
70df474941fa5bd45386370240427944784b7729 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: rewrite _swrast_read_stencil_span()

Use format pack/unpack functions instead of deprecated renderbuffer
GetRow/PutRow functions.

v2: use get_stencil_address(), s/destVals/newVals/

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.c
e23e8cbf3965b721f475e489bcb381b1a5d91c0f 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: stop using _swrast_get_values() in stencil code

That function will go a way in the future.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.c
95970677b92bef1b24cc83ecfe1759b35426d3d2 24-Dec-2011 Brian Paul <brianp@vmware.com> swrast: replace GetRow() call with _mesa_unpack_ubyte_stencil_row()

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_stencil.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_stencil.c
6d68855df133bdd4891e8aa428787b520739e0fe 11-Nov-2011 Brian Paul <brianp@vmware.com> mesa: replace GLstencil with GLubyte
/external/mesa3d/src/mesa/swrast/s_stencil.c
9520f483b8f1e45fa474674b415554988de5d8d3 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: s/INLINE/inline/

INLINE is still seen in some files (some generated files, etc) but this
is a good start.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/swrast/s_stencil.c
37a64baea87c470a68f9b2582af86783eb3509c4 11-Aug-2011 Brian Paul <brianp@vmware.com> swrast: don't try to do depth testing if there's no depth buffer

Fixes piglit hiz-depth-stencil-test-fbo-d0-s8 crash.
See http://bugs.freedesktop.org/show_bug.cgi?id=37907

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/src/mesa/swrast/s_stencil.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_stencil.c
26f8fad1456fdc2b352cea9d3b4c32cb5f6ae947 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_memset in favor of plain memset.

This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/swrast/s_stencil.c
c7ac486261ad30ef654f6d0b1608da4e8483cd40 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_memcpy in favor of plain memcpy.

This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/swrast/s_stencil.c
d6b8664e3cd37c081cb1dd3d6cd5ffdac1813dac 30-Aug-2009 Brian Paul <brianp@vmware.com> swrast: minor code consolidation
/external/mesa3d/src/mesa/swrast/s_stencil.c
dde7cb962860e72e1bf3175069767358cc5b3f3c 10-Jan-2009 Ian Romanick <idr@freedesktop.org> Track two sets of back-face stencil state

Track separate back-face stencil state for OpenGL 2.0 /
GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all
three to be enabled in a driver. One set of state is set via the 2.0
or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is
disabled. The other is set by StencilFunc and StencilOp when the
active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has
more details.

http://opengl.org/registry/specs/EXT/stencil_two_side.txt
/external/mesa3d/src/mesa/swrast/s_stencil.c
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: prefix a bunch of #include lines with "main/".

This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/swrast/s_stencil.c
e21d2c6ef300c7661f49c50b4c68b4f205795f4a 18-Sep-2007 Xiang, Haihao <haihao.xiang@intel.com> mesa: Always use the original mask to update stencil buffer
in stencil_and_ztest_pixels. fix #12263
/external/mesa3d/src/mesa/swrast/s_stencil.c
3ffa09b09dfd55c64cb98bd8e7bab0370f93cdbd 12-Jul-2007 Brian <brian.paul@tungstengraphics.com> clean-up of stencil code
/external/mesa3d/src/mesa/swrast/s_stencil.c
b5e9b0e56231065f6324bbd3c2c35ca53b46ddf8 21-Apr-2007 Brian <brian@yutani.localnet.net> Remove the !rb->Data check that was added a few months ago.

Was changed while debugging #7205. Broke the shadowtext demo. Revisit this
if the problem w/ bug 7205 returns...
/external/mesa3d/src/mesa/swrast/s_stencil.c
121f2212ccfa716e4853d0eead3755103d8c89e4 19-Apr-2007 Brian <brian@yutani.localnet.net> remove invalid assertion (span->facing may be set because of polygonmode)
/external/mesa3d/src/mesa/swrast/s_stencil.c
038e981cacdc6f32588442666cde8a8fc16cfdfc 15-Mar-2007 Brian <brian@yutani.localnet.net> add some rb->Data null ptr checks (bug 7205)
/external/mesa3d/src/mesa/swrast/s_stencil.c
7e85b0a025a82c3ffed060a757a3b4adae03d269 23-Jan-2007 Brian <brian@nostromo.localnet.net> silence C++ warnings
/external/mesa3d/src/mesa/swrast/s_stencil.c
cdb27e8242215271364602995d85607cfc06d441 01-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> New SWspan and SWspanarrays typedefs.
/external/mesa3d/src/mesa/swrast/s_stencil.c
9580179dfb42d5b81ff6ec9704b82a556c7f1229 06-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> C++ fixes, mostly casts (Stephane Conversy)
/external/mesa3d/src/mesa/swrast/s_stencil.c
1a5f1bdb428ea3ded1e77796590014f89fe78f77 16-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Use new gl_framebuffer _Depth/_StencilBuffer fields instead of
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers
around combined depth/stencil renderbuffers attached at the later points.
/external/mesa3d/src/mesa/swrast/s_stencil.c
1e134cf7e402a9c16064b19a0c72ed17cb2fc189 15-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.
Fix a comment typo.
Remove some unneeded #includes.
/external/mesa3d/src/mesa/swrast/s_stencil.c
70c3bebcde336c4cc282bc5dbd33d4180b92771c 27-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
/external/mesa3d/src/mesa/swrast/s_stencil.c
676d0accf5cc43e86057b14cfb8bba9316932582 22-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
BlueBits, etc fields.
/external/mesa3d/src/mesa/swrast/s_stencil.c
63016507d7916231d139d7e3816b7c1b3809fa87 22-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> changed a renderbuffer check
/external/mesa3d/src/mesa/swrast/s_stencil.c
3211b28ee633707218fe7eb2bdfc604c10fd8d29 20-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> remove STENCIL_MAX
/external/mesa3d/src/mesa/swrast/s_stencil.c
67074332728acba86da7630353673b458713bb8a 16-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Fix potential segfault when trying to read pixels outside renderbuffer bounds.
Use _swrast_get_values() which does clipping.
/external/mesa3d/src/mesa/swrast/s_stencil.c
42c34efd23d7ad05df9f3c71f7d52dd259e179d8 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.
See comment near top of stencil.c for info about OpenGL 2.0 vs.
GL_EXT_stencil_two_side.
/external/mesa3d/src/mesa/swrast/s_stencil.c
56a2e084be4fa8baf9caf03f27f5d99d8545dc5c 13-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Clear either 8 or 16-bit stencil buffers.
/external/mesa3d/src/mesa/swrast/s_stencil.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/swrast/s_stencil.c
118a8bad73bda88fc54f802b2beeb687c8ddb45a 27-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> new comments and assertions
/external/mesa3d/src/mesa/swrast/s_stencil.c
9fcb9c3ac7adb7eaa37a8da4e741ce99dcd651a2 02-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> fix stencil index bug (#964704)
/external/mesa3d/src/mesa/swrast/s_stencil.c
9ac51f57efe07ed43a1e4224a7f5daddec401b36 05-Jun-2003 Ian Romanick <idr@us.ibm.com> Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
/external/mesa3d/src/mesa/swrast/s_stencil.c
45bc887da226403f2c41077e40ca38b6f60f1359 25-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]
/external/mesa3d/src/mesa/swrast/s_stencil.c
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 25-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Header file clean-up:
1. Remove all.h and PC_HEADER junk.
2. Rolled mem.c and mem.h into imports.c and imports.h
3. Include imports.h instead of mem.h
Restore _mesa_create/initialize_context() to be like they were in 4.0.4
New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
/external/mesa3d/src/mesa/swrast/s_stencil.c
be99e845bd7979fe46d38d9b294c1ba0a0aa95b8 03-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> finished up GL_EXT_stencil_two_side
/external/mesa3d/src/mesa/swrast/s_stencil.c
5f60a0b50ada1865d4fc6a724366e8ea0cc9a72f 06-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> GL_EXT_stencil_two_side extension, not 100% complete yet.
/external/mesa3d/src/mesa/swrast/s_stencil.c
77df88727cb0a423dd5cb41498c2302d9df4fce7 07-Aug-2002 Brian Paul <brian.paul@tungstengraphics.com> struct sw_span is again allocated on the stack, but the arrays of span
data are broken out into a new struct span_arrays which is allocated
per-context (to avoid huge stack allocations - a problem on Windows).
This lets us use span.redStep instead of span->redStep (for example) to
hopefully get slightly better performance in the triangle functions.
/external/mesa3d/src/mesa/swrast/s_stencil.c
1113e3266f1a9df3506fb80189bfe00d9681b55e 20-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed Width/Height cut&paste typo
/external/mesa3d/src/mesa/swrast/s_stencil.c
a670c1280b78e6da3b298b61f623e4c733c6be94 19-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> casts to fix GLint/GLuint mismatches
/external/mesa3d/src/mesa/swrast/s_stencil.c
aeb4434563c4014a662ea334878b60d3031bb3c1 19-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
memory. These can be overridden by applications which need to manage this
memory specially. Contributed by Gerk Huisma.
Also, new code for 8-bit -> 16-bit/channel texture image storage which
fills in the least-significant bits properly.
/external/mesa3d/src/mesa/swrast/s_stencil.c
18a285a5e244b7405b85feb7315a30d99920ec5d 16-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Lots of changes related to framebuffer/window buffer resizing. Basically,
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*.
The idea is that a window can be resized without it being bound to a rendering
context. This makes for a nice clean-up in the XFree86 server-side GLX code.
Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
/external/mesa3d/src/mesa/swrast/s_stencil.c
79c2f534916046fab91f53ebd37f705bd25f7dcb 04-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> Clean-up and remove dead code related to depth/stecil testing.
/external/mesa3d/src/mesa/swrast/s_stencil.c
b37a084357dd08573b86d6d8c5ba43d65bdc1bd7 02-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> Converted line drawing over to new span code, pb no longer used.
Big clean-up of line drawing code.
Removed many obsolete span processing functions.
/external/mesa3d/src/mesa/swrast/s_stencil.c
733a4b602bbbfda83ee03b7ae4f3737bbe659034 02-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> sw_span can now hold x/y arrays of fragment positions - getting ready to
ditch the pb (pixel buffer) code.
Converted point drawing, bitmaps and aa lines to use new span functions.
/external/mesa3d/src/mesa/swrast/s_stencil.c
f1e236987829393c81dc86ea19cb49eefe190317 28-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> More span clean-up, mostly texture-related.
_mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span().
Removed some unneeded triangle functions - more simplification possible.
/external/mesa3d/src/mesa/swrast/s_stencil.c
2a182a98973edc9ecf2936b1288485bb2b3fa722 27-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> LOTS of changes, building upon Klaus's work.
struct sw_span is used throughout span/fragment processing.
This is leading to less code and more chances for optimization.
/external/mesa3d/src/mesa/swrast/s_stencil.c
2ef866d1fc0a5cc5ef8543d65744dfd4da4dbbaf 21-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Klaus's latest patches and some clean-up
/external/mesa3d/src/mesa/swrast/s_stencil.c
97291208cb34ab97e63a3c32edacae2d580675a6 08-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> work-around for QNX compiler problem
/external/mesa3d/src/mesa/swrast/s_stencil.c
10f30eb43835c57c00783390a02d72daf4f78e26 17-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> first checkpoint commit of Klaus's new span code (struct sw_span)
/external/mesa3d/src/mesa/swrast/s_stencil.c
758a21f1043b52a8a2fa2397d3c963c0c40c268a 17-May-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed Width/Height typo (Jeff Hartmann)
/external/mesa3d/src/mesa/swrast/s_stencil.c
709892459922a32096fe9dd8261d0d92337bb02f 19-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/swrast/s_stencil.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/swrast/s_stencil.c
b51b0a847d7e7daaea69f77ab569086ef81c24a2 07-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots of potential problems
/external/mesa3d/src/mesa/swrast/s_stencil.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/swrast/s_stencil.c
0d04827f6dd99bd2fb8055ccfff03482802e8500 24-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> another fix in _mesa_stencil_and_ztest_pixels() for hardware fallbacks
/external/mesa3d/src/mesa/swrast/s_stencil.c
74b775e14de000027492f6ea3c836aa82f850d21 23-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed bug in _mesa_stencil_and_ztest_pixels() found w/ DRI mga driver
/external/mesa3d/src/mesa/swrast/s_stencil.c
b6bcae5698df88f7730d40004ce7ce0462e97a20 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.
Replace "RGBAMode" with "rgbMode", etc.
Other minor clean-ups.
/external/mesa3d/src/mesa/swrast/s_stencil.c
86ca491ade2322fbc652b78489cea67759bd09b8 28-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed parameter mis-ordering bug in Driver.StencilSpan calls
/external/mesa3d/src/mesa/swrast/s_stencil.c
1e1aac034c986a08248861363c0baa27dc2ae2d5 13-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Cleanup of derived state calculation prior to seperating software T&L
into a new directory. Specifically the handling of changes to lighting
lighting space (light in model vs. light in eye) have been revamped.

Moved several derived values used only by swrast into that directory.

Removed direct calls to swrast_flush() from vbrender.c -- pushed into
ctx->Driver.RenderFinish.

Optimized flat-shading case in swrast_setup.
/external/mesa3d/src/mesa/swrast/s_stencil.c
cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0 05-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Reorganized software rasterizer as a module which manages its own state,
with tighter interfaces with the rest of the world.

Proper documentation to come.
/external/mesa3d/src/mesa/swrast/s_stencil.c
e3a051e0538a605551f4d58294c94f5eb00ed07f 31-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Moved software rasterizer functionality to new directory.
/external/mesa3d/src/mesa/swrast/s_stencil.c