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_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
e5ed4c45c675ebdd595ad0d31f2835f8b2b8dc57 |
|
25-Feb-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
swrast: Remove support for rendering antialiased lines into a color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
8fb727548a652c47d8cf9593e2ae412ef2040119 |
|
07-Jan-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
fcd7c37fd3d0f61cf6ac81170bc0b3fca64ad9bb |
|
30-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix broken two-sided stencil
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
af2aa8e9cf88a9ee3ec338eddc9a47bf2f142cb7 |
|
21-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove ctx->Point._Size and ctx->Line._Width. The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
f4b103dc993491355ec3e3640d9cb060138175c2 |
|
30-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify INIT_SPAN code
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
5237f863edf4f61447b9b436e2fc4efb4ee819f1 |
|
26-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
check for flat/smooth interp for generic/specular attrib
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
bfaf6156fbc81c8073b7562365331d306d4de75a |
|
28-Apr-2007 |
Keith Packard <keithp@keithp.com> |
additional checks that attr is a texcoord
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
eca456b63d41700617987ba45a09e8f2168b9577 |
|
25-Apr-2007 |
Brian <brian@yutani.localnet.net> |
s/DO_TEXVAR/DO_ATTRIBS/
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
afc132e7a9c2b2c870b61ef10311272b36ea9bf2 |
|
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
remove SWvertex->fog field, use attrib field
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
0bdf216dd06d5136b8529297297aa962bab548c2 |
|
24-Apr-2007 |
Brian <brian@nostromo.localnet.net> |
Improve the code for interpolating fragment attributes a little. More to come...
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
3e45db67294faaf0a06c42bdd6dbdb96f87c8801 |
|
27-Mar-2007 |
Brian <brian@nostromo.localnet.net> |
Restore the UseTexEnvProgram logic. Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
dd34fe8679fa200e55cfaf8e80bbecdecea084e3 |
|
05-Feb-2007 |
Brian <brian@nostromo.localnet.net> |
Merge SWvertex texcoord and varying fields into attrib[] array field. Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
3e37bafab0a339021354b9c78f983d05d433d735 |
|
21-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
replace GLdepth with GLuint and remove GLdepth
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
54ef88109b3e135f7cc1feabbbc7dbf640a5d8cc |
|
29-Dec-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
use clamped Line._Width in calculations
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
8662c5d98febd8efaf5f8ee47d34c7fcfd597ce3 |
|
16-Dec-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
fix typos in texcoord setup - fixes perspective correction bug
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
1e4731f6443a6efdfc4e425977490ddd5387caa3 |
|
09-Mar-2004 |
Brian Paul <brian.paul@tungstengraphics.com> |
Fix color index mode rendering. Changed SWvertex's index field to GLfloat and fix a few other bits.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
3a4231e132bf56d15679c9608b6d5a100d06d9dd |
|
21-Feb-2003 |
Brian Paul <brian.paul@tungstengraphics.com> |
use IROUND to convert depth values from float to int (bug 690728)
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
bf80e1ed620836e2ca0dd3f7d2d4cb187d17563d |
|
19-Apr-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
Allocate a sw_span struct in the swrast context instead of allocating it on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
7c8b5399f079e35a5b5d91fc7c59a2d969b51d85 |
|
28-Mar-2002 |
Brian Paul <brian.paul@tungstengraphics.com> |
reset span.end to zero after rendering the span
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
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_aalinetemp.h
|
ef4f5b391e560e535b25b372f797e41edeef09f1 |
|
05-Dec-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
add inf and nan tests to swrast functions
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
7c4268176eaaeb45003db4d5042a518b84c9f6dc |
|
19-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
silence compiler warnings (last batch for src)
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
7b9fe820a3fba3849864682fbb1cb512362934ab |
|
19-Sep-2001 |
Karl Schultz <kschultz@freedesktop.org> |
more compiler warning fixes
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
6b1e4ea5a54ea852a904440cd9fa50251f63f64c |
|
21-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed a number of multi-texture line bugs
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
1341f40dfede5324a56ae20651bf5daf2f872bf6 |
|
17-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
removed (void) index; statement
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
dbed2027444338dc09fc102d6f4bd5c707c238d7 |
|
10-May-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
fixed some divide by zero problems found w/ conform
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
22144ab7552f0799bcfca506bf4ffa7f70a06649 |
|
12-Mar-2001 |
Gareth Hughes <gareth@valinux.com> |
Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
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_aalinetemp.h
|
426628c374d043c5ae2bb73079aff577fc31c138 |
|
30-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
last segment of AA stippled lines wasn't drawn
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
58e991705392a2e17a1c8b034f4083a0adaf1943 |
|
05-Jan-2001 |
Keith Whitwell <keith@tungstengraphics.com> |
Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
6517211e12c4f19c784b31727f6052561956fb7b |
|
04-Jan-2001 |
Brian Paul <brian.paul@tungstengraphics.com> |
added divide by zero check
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
a852378a6289d154364dde440f89a39bbfc33e2d |
|
20-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars. Completely removed the dirty texture object list. Set texObj->Complete to GL_FALSE to indicate dirty. Made point/line/triangle/quad SWvertex parameters const. Minor code clean-ups.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|
7798374e472a8fa2f8699d38873e6b8490d853a4 |
|
06-Nov-2000 |
Brian Paul <brian.paul@tungstengraphics.com> |
New implementation of antialiased lines. Mesa should now pass the remaining GL conformance tests for AA lines (but not tried yet). TODO: improve code sharing with the AA triangle code.
/external/mesa3d/src/mesa/swrast/s_aalinetemp.h
|