History log of /external/mesa3d/src/mesa/swrast/s_span.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5346630593bec80efa732c40b63e0e95a00af074 20-Oct-2016 Timothy Arceri <timothy.arceri@collabora.com> r200/glsl/st/mesa: use common outputs written field

And set outputs written directly in shader_info.

st/mesa changes where:
Reviewed-by: Marek Olšák <marek.olsak@amd.com>

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/swrast/s_span.c
3423488d55b9c483fcdb3996eb89b424c1031d24 19-Oct-2016 Timothy Arceri <timothy.arceri@collabora.com> st/mesa/r200/i915/i965: eliminate gl_fragment_program

Here we move OriginUpperLeft and PixelCenterInteger into gl_program
all other fields have been replace by shader_info.

V2: Don't use anonymous union/structs to hold vertex/fragment fields
suggested by Ian.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/swrast/s_span.c
04aa8b58a09e3b415916fa569111c1f76d07a8d5 13-Jul-2015 Matt Turner <mattst88@gmail.com> swrast: Avoid double promotion.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/swrast/s_span.c
d02942cc779f97b499c80879db60aa469f651b49 07-Apr-2015 Marius Predut <marius.predut@intel.com> swrast: replace __FUNCTION__ with __func__

Consistently just use C99's __func__ everywhere.
The patch was verified with Microsoft Visual studio 2013
redistributable package(RTM version number: 18.0.21005.1)
Next MSVC versions intends to support __func__.
No functional changes.

Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Marius Predut <marius.predut@intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
8ac9407a835ee892d96f326b0c56967046cbb982 01-Apr-2015 Brian Paul <brianp@vmware.com> swrast: remove unneeded #include of colormac.h

Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
cebc62f1060c815e3b5a1bd3728c3d909db3d2b8 18-Mar-2015 Jose Fonseca <jfonseca@vmware.com> swrast: Use BITFIELD64_BIT for arrayAttribs.

As VARYING_SLOT_MAX can be bigger than 32.

I'll probably stop building swrast with MSVC in the near future, but this
seems a real bug regardless.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
bd7f7aac56d3703f3d0fd55cd20f86f6c431b030 24-Feb-2015 Brian Paul <brianp@vmware.com> mesa: replace FABSF with fabsf

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/swrast/s_span.c
a55831e8fabf3e53802a45d8bd74dbb1986f9754 24-Feb-2015 Brian Paul <brianp@vmware.com> swrast: fix a few release build warnings
/external/mesa3d/src/mesa/swrast/s_span.c
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_span.c
89c96afe3c0acf8f2fccaf02da02945afe8ba5f3 16-Feb-2015 Brian Paul <brianp@vmware.com> swrast: fix multiple color buffer writing

If a fragment program wrote to more than one color buffer, the
first fragment color got replicated to all dest buffers. This
fixes 5 piglit FBO tests, including fbo-drawbuffers-arbfp.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45348
Cc: "10.4, 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_span.c
05279fa5636bc1354c34ef043183d56f730b7f8e 03-Jan-2015 Brian Paul <brianp@vmware.com> swrast: use new _mesa_base_tex_image() helper

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.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_span.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_span.c
eed6baf7621fa94e7888f8079b155fc67a08540c 23-Feb-2013 Paul Berry <stereotype441@gmail.com> Replace gl_frag_attrib enum with gl_varying_slot.

This patch makes the following search-and-replace changes:

gl_frag_attrib -> gl_varying_slot
FRAG_ATTRIB_* -> VARYING_SLOT_*
FRAG_BIT_* -> VARYING_BIT_*

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
56ccdf7e30f5bc1bc6b71d49bad2a9049ae170c4 03-Sep-2012 Brian Paul <brianp@vmware.com> mesa: remove SQRTF, use sqrtf. Convert INV_SQRT() to inline function.

We were already defining sqrtf where we don't have the C99 version.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/swrast/s_span.c
cbdc1d53542b3ecca0085399c4bb3b3371f94809 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> swrast: Support sampler object for texture fetching state

swrast needs to pass sampler object into all texture fetching functions
to use correct sampling state when sampler object is bound to the unit.
The changes were made using half manual regular expression replace.

v2: Fix NULL deref in _swrast_choose_triangle(), because the _Current
values aren't set yet, so we need to look at our texObj2D. (anholt)

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
47d88ef204b42a9220c6be3e98c92df9c9aa0860 20-Feb-2012 Brian Paul <brianp@vmware.com> swrast: define, use SWRAST_MAX_WIDTH/HEIGHT

We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
/external/mesa3d/src/mesa/swrast/s_span.c
ed65c5ccc3d15c350965f669d6891813c0ba8bcc 20-Feb-2012 Brian Paul <brianp@vmware.com> swrast: remove MAX_WIDTH array in s_span.c
/external/mesa3d/src/mesa/swrast/s_span.c
bd1ae51b13535bc4438c663ffe91ded49db4890a 03-Feb-2012 Brian Paul <brianp@vmware.com> swrast: fix span color type selection

Fixes a regression from commit 660ed923ded3552e023ef8c3dd9f92e6792f1bd2.
The basic idea is to look at the format of the dest renderbuffer and
choose either GLubyte or GLfloat for colors. The previous code used
_mesa_format_to_type_and_comps() which could return a bunch types other
than ubyte/float.

Determine the datatype at renderbuffer mapping time to avoid frequent
calls to the format query functions.

NOTE: This is a candidate for the 8.0 branch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45578
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45577
/external/mesa3d/src/mesa/swrast/s_span.c
660ed923ded3552e023ef8c3dd9f92e6792f1bd2 31-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Convert colors if span ChanType and renderbuffer data type don't match

This is a partial revert of f9874fe. It turns out that the types
don't always match. Specifically, this can happen when doing
glCopyPixels from a float FBO to a RGBA8 FBO.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45429
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89 26-Jan-2012 Chad Versace <chad.versace@linux.intel.com> swrast: Fix fixed-function fragment processing

On i965, _mesa_ir_link_shader is never called. As a consequence, the
current fragment program (ctx->FragmentProgram->_Current) exists but is
invalid because it has no instructions. Yet swrast continued to attempt to
use the empty program.

To avoid using the empty program, this patch 1) defines a new function,
_swrast_use_fragment_program, which checks if the current fragment program
exists and differs from the fixed function fragment program, and, when
appropriate, 2) replaces checks of the form
if (ctx->FragmentProgram->_Current == NULL)
with
if (_swrast_use_fragment_program(ctx))

Fixes the following oglconform regressions on i965/gen6:
api-fogcoord(basic.allCases.log)
api-mtexcoord(basic.allCases.log)
api-seccolor(basic.allCases.log)
api-texcoord(basic.allCases.log)
blend-separate(basic.allCases)
colorsum(basic.allCases.log)

The tests were ran with the GLXFBConfig:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

(Note: I originally believed that the hunk in
_swrast_update_fragment_program was unnecessary. But it is required to fix
blend-separate.)

Note: This is a candidate for the 8.0 branch.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43327
Reveiwed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
88e7f56dd7130077494ff36b9765dd48cd3d4a91 26-Jan-2012 Brian Paul <brianp@vmware.com> swrast: silence uninitialized var warnings
/external/mesa3d/src/mesa/swrast/s_span.c
ba151a333be7a23266b23ee6f65669bb19221546 24-Jan-2012 Brian Paul <brianp@vmware.com> swrast: fix uninitialized variable warning
/external/mesa3d/src/mesa/swrast/s_span.c
0c1862851f27c428a18ba5509636efcc2f0084f8 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use swrast_renderbuffer instead of gl_renderbuffer
/external/mesa3d/src/mesa/swrast/s_span.c
881ef2a9db22cff4c7d07b873d23b0c324da555a 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use color packing functions in s_span.c
/external/mesa3d/src/mesa/swrast/s_span.c
f9874feef4d8952df5054bd8e8f4e0deda4ef44f 16-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove gl_renderbuffer::DataType
/external/mesa3d/src/mesa/swrast/s_span.c
0ff817f200ef4cb4a5ab0d90eccfc83d0671fb65 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: stop using Put/GetRow/Values() in swrast code

All color buffer rendering is now done by accessing mapped renderbuffer
memory. We're now able to get rid of all the GetRow/PutRow stuff.
/external/mesa3d/src/mesa/swrast/s_span.c
ff57b0f037a45b0d5ced38234f0a8b29d32e7f9d 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: make _swrast_get_values(), _swrast_get_row() static

They were only called from in s_span.c
/external/mesa3d/src/mesa/swrast/s_span.c
267fb178844d3f17503dd0f921791f3ab059c4e7 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: remove dstType param from _swrast_read_rgba_span()

It was always GL_FLOAT.
/external/mesa3d/src/mesa/swrast/s_span.c
64be85540f30e904784c6a72f2ba2784d5ccb36d 16-Jan-2012 Brian Paul <brianp@vmware.com> swrast: remove unused _swrast_put_row()
/external/mesa3d/src/mesa/swrast/s_span.c
9be3be3c6654da18466626c2d45ff4d06b5fb953 20-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> swrast: Use fixed-function processing instead _TexEnvProgram for DrawPixels

This is a hack to work around drivers such as i965 that:

- Set _MaintainTexEnvProgram to generate GLSL IR for
fixed-function fragment processing.
- Don't call _mesa_ir_link_shader to generate Mesa IR from the
GLSL IR.
- May use swrast to handle glDrawPixels.

Since _mesa_ir_link_shader is never called, there is no Mesa IR to
execute. Instead do regular fixed-function processing.

Even on platforms that don't need this, the software fixed-function
code is much faster than the software shader code.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44749
/external/mesa3d/src/mesa/swrast/s_span.c
706400f0a7a59bba89eca8e97a1ada45445ee6df 12-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use BITFIELD64_BIT() macro to fix MSVC warnings

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
8dffb6bdab25dcacf165851e9d1fdb3beb73099a 07-Jan-2012 Brian Paul <brianp@vmware.com> swrast: s/GLbitfield/GLbitfield64/ for sw_span::arrayAttribs

This is a bitfield of FRAG_BIT_x values so it should be 64-bits now.
/external/mesa3d/src/mesa/swrast/s_span.c
a44d715d2b19dc2f8f48b01144cc38e4e2c5015a 05-Jan-2012 Brian Paul <brianp@vmware.com> swrast: use memmove() instead of memcpy() in the SHIFT_ARRAY macro

The src/dst arrays would overlap but dst was less than src so a simple
version of memcpy() would do the right thing. But this isn't guaranteed
when memcpy() is optimized.

Fixes demos/copypix when the dest region was clipped by the left side of
the window.

Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/src/mesa/swrast/s_span.c
b7f670655dc57ea90963888f95e22773ce0ad131 23-Oct-2011 Brian Paul <brianp@vmware.com> swrast: update renderbuffer format assertion

Failed when exercising i965 swrast fallback rendering.
/external/mesa3d/src/mesa/swrast/s_span.c
718cbe4ba95439c074144ea2ce06ebf0915a660c 14-Oct-2011 Brian Paul <brianp@vmware.com> swrast: be a bit smarter in clip_span()

If no pixels pass the clip test, return false.
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
980f6f1b37ca88529b3e000235156eab93254fac 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast

These fields were only used for swrast so move them into
swrast_texture_image.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
2836aab2031d5b6926923fbc70f867ec638301bd 09-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Use ColorLogicOpEnabled instead of _LogicOpEnabled

Since GL_EXT_blend_logic_op is removed, _LogicOpEnabled and
ColorLogicOpEnabled always have the same value.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/swrast/s_span.c
afd1d857752b5c30a3082068f8bb9002e0c69699 09-Aug-2011 Fabio Pedretti <fabio.ped@libero.it> swrast: silence unused var warnings

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
3032d064fb01d29bc4511362274a02a71e33c91f 15-Jul-2011 Marek Olšák <maraeo@gmail.com> swrast: remove an unused-but-set variable
/external/mesa3d/src/mesa/swrast/s_span.c
8a98aabe0bcea42cfdc982001ae4876e3d9b1214 18-May-2011 Andreas Faenger <a.faenger@e-sign.com> swrast: anisotropic filtering extension

Anisotropic filtering extension for swrast intended to be used by osmesa
to create high quality renderings.
Based on Higher Quality Elliptical Weighted Avarage Filter (EWA).
A 2nd implementation using footprint assembly is also provided.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
a45b757f788d3a59a446fe2596065ec5f0d5eac2 18-Apr-2011 Eric Anholt <eric@anholt.net> swrast: Add LUMINANCE, INTENSITY, LUMINANCE_ALPHA to span asserts.

Fixes ARB_texture_float/fbo-alphatest-formats.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
641dd899bd485c194c20a871633797a47e4f912d 16-Apr-2011 Eric Anholt <eric@anholt.net> swrast: Don't assert against glReadPixels of GL_RED and GL_RG.

Everything appears to already be in place for this. Fixes aborts in:
ARB_texture_rg/fbo-alphatest-formats-float
ARB_texture_rg/fbo-blending-formats-float.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
ecfaab88b2577bd0395bc05d75a036126806a9c4 10-Apr-2011 Brian Paul <brianp@vmware.com> mesa: move sampler state into new gl_sampler_object type

gl_texture_object contains an instance of this type for the regular
texture object sampling state. glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/swrast/s_span.c
147148fd50ec2db089a0fbcca9740146aa096be8 18-Mar-2011 Brian Paul <brianp@vmware.com> swrast: report data type in error message
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
50a3349bee04088bee3491622d6ef3c032d01eac 07-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Set the base format of GL_ALPHA FBOs and teach swrast about it.

Fixes assertion failures in fbo-alpha with a debug build of Mesa.
Bug #29781.
/external/mesa3d/src/mesa/swrast/s_span.c
c8e714df013cdf360602f9cc96d26cb732b19a32 11-Aug-2010 M.Froehlich@science-computing.de <M.Froehlich@science-computing.de> swrast: fix span color array pointer assignment for 32-bit/channel rendering

See fd.o bug 29487.

NOTE: This is a candidate for the 7.8 branch.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_span.c
dba7875cdaff66fc5e8ffdd56055b5c0bb92f145 31-Jul-2010 Vinson Lee <vlee@vmware.com> swrast: Remove unnecessary headers.
/external/mesa3d/src/mesa/swrast/s_span.c
60121c41ce9ee50ff8d8476d4eb04867adf9b8c5 10-Mar-2010 Karl Schultz <karl.w.schultz@gmail.com> windows: fix compilation errors and warnings
/external/mesa3d/src/mesa/swrast/s_span.c
7ce12c9024f74bb26e45496a46b57708d8159d37 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> swrast: Remove _swrast_read_index_span

After all the recent color-index rendering removal,
_swrast_read_index_span is no longer used anywhere.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
c00282102aea387e8c0fb29811d0ea8f010f145a 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> swrast: Remove _swrast_write_index_span and associated code

After all the recent color-index rendering removal,
_swrast_write_index_span is no longer used anywhere.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
2b7911d37dc1518b9047b02acdc6f8476abad70f 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> swrast: Remove remaining color-index state tracking infrastructure

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_span.c
6bf1ea897fa470af58fe8916dff45e2da79634a3 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace _mesa_bzero() with memset()
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.c
a61dce363929bbc3520f91cefa3ba15bbe31c5bd 18-Feb-2010 Brian Paul <brianp@vmware.com> swrast: fix left side clipping

Fixes bug 26623. Original patch was submitted by Mathias Frohlich
and modified by Brian.

(cherry picked from commit 7c34c237a2f6732b2c013543523617e375c1f534)
/external/mesa3d/src/mesa/swrast/s_span.c
880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 28-Jan-2010 Brian Paul <brianp@vmware.com> swrast: silence double->float assignment warnings

Reported by Karl Schultz.
/external/mesa3d/src/mesa/swrast/s_span.c
cd8614b0287dc5a69725ec4ee0208fad61f7789e 22-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/pipebuffer/Makefile
src/gallium/auxiliary/pipebuffer/SConscript
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/drivers/i915/i915_surface.c
src/gallium/drivers/i915/i915_texture.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/winsys/drm/intel/gem/intel_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c
src/mesa/state_tracker/st_cb_clear.c
2c5aa02e2086f5e79630cdffec804a3e9de0d966 15-Jan-2010 Brian Paul <brianp@vmware.com> swrast: add missing call to _swrast_depth_bounds_test()

We were calling this from the CI span function, but not the RGBA
span function.

I don't know of a test program for the GL_EXT_depth_bounds_test
extension...
/external/mesa3d/src/mesa/swrast/s_span.c
25024d948298a9f3f3210a0b91486f79a3917b0f 31-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
configs/darwin
src/gallium/auxiliary/util/u_clear.h
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
195e7657e2f15f7ad8b22042b86bcf33c5bba76b 31-Dec-2009 Brian Paul <brianp@vmware.com> swrast: use different temp array in _swrast_get_dest_rgba()

When using multiple color drawbuffers with blending/logicop/masking we
were overwriting color values which we still needed.
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
3728673bd1b974e54858fbab6ff62d3607b0d3f0 29-Dec-2009 Brian Paul <brianp@vmware.com> mesa: per-buffer blend enabled flags

ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to
indicate blend on/off status for each color/draw buffer.

This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x

New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and
_mesa_IsEnabledIndexed(). The enable function corresponds to
glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3.

Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in
drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0
unless GL_EXT_draw_buffers2 is enabled.
/external/mesa3d/src/mesa/swrast/s_span.c
32ec3f26731ac998b6fda7ce596ec568d6f76eeb 29-Oct-2009 Eric Anholt <eric@anholt.net> mesa: Mostly fix swrast's ARB_depth_clamp support.

I'd written a testcase for the hard part of the extension enablement, so
naturally the easy stuff was completely broken. There are still issues,
as I'm seeing FLOAT_TO_UINT(max_f) == 0x0 when max_f == 1.0, but it gets
piglit depth-clamp-range closer to success.
/external/mesa3d/src/mesa/swrast/s_span.c
42fac11d437d6bf2cb27f9487dedf7fb396616d4 08-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: New feature FEATURE_queryobj.

It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.
/external/mesa3d/src/mesa/swrast/s_span.c
b4922b533155cc139ebafb111502bb55d2ad2ccf 26-Aug-2009 Eric Anholt <eric@anholt.net> mesa: Add support for ARB_depth_clamp.

This currently doesn't include fixing up the cliptests in the assembly
paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
/external/mesa3d/src/mesa/swrast/s_span.c
f25e1007c2da21dc529811e9e1f4b4da6bda8be4 04-Jun-2009 Brian Paul <brianp@vmware.com> swrast: always do span clipping in _swrast_write_rgba_span()

It's possible for mis-behaving vertex programs to produce vertex data
with very large/NaN values. This doesn't get handled reliably by the
clipper code so we may try to rasterize triangles that extend beyond
the viewport/window. Always clip spans to avoid invalid memory accesses
later.
/external/mesa3d/src/mesa/swrast/s_span.c
6a3004b9ae58dafd1ce995df78b0f3183827a59d 07-May-2009 Brian Paul <brianp@vmware.com> swrast: fix span clipping bug

If a horizontal span of pixels was located at x < 0 we could sometimes
read/write outside of renderbuffer bounds.
/external/mesa3d/src/mesa/swrast/s_span.c
3e79d650835b3431464de876699d04702df99806 07-Apr-2009 Brian Paul <brianp@vmware.com> swrast: restore !shader check around add_specular()

Fixes a regression from commit 76ac75af8e5481b498981c133836efa2101be2dc.
/external/mesa3d/src/mesa/swrast/s_span.c
76ac75af8e5481b498981c133836efa2101be2dc 07-Apr-2009 Brian Paul <brianp@vmware.com> swrast: fix secondary color add for glBitmap

Also, clean up the logic involved in choosing per-vertex vs. per-fragment
primary+secondary color addition.
/external/mesa3d/src/mesa/swrast/s_span.c
9cc79fc2dcdd8e21d9616cc65a931f1f5859fc30 02-Apr-2009 Brian Paul <brianp@vmware.com> swrast: fix glDrawBuffer(GL_FRONT_AND_BACK)

We weren't putting the right colors into the back buffer in this mode.
/external/mesa3d/src/mesa/swrast/s_span.c
c334ce273e946733928339b1c7f9a02ccdef1b4b 17-Mar-2009 Brian Paul <brianp@vmware.com> swrast: use better _swrast_compute_lambda() function

The MAX-based function can produce values that are non-monotonic for a span
which causes glitches in texture filtering. The sqrt-based one avoids that.

This is perhaps slightly slower than before, but the difference
probably isn't noticable given we're doing software mipmap filtering.

Issue reported by Nir Radian <nirr@horizonsemi.com>
/external/mesa3d/src/mesa/swrast/s_span.c
91e61f435a71436c209934a0ece165b540aba3e0 02-Mar-2009 Brian Paul <brianp@vmware.com> mesa: use Stencil._Enabled field instead of Stencil.Enabled
/external/mesa3d/src/mesa/swrast/s_span.c
07e50058a5699fc9279de6bf5d1449d52ccdc476 02-Mar-2009 Brian Paul <brianp@vmware.com> swrast: use _EnabledCoordUnits for fixed-function texturing

Using _EnabledUnits was wrong because it included vertex texture units.

This change plus the prev commit fixes occasional failures of glean/glsl1
vertex texture test failure.
/external/mesa3d/src/mesa/swrast/s_span.c
8962bac0a1e422afcd034f4ce00d45d8f3df46bf 04-Feb-2009 Brian Paul <brianp@vmware.com> swrast: add minor comments
/external/mesa3d/src/mesa/swrast/s_span.c
9d216be8cfe57f88cd2d890c2334df8ff5c30436 20-Jan-2009 Brian Paul <brianp@vmware.com> mesa: silence uninitialized var warnings
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
ade508312c701ce89d3c2cd717994dbbabb4f207 15-May-2008 Brian Paul <brian.paul@tungstengraphics.com> Updated GLSL uniform/sampler handling from gallium-0.1 branch

Previously, the shader linker combined the uniforms used by the vertex and
fragment shaders into a combined set of uniforms. This made the implementation
of glUniform*() simple, but was rather inefficient otherwise. Now each shader
gets its own set of uniforms (no more modelview matrix showing up in the
fragment shader uniforms, for example).

cherry-picked by hand from gallium-0.1 branch
/external/mesa3d/src/mesa/swrast/s_span.c
bbb042f0b809ebb754547397b8f22a5751c275da 15-Apr-2008 Brian <brian.paul@tungstengraphics.com> fix multi-draw buffer regression
/external/mesa3d/src/mesa/swrast/s_span.c
bff94a91c6852157a8251652cb61dc699cd8e4f1 20-Mar-2008 Xiang, Haihao <haihao.xiang@intel.com> mesa: The span array is only populated in single-pixel
point drawing function.
/external/mesa3d/src/mesa/swrast/s_span.c
ff73c783cc47361ff0dd819c82d067b4b85870dd 06-Jan-2008 Brian <brian.paul@tungstengraphics.com> Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.

These fields are no longer indexed by shader output. Now, we just have
a simple array of renderbuffer pointers.

If the shader writes to gl_FragData[i], send those colors to the N
_ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or
the fixed-function color) to the N _ColorDrawBuffers.

A few more changes and simplifications can follow from this...
/external/mesa3d/src/mesa/swrast/s_span.c
e48f0b09abe42aa3393a492af07e53b76ad0ff3c 24-Oct-2007 Brian <brian.paul@tungstengraphics.com> Implement gl_PointCoord attribute for GLSL fragment shaders.

Contains the normalized fragment position within a point sprite.
/external/mesa3d/src/mesa/swrast/s_span.c
6254be9b7144821e044d3fbade514fa0358db693 27-Sep-2007 Xiang, Haihao <haihao.xiang@intel.com> mesa: make sure the gotten value isn't greater than the
max depth buffer value on 64bit system. fix bug #12095
/external/mesa3d/src/mesa/swrast/s_span.c
c5a5d12743b4921ab9c01ee69fa6a06b6b4d716a 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> remove reference to ctx->Color.DrawBuffer
/external/mesa3d/src/mesa/swrast/s_span.c
51b728cf9aff383142a2a1e220a7d8963d1ca189 26-Jul-2007 Brian <brian.paul@tungstengraphics.com> fix color interpolation for CHAN_BITS==32
/external/mesa3d/src/mesa/swrast/s_span.c
9dca42a4a10acbf1980c0f2eafb3e28e11ca1bf3 30-Jun-2007 Brian <brian.paul@tungstengraphics.com> Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors were overwritten by interpolating attributes.

Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure
we don't overwrite the values in interpolate_active_attribs().
/external/mesa3d/src/mesa/swrast/s_span.c
1d52b6aaf41b32aaf8d1cdf5a3cd5ff4ecba28f4 22-Jun-2007 Brian <brian.paul@tungstengraphics.com> fix bug rendering points with fragment program (see #11330)
/external/mesa3d/src/mesa/swrast/s_span.c
93becd8a18f6ccf2f86e506ee36fc0bb75787c29 22-Jun-2007 Brian <brian@i915.localnet.net> fix rgba pointer bug hit on zoomed+fogged glDrawPixels
/external/mesa3d/src/mesa/swrast/s_span.c
171dcdfa27dda30916a7f9bfed89577feee5d350 21-Jun-2007 Brian <brian@i915.localnet.net> Another round of fixing attribute interpolation for glDraw/CopyPixels.

Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing
glRead/CopyPixels to prevent the user's colors from getting overwritten
when a fragment program is active.
This was happening in the DRI drivers when MaintainTexEnv program was
used (the texenv fragment program was enabled when _swrast_DrawPixels was
called).
This still isn't an ideal solution, but fixes things for now.
/external/mesa3d/src/mesa/swrast/s_span.c
b9080dd5493eb23af6c5c494550c7b1cb481ca7b 20-Jun-2007 Brian <brian@i915.localnet.net> fix glDrawPixels + fragment program problem
/external/mesa3d/src/mesa/swrast/s_span.c
9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe 20-May-2007 Brian <brian@yutani.localnet.net> Overhaul/simplify SWvertex and SWspan attribute handling.

Instead of separate fog/specular/texcoord/varying code, just treat all of
them as generic attributes. Simplifies the point/line/triangle functions.
/external/mesa3d/src/mesa/swrast/s_span.c
60d136f63c5a5a18b12952ec8e8532cbce086a4d 03-May-2007 Brian <brian@yutani.localnet.net> changes to get DDX/DDY working again
/external/mesa3d/src/mesa/swrast/s_span.c
f793e90e823a58c0408771c38f3a6209f78a3617 21-Apr-2007 Brian <brian@yutani.localnet.net> Fix color sum bug 10688.
/external/mesa3d/src/mesa/swrast/s_span.c
8e6207396c6314d07614c80670f4e3196e3a8551 19-Apr-2007 Brian <brian@yutani.localnet.net> Don't allow deferredTexture if using occlusion query and a frag shader.

Occlusion query might depend on the shader killing/discarding fragments.
Helps fix depth peeling technique.
Also, minor tweaks in interpolate_wpos().
/external/mesa3d/src/mesa/swrast/s_span.c
884af408644e3fa9aa0ffc544f84ec4a7f3a93b9 18-Apr-2007 Brian <brian@yutani.localnet.net> check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669
/external/mesa3d/src/mesa/swrast/s_span.c
8d2d6e5194fb49619ed5125d95f8619bdf3b8106 07-Apr-2007 Brian <brian@yutani.localnet.net> fix comment typo
/external/mesa3d/src/mesa/swrast/s_span.c
38a1c2b4959d35236933c14d3944cce94283ca30 26-Mar-2007 Brian <brian@yutani.localnet.net> Add _swrast_span_default_secondary_color() for use with glBitmap, glDrawPixels, etc.

Secondary color wasn't getting added to post-texture color when drawing
bitmaps, images. See bug 10409.
/external/mesa3d/src/mesa/swrast/s_span.c
c000843a14e73d593d87ff6674d0295d2cb64a12 13-Mar-2007 Brian <brian@yutani.localnet.net> be smarter about which fragment attribs are interpolated before running frag progs
/external/mesa3d/src/mesa/swrast/s_span.c
1c09bcfdda4083636a3ac27d804a34ef87875ce7 12-Mar-2007 Brian <brian@nostromo.localnet.net> Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.

GL_MAX_DRAW_BUFFERS is currently 4.
Added gl_FragData[] output for fragment programs.
In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
/external/mesa3d/src/mesa/swrast/s_span.c
1dca0891492dc5d2974239f04883a41a1738d91f 07-Mar-2007 Brian <brian@yutani.localnet.net> fix deferredTexture bug
/external/mesa3d/src/mesa/swrast/s_span.c
6147ccba630f42a76666d72ef0425c5166bc4018 02-Feb-2007 Brian <brian@yutani.localnet.net> unroll inner loop of interpolate_varying()
/external/mesa3d/src/mesa/swrast/s_span.c
e4f976b8b9d74a74b5816146cb11880c3a493929 02-Feb-2007 Brian <brian@yutani.localnet.net> simplify interpolate_texcoords()
/external/mesa3d/src/mesa/swrast/s_span.c
9ab512ad8cf3a12f4f7f8494fa99bc9389f217db 02-Feb-2007 Brian <brian@yutani.localnet.net> Replace color, z, w, texture interpolants with new generic attrib interpolants.
/external/mesa3d/src/mesa/swrast/s_span.c
462d8f5fafcc5ac69ea89cac1222abadded642e2 02-Feb-2007 Brian <brian@yutani.localnet.net> New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. fields. More to come.
/external/mesa3d/src/mesa/swrast/s_span.c
abeca8d17d0728e68ec0c7cb9d9ca91b06b560d0 01-Feb-2007 Brian <brian@yutani.localnet.net> comments
/external/mesa3d/src/mesa/swrast/s_span.c
f3e507ef9f75dbfc58ccd07b5fe8cfca10d9a9e3 01-Feb-2007 Brian <brian@yutani.localnet.net> New SWspanarrays attribs[] array.

Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed
by FRAG_ATTRIB_* values.
Eliminates need to copy data into fragment program machine input registers.
Will lead to future clean-ups.
/external/mesa3d/src/mesa/swrast/s_span.c
ea8b68e0f7e7a4025ce662d36380157273ce10a3 25-Jan-2007 Brian <brian@nostromo.localnet.net> asst fixes, tranpose span->varying array indexes
/external/mesa3d/src/mesa/swrast/s_span.c
0bf5dbe002a64e198f55724cc1542602c012490f 20-Dec-2006 Brian <brian@yutani.localnet.net> Overhaul of GLSL API functions, dispatching, etc.
/external/mesa3d/src/mesa/swrast/s_span.c
464b9f4f6c6514a7cfcc873923b5c127c1c6f60b 15-Dec-2006 Brian <brian@yutani.localnet.net> varying var changes
/external/mesa3d/src/mesa/swrast/s_span.c
c968d3d410a1897ecbb41d3557adaef69a4c627a 15-Dec-2006 Brian <brian@yutani.localnet.net> Renamed s_nvfragprog.[ch] to s_fragprog.[ch]
/external/mesa3d/src/mesa/swrast/s_span.c
e7e4181361cf2820761c654555f4751e49978a13 14-Dec-2006 Brian <brian@yutani.localnet.net> Remove include of s_arbshader.h
/external/mesa3d/src/mesa/swrast/s_span.c
12ef1fbefcee964b715783d3ade6b69b2c699ed8 13-Dec-2006 Brian <brian@yutani.localnet.net> Checkpoint for GLSL compiler changes.

In brief:
Check for enabled fragment program by looking at ctx->FragmentProgram._Current.
New code for varying variables.
/external/mesa3d/src/mesa/swrast/s_span.c
e6f47d1855354165c6eed5080d8a72024891f10f 01-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> fix some bugs in interpolate_specular()
/external/mesa3d/src/mesa/swrast/s_span.c
0b26e826bda0da7aeec9a79ee07fe21d54bb1263 22-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Color clamping fixes.
/external/mesa3d/src/mesa/swrast/s_span.c
ed324db249d068f14646eced55d106b5fe6b889c 22-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> fix another logic error in computing deferredTexture
/external/mesa3d/src/mesa/swrast/s_span.c
bb19e64d12eaf27e2adc3faac7e09555bb66d724 22-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> For deferredTexture, need to check if the fragment program/shader writes
the fragment Z.
/external/mesa3d/src/mesa/swrast/s_span.c
828d15a6e0907fe4bb7c564d453a2b1a05f109bc 21-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> move interpolate_varying() call
/external/mesa3d/src/mesa/swrast/s_span.c
f614a6190562e550257afca0d04e3846648942e8 21-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Move interpolate_texcoords() and interpolate_varying() calls into shade_texture_span().
Added some INLINE hints.
/external/mesa3d/src/mesa/swrast/s_span.c
61c89be3135cedc795e48d36283769298e250837 20-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Consolidate some code into shade_texture_span().
Clean up logic for deferred texturing/shading.
/external/mesa3d/src/mesa/swrast/s_span.c
c351858de8e51fa4a6425cf176cc43689189f3ff 19-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion
/external/mesa3d/src/mesa/swrast/s_span.c
31293910b4e982f2ef54d79aff78f2f854121da1 19-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> added clamp_colors(), updated assertions
/external/mesa3d/src/mesa/swrast/s_span.c
c3caaa3dd45809e672177ab322445fe51d03af25 18-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Always convert colors to float before running a fragment shader/program.
/external/mesa3d/src/mesa/swrast/s_span.c
e9d7190bb2b1bf3a057e27ecd7e79302360961a1 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Seperate interpolate_colors() and interpolate_specular().
Fix bugs in apply_aa_coverage().
/external/mesa3d/src/mesa/swrast/s_span.c
b88af5b4681d2085cd784b930dc259b66a55347e 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> apply_aa_coverage() for ubyte/ushort/float
/external/mesa3d/src/mesa/swrast/s_span.c
1e3223c02a2f6155beb5784cadbea1f46703829a 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Fix CHAN_BITS=32 issues.
Save/restore array->ChanType in case colors are converted.
/external/mesa3d/src/mesa/swrast/s_span.c
76e778dce59aa6f290db50242df945943fc47b05 13-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Lots of changes to support runtime renderbuffer depths.
_swrast_read_rgba_span() now takes a datatype parameter.
New optimization for glReadPixels(format=GL_RGB).
New glCopyPixels optimization for the simple, common cases.
/external/mesa3d/src/mesa/swrast/s_span.c
f971e24cf0341dd2779196a0836327b74fc82336 12-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> use _mesa_convert_colors(), update some assertions
/external/mesa3d/src/mesa/swrast/s_span.c
e18d0f82b6271103e292fde5bab6fceccb96f90a 06-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> deal with union/aliasing in convert_color_type()
/external/mesa3d/src/mesa/swrast/s_span.c
cdb27e8242215271364602995d85607cfc06d441 01-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> New SWspan and SWspanarrays typedefs.
/external/mesa3d/src/mesa/swrast/s_span.c
d92da49bae30be612efb6ea20bdfda232ee3d01d 29-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> more changes for runtime renderbuffer depths
/external/mesa3d/src/mesa/swrast/s_span.c
a50b7dbc3ba1db8c92b4bbb4f7f06de8d6c039c4 26-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> Initial work for supporting different renderbuffer color depths at runtime.
/external/mesa3d/src/mesa/swrast/s_span.c
f515c78a2320369ead087c4e0efd583f17b4b78b 24-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> Change logicop, blend, masking functions to use the colors/indexes in the
sw_span object, rather than an explicit parameter.
/external/mesa3d/src/mesa/swrast/s_span.c
ba001224a18fa12792696ef393e708e90092127e 24-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().
/external/mesa3d/src/mesa/swrast/s_span.c
7e9799ac3d7f3b1b90f098420d413be95916c541 22-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Use _Enabled rather than _Active when checking for fragment shaders
/external/mesa3d/src/mesa/swrast/s_span.c
365582dd6f632aafbc1c817aa57926d679bb2efc 01-Aug-2006 Michal Krol <mjkrol@gmail.org> Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
/external/mesa3d/src/mesa/swrast/s_span.c
65dccf377de51d6cbc15cb968eec85ba3f1febc1 26-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> fix an assertion
/external/mesa3d/src/mesa/swrast/s_span.c
ee4e75bd6f768b7210436feeb32b4545ed62e025 14-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units
in various places.
Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image
limits when referenced, not just in glActiveTexture().
/external/mesa3d/src/mesa/swrast/s_span.c
bb38cadb1c5f2dc13096a091bdaf61dc3e3cfa4d 11-Apr-2006 Michal Krol <mjkrol@gmail.org> More GLSL code:
- use macros to access and modify render inputs bit-field;
- un-alias generic vertex attributes for ARB vertex calls;
- use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS
(ARB code) in place of VERT_ATTRIB_MAX;
- define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex
attributes for ARB_vertex_shader;
- fix generic attribute index range check in arbprogparse.c;
- interface GLSL varyings between vertex and fragment shader;
- use 64-bit optimised bitset (bitset.h) for render inputs;
/external/mesa3d/src/mesa/swrast/s_span.c
071357096e682e9af59ad45ea5abc444ab431837 21-Mar-2006 Michal Krol <mjkrol@gmail.org> GLSL fixes:
- generate error on NULL pointers in glShaderSourceARB;
- reinstall program object, if current, in glLinkProgramARB;
- vertex and fragment shaders are optional in program object;
- floor asm was wrongly computed for x86 back-end;
- allow for (void) idiom in function prototypes;
- all fixed-state uniforms are updated;
- local variable initializers are working;
- implement texture* and shadow* functions for vertex processor;
- generate error if too many arguments in general constructor;
- trim unused data in general constructor;
- struct r-value field select was badly relocated;

Changes:
- add derived state gl_fog_attrib::_Scale;
- add derived state gl_light::_CosCutoffNeg;
/external/mesa3d/src/mesa/swrast/s_span.c
5e01f9a11489079d8509927774d8239c1857224a 03-Mar-2006 Roland Scheidegger <rscheidegger@gmx.ch> Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z).
/external/mesa3d/src/mesa/swrast/s_span.c
34b60b001de080643aa5b7c9e0145b98b5653ed1 28-Feb-2006 Brian Paul <brian.paul@tungstengraphics.com> check if active fragment shader for deferred texturing/shading
/external/mesa3d/src/mesa/swrast/s_span.c
a66393120411071b3f3ccce8583ab961a2935959 15-Feb-2006 Michal Krol <mjkrol@gmail.org> Add arbshader stage.
/external/mesa3d/src/mesa/swrast/s_span.c
31e739a18931fa48454f172818245b0927c8910f 01-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> get depthBits from the current drawbuffer
/external/mesa3d/src/mesa/swrast/s_span.c
ba3da6154c324cc916845bc5de3de077d0b59ffc 12-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Added OSMesaColorClamp(), bug 4917
/external/mesa3d/src/mesa/swrast/s_span.c
dcf4c17fb1624af47181c63af4c3ad29f919c17a 31-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> check swrast->_FogEnabled instead of ctx->Fog.Enabled
/external/mesa3d/src/mesa/swrast/s_span.c
32340aea1308153dad5c105fc0748aea1e4c37ee 24-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> fragment program writing to result.depth.z was broken
/external/mesa3d/src/mesa/swrast/s_span.c
f493a04be0e004bb07f84b2e28124ed8cb6a9b38 30-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> added _swrast_get_row()
/external/mesa3d/src/mesa/swrast/s_span.c
3fd819aef8139761ce86cb8d763de83a11c81b33 29-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> added _swrast_put_row()
/external/mesa3d/src/mesa/swrast/s_span.c
3e37bafab0a339021354b9c78f983d05d433d735 21-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> replace GLdepth with GLuint and remove GLdepth
/external/mesa3d/src/mesa/swrast/s_span.c
7265556b9aa0367e9b5031e7cb15ed2a5d73866d 20-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Change zLeft and zval to GLuint. Seems to fix 32-bit Z computation
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
e00ac11d4dd05c56584622dc2707bbdcfe4b2707 15-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Replace GLuint with GLbitfield where appropriate. Also replace GLuint
with GLboolean in a few places.
/external/mesa3d/src/mesa/swrast/s_span.c
55187ea63e980b32c7a701855571332f4357d634 15-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Update includes post-splitting of s_texture.c
/external/mesa3d/src/mesa/swrast/s_span.c
acafeeb6dce74382fb3a48b83ab72bf67b7581ea 03-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove last remnants of pre-renderbuffer code.
/external/mesa3d/src/mesa/swrast/s_span.c
3c450b2917ee2eef06197b9ef546f19d06b7d76a 02-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)
/external/mesa3d/src/mesa/swrast/s_span.c
23ffc3a85d6172f8a98d17d7f23610bab808d84e 27-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> Rearrange the code related to GL_ARB_occlusion_object to generalize query
objects for future types of queries.
/external/mesa3d/src/mesa/swrast/s_span.c
6e4f594a02fc384b17d5732be652d7d28618aec2 25-Aug-2005 Brian Paul <brian.paul@tungstengraphics.com> removed GL_HP_occlusion_test extension
/external/mesa3d/src/mesa/swrast/s_span.c
7e152b83cbc3af028175a52450c60101cb16acf8 18-Jul-2005 Brian Paul <brian.paul@tungstengraphics.com> s/clippping/clipping/
/external/mesa3d/src/mesa/swrast/s_span.c
bb5c84fcbc22b4fef28cf4589d6410eb3c35a496 01-Jul-2005 Brian Paul <brian.paul@tungstengraphics.com> Remove NEW_RENDERBUFFER stuff.
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when
all the drivers are updated to no longer need the SetBuffer() function.
/external/mesa3d/src/mesa/swrast/s_span.c
04f863e85669fdf42f3ec401c55b1533e8069dee 21-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> check for NULL swrast->Driver.SetBuffer before calling it
/external/mesa3d/src/mesa/swrast/s_span.c
252d8e78cc07880239b085b713e2d37ddbba86f9 10-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> be sure we have span texcoords before calling _swrast_texture_span()
/external/mesa3d/src/mesa/swrast/s_span.c
df5e2b934bc18cd17ac512e6746df64019014a7d 05-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> set OLD_RENDERBUFFER=0, need to clean up a few more things before totally removing that
/external/mesa3d/src/mesa/swrast/s_span.c
bb8b302dbce4f830d060efecd8a9f75b10e25abb 04-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> remove old span code
/external/mesa3d/src/mesa/swrast/s_span.c
9d148e6b2be33fe7ac72aaa3be239dc1bc8878a9 11-May-2005 Keith Whitwell <keith@tungstengraphics.com> Don't let FragmentProgram._Active influence choice of vertex vs pixel
fog.
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
47b29f511a8e917c65536fde90397d54d2ad23d3 04-May-2005 Keith Whitwell <keith@tungstengraphics.com> Add a facility to route all rasterization through a fragment program
which is automatically generated to match the current texture environment
state. Introduces a new value ctx->FragmentProgram._Active which is
true when either _Enabled is true or there is such a fragment program
ready to run.

To test out on a driver running the software rasterizer, set
MESA_TEX_PROG=t in the environment. It goes without saying that performance
is lower for the software rasterizer in this mode.
/external/mesa3d/src/mesa/swrast/s_span.c
d09df24082d69e534470f9a5f667b30c34ae6d74 26-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> added interpolate_fog()
/external/mesa3d/src/mesa/swrast/s_span.c
7f752fed993e5e9423abac200dd59141edbada56 19-Dec-2004 Dave Airlie <airliedfreedesktop.org> Implement software ATI_fragment_shader

no error detection, slow, may not be 100% correct but a good start
/external/mesa3d/src/mesa/swrast/s_span.c
a803b0c891404dcd7c376e91f6a033cd4e42abc3 18-Dec-2004 Brian Paul <brian.paul@tungstengraphics.com> Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().
/external/mesa3d/src/mesa/swrast/s_span.c
dfe508ca7af1a6d1099cd65e257512ed1e17d893 13-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> Fix minor fog / fragment program state bug.
Don't add diffuse and specular colors when using fragment program.
/external/mesa3d/src/mesa/swrast/s_span.c
53f82c5aadbb15585754bfacf3237093eccdb2ce 02-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> added support for GL_ARB_draw_buffers
/external/mesa3d/src/mesa/swrast/s_span.c
a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 25-Aug-2004 Brian Paul <brian.paul@tungstengraphics.com> Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
/external/mesa3d/src/mesa/swrast/s_span.c
939dd17653245621bf7488803f09418244b7b0b7 24-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> fix HP occlusion testing when using generic span path
/external/mesa3d/src/mesa/swrast/s_span.c
6d460af6af77a0d5a5b568bcd6094b98e249ba93 23-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment
program is enabled AND the currently bound program is valid.
Check _Enable instead of Enable to prevent things from blowing up
when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually
defining a program.
/external/mesa3d/src/mesa/swrast/s_span.c
031e86b59723af208f0602afdcc5b729abc055b7 23-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> remove some errant code from previous check-in
/external/mesa3d/src/mesa/swrast/s_span.c
e63cb85cbc13c083f5d9f4640bb81ba9417a4f28 19-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> do texcoord projective division in _swrast_span_default_texcoords()
/external/mesa3d/src/mesa/swrast/s_span.c
d8b82147c3cb17a06bf41e97141b8427b4580459 18-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.
Some texture instructions were using wrong LOD.
Fixed interpolate_texcoords() so it doesn't do texcoord projective division
when using a fragment program. The TXP instruction does that.
/external/mesa3d/src/mesa/swrast/s_span.c
844585be4c392d7e06a8954e56c3756cafa74a39 24-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)
/external/mesa3d/src/mesa/swrast/s_span.c
894844a8d956a0ee5f95836331dc318f49fdb845 21-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implemented support for software-based AUX color buffers.
Only available with Xlib driver for now.
Assorted clean-ups related to Draw/ReadBuffer().
Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
/external/mesa3d/src/mesa/swrast/s_span.c
e22540c2765e034fed558ea1d44488a03fbba170 03-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/
/external/mesa3d/src/mesa/swrast/s_span.c
09da0b8e6621a831e3eeb9381430f2bed18a22ad 17-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> A bit of an overhaul of the fog code.
glFogCoord didn't always work reliably.
ARB fragment program fog options work now.
Per-fragment fog computations are now perspective corrected.
/external/mesa3d/src/mesa/swrast/s_span.c
18fa367ac6e035341f5eb86ecc4231124b2921e3 27-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single
array, texObj->Image[face][level].
/external/mesa3d/src/mesa/swrast/s_span.c
853bda3e7c4dfa7d8cc462729f6a3dce89e44963 09-Dec-2003 Brian Paul <brian.paul@tungstengraphics.com> Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment
programs are enabled and if they need secondary color input register.
Patch by Karl Rasche, with tweaks by Brian.
/external/mesa3d/src/mesa/swrast/s_span.c
0f3cd3f894612d156de454178effa4c732f96da7 25-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> current raster color index should be GLfloat
/external/mesa3d/src/mesa/swrast/s_span.c
57857ca0925116d6d254fef7e705cfe0b650d77f 12-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> Ville Syrjala's logic op patch
/external/mesa3d/src/mesa/swrast/s_span.c
2b7a01a39ba5257407dddde38ef049856c34aa01 31-Aug-2003 Brian Paul <brian.paul@tungstengraphics.com> always assign texcoord[i][3] to silence valgrind
/external/mesa3d/src/mesa/swrast/s_span.c
b17a722ca3989e8563ee04cb2939f4835f8a171e 13-Jun-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_occlusion_query (not 100% finalized).
/external/mesa3d/src/mesa/swrast/s_span.c
e5b244ff7f984805c1bcc020342f1300f2639c71 21-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_EXT_depth_bounds_test.
/external/mesa3d/src/mesa/swrast/s_span.c
36a0a3252e1e20df69b53f70ba93bc74c4a4bf0e 08-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Added ctx->Texture._EnabledCoordUnits bitfield.
Fixed some vertex array / vertex program glitches with glDrawElements.
Fixed some fragment program runtime bugs.
Non-trivial Cg programs are running now.
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
54e92e8420a028f07b0971ee8aa93be9b4214579 16-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Store partial derivative values in sw_span structure.
Implemented DDX and DDY fragment program instructions (whew!)
Not fully tested yet.
/external/mesa3d/src/mesa/swrast/s_span.c
350353adcd75f94fda63c787c86961716114e0bf 15-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Fix up some fragment program texture enable issues.
Implemented TXD instruction.
/external/mesa3d/src/mesa/swrast/s_span.c
f9b1e5241facc8cf255c258082d5cb5b04783e93 04-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)
/external/mesa3d/src/mesa/swrast/s_span.c
27558a160a9fe91745728d7626995cd88f8fe339 01-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]
Moved type conversion and interpolation macros into macros.h
Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/swrast/s_span.c
6a98bef96189fbacc326ad9e407c1d4423aa8572 27-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> fix float color interpolation (bug 694461)
/external/mesa3d/src/mesa/swrast/s_span.c
610d59981a9f43fefe29b34ef19c184d28e2bef5 14-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> First batch of code for GL_NV_fragment_program.
Re-org of some GL_NV_vertex_program code.
Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
/external/mesa3d/src/mesa/swrast/s_span.c
957a0cdb13d2564a17c1fc9f6600d6cd56cb48d7 26-Nov-2002 Brian Paul <brian.paul@tungstengraphics.com> added missing call to _mesa_write_mono_alpha_span()
/external/mesa3d/src/mesa/swrast/s_span.c
ad8cd6111e022c90c93df106c0fde6f64d205816 09-Nov-2002 Brian Paul <brian.paul@tungstengraphics.com> fix float->int Z calculation in _mesa_span_default_z()
/external/mesa3d/src/mesa/swrast/s_span.c
6ec6b845fdf3c44436028ad6fff9471d18928719 30-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> s/BZERO/_mesa_bzero/
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
8ad1076dc2afda8ed37e5a9f6a757583eba90375 11-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Another round of glRead/DrawBuffer() clean-ups and simplifications.
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer.
Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask.
swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now.
Added tokens and code for GL_AUX buffers, for completeness.
/external/mesa3d/src/mesa/swrast/s_span.c
be99e845bd7979fe46d38d9b294c1ba0a0aa95b8 03-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> finished up GL_EXT_stencil_two_side
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.c
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c 09-Jul-2002 Brian Paul <brian.paul@tungstengraphics.com> Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()
indicates the read AND draw color buffer for all software rasterization.
Lots of related clean-ups. See RELNOTES-4.1 for details.
/external/mesa3d/src/mesa/swrast/s_span.c
8afe7de8deaf3c9613fd68b344de8c52b02b1879 15-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_NV_texture_rectangle extension.
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
field is obsolete, but still present for now. This effectively
removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.
/external/mesa3d/src/mesa/swrast/s_span.c
4753d60dd070bb08d0116076bcc08025c86ce857 15-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Added ctx parameter to _mesa_debug()
Added _mesa_printf()
Updated SetDrawBuffer() function in all drivers (ala 4.0.3)
Import 4.0.3/DRI changes.
/external/mesa3d/src/mesa/swrast/s_span.c
f595212336ae63c981f0f39f4ea1dec67ff7fe25 02-May-2002 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_texture_env_crossbar.
Simplification of some of the texture application code.
/external/mesa3d/src/mesa/swrast/s_span.c
1113e3266f1a9df3506fb80189bfe00d9681b55e 20-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed Width/Height cut&paste typo
/external/mesa3d/src/mesa/swrast/s_span.c
26e2fb062ad4513fe88cd7c40384c58b70d88819 19-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> removed a stray debug printf
/external/mesa3d/src/mesa/swrast/s_span.c
a670c1280b78e6da3b298b61f623e4c733c6be94 19-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> casts to fix GLint/GLuint mismatches
/external/mesa3d/src/mesa/swrast/s_span.c
b7f5e92f1749ce4601a758f66ddc64959f11742b 12-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive
type, width, interp mask and array mask.
/external/mesa3d/src/mesa/swrast/s_span.c
31f12f504e61cb2ad65b8890a68eb7154edcb64b 16-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> New mipmap lambda calculation. Previously, trilinear filtering could
result in _very_ blurry textures. Still need to do some optimization
of the new code in s_span.c
/external/mesa3d/src/mesa/swrast/s_span.c
711e27fda27e4235b20a4cf73c2767c984ab2b81 17-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> Simplified fog code.
/external/mesa3d/src/mesa/swrast/s_span.c
c14a5a6c6285b29860a722359faa11a16da4eac9 17-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> Optimized the interpolate_texcoords() function:
Use fast approximation to log().
Check for dq==0 to avoid a per-pixel divide.
/external/mesa3d/src/mesa/swrast/s_span.c
c9ceef41fe89f5ba6e16ec51c1f9b7bfd8119c64 15-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> GL_ARB_window_pos fog fix
/external/mesa3d/src/mesa/swrast/s_span.c
95e2c72fd52d87163eb543555345f115f050f3aa 14-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> minor clean-up
/external/mesa3d/src/mesa/swrast/s_span.c
bcb148de9201c7f90a68c7c46434e7ebf7204000 06-Feb-2002 Brian Paul <brian.paul@tungstengraphics.com> added an assertion, fix typo
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.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_span.c
ceb39f4f8dc4863fde17d668c752533a2184476e 31-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Clean-up and optimize alpha test code.
Major clean-up of pixel zoom code.
/external/mesa3d/src/mesa/swrast/s_span.c
6e1666437ea091ecc50ab2b56d87129318f641d2 28-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Still more texture/span simplification and clean-up.
Updated comments, fixed indentation, etc.
/external/mesa3d/src/mesa/swrast/s_span.c
7956292a765910077f50352d7cd0174e1e66d26c 28-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> More span improvements. Removed _mesa_write_monocolor_span().
Removed last of span.filled* flags and Klaus's macros.
More simplification of triangle functions.
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.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_span.c
78940758e90069ceaca2b6cddb6438488fbad5cc 16-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> latest changes from Klaus
/external/mesa3d/src/mesa/swrast/s_span.c
9927f1978da8530416f699d084dda099720e43e6 10-Jan-2002 Brian Paul <brian.paul@tungstengraphics.com> Klaus's latest patches: change texcoord[3] to texcoord[4] everywhere
/external/mesa3d/src/mesa/swrast/s_span.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_span.c
71340e861edf35bfdeb536718cd230fc33c41ee2 19-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> More span rendering optimizations from Klaus Niederkrueger
/external/mesa3d/src/mesa/swrast/s_span.c
5d2621928823a06006c1586efe78fe8bf65a7e1f 18-Oct-2001 Brian Paul <brian.paul@tungstengraphics.com> added a few comments
/external/mesa3d/src/mesa/swrast/s_span.c
60174c1aef7c6650a800f16f103a4f9ed2d1004e 14-Aug-2001 Brian Paul <brian.paul@tungstengraphics.com> Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now.
/external/mesa3d/src/mesa/swrast/s_span.c
4fa5c1966a985f81c615a9f5ef2f64dd466b252a 23-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> don't clamp colors if GLchan==GLfloat in add_colors()
/external/mesa3d/src/mesa/swrast/s_span.c
af197f5f8f182c04ab29cd3c7a18a0cb95a1d9b7 19-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.
/external/mesa3d/src/mesa/swrast/s_span.c
5071b0812fc73bcba92e2b6fcbad2f53f063fc32 15-May-2001 Brian Paul <brian.paul@tungstengraphics.com> Apply antialiasing coverage factor to alpha after texture application,
not before.
/external/mesa3d/src/mesa/swrast/s_span.c
1b3528fe635242f782fbcdde3ba74b5b7359a362 04-May-2001 Brian Paul <brian.paul@tungstengraphics.com> interpolate fog valus as floats, not fixed - fixed the swrast fog problem
/external/mesa3d/src/mesa/swrast/s_span.c
709892459922a32096fe9dd8261d0d92337bb02f 19-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.c
c499ce31baf820e84d133c2189f88e15a1a36672 20-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.
Added some const keywords in the s/w texturing code.
/external/mesa3d/src/mesa/swrast/s_span.c
86ca15ece74ccb5a8f4d566a4b2c8024b178d73b 15-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> minor scissor optimizations (Klaus Niederkrueger)
/external/mesa3d/src/mesa/swrast/s_span.c
4e492363f01e6700fc49d13d61c56a70fc23308d 14-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> removed a misplaced _mesa_logicop_ci_span() call
/external/mesa3d/src/mesa/swrast/s_span.c
8cbc573eae500aff6d121b2eef93fb00822622f1 05-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> Fixed bug in MinMagThresh computation.
Renamed gl_texture_pixels() to _swrast_texture_fragments()
/external/mesa3d/src/mesa/swrast/s_span.c
b38ad54c41aec2d08fdd26a4a8ea4dcdca8b1dfd 12-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> clipping, fog, texture optimizations (Klaus Niederkrueger)
/external/mesa3d/src/mesa/swrast/s_span.c
c19d783e0715ac01ad4d3fd0705500d2bf6f7039 14-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Removed Driver.Color() and Driver.Index() functions.
Pass color or color index directly to WriteMono*() span functions.
Updated current s/w drivers accordingly.
Clean-up of X gc handling in XMesa driver.
/external/mesa3d/src/mesa/swrast/s_span.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_span.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_span.c
e3a051e0538a605551f4d58294c94f5eb00ed07f 31-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Moved software rasterizer functionality to new directory.
/external/mesa3d/src/mesa/swrast/s_span.c