mesa.git
16 years agocell: Fixed bug with absolute, negate, set-negative logic in source fetch for TGSI...
Jonathan White [Mon, 22 Sep 2008 20:33:53 +0000 (14:33 -0600)]
cell: Fixed bug with absolute, negate, set-negative logic in source fetch for TGSI instructions.   The logic should operate on the origin channel not the swizzled channel.
 Please enter the commit message for your changes.

16 years agocell: Added TRUNC, SWZ (extended) and XPD instructions, verified against softpipe...
Jonathan White [Mon, 22 Sep 2008 19:13:50 +0000 (13:13 -0600)]
cell: Added TRUNC, SWZ (extended) and XPD instructions, verified against softpipe.  Optimized FLR and FRC.  Fixed writeback logic for DP3, DP4 and DPH.

16 years agocell: Added DPH instruction and verified against softpipe.
Jonathan White [Mon, 22 Sep 2008 16:54:50 +0000 (10:54 -0600)]
cell: Added DPH instruction and verified against softpipe.

16 years agor300: Adapt to the removal of _tnl_ProgramCacheInit() and friends.
Michel Dänzer [Mon, 22 Sep 2008 09:49:34 +0000 (11:49 +0200)]
r300: Adapt to the removal of _tnl_ProgramCacheInit() and friends.

16 years agoRemove incorrect test from mmAllocMem.
Michel Dänzer [Mon, 22 Sep 2008 09:48:26 +0000 (11:48 +0200)]
Remove incorrect test from mmAllocMem.

0 is a perfectly valid alignment shift, see e.g. driTexturesGone() which was
broken by this.

16 years agomesa: Remove left over merge conflicts
Jakob Bornecrantz [Mon, 22 Sep 2008 10:47:57 +0000 (12:47 +0200)]
mesa: Remove left over merge conflicts

16 years agoMerge branch 'master' into gallium-0.2
Keith Whitwell [Mon, 22 Sep 2008 05:30:55 +0000 (22:30 -0700)]
Merge branch 'master' into gallium-0.2

Conflicts:

src/mesa/glapi/glapi.h
src/mesa/main/api_exec.c
src/mesa/main/attrib.c
src/mesa/main/clear.c
src/mesa/main/context.c
src/mesa/main/mfeatures.h
src/mesa/main/mipmap.c
src/mesa/main/mipmap.h
src/mesa/main/readpix.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texformat.c
src/mesa/main/texparam.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_context.c
src/mesa/x86/common_x86_asm.S

16 years agomesa: allow for extra per-context init
Brian Paul [Wed, 20 Aug 2008 00:14:15 +0000 (18:14 -0600)]
mesa: allow for extra per-context init
(cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2)

16 years agomesa: texture crop rect state
Brian Paul [Tue, 12 Aug 2008 23:41:57 +0000 (17:41 -0600)]
mesa: texture crop rect state
(cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)

16 years agomesa: set point state
Brian Paul [Tue, 12 Aug 2008 16:00:36 +0000 (10:00 -0600)]
mesa: set point state
(cherry picked from commit af3d9dba562813ffed71691bffd7faf6665c4487)

16 years agomesa: fix some feature tests
Brian Paul [Fri, 8 Aug 2008 19:06:54 +0000 (13:06 -0600)]
mesa: fix some feature tests
(cherry picked from commit 74b14fe6ddbece8bc662aac4d3b2b18d8d853486)

16 years agomesa: fix some pixel transfer state tests for depth formats
Brian Paul [Fri, 8 Aug 2008 18:29:48 +0000 (12:29 -0600)]
mesa: fix some pixel transfer state tests for depth formats
(cherry picked from commit 966e199e409a1b52eef88e48997442250997f45e)

16 years agomesa: fix issues causing warnings on Windows
Brian Paul [Fri, 25 Jul 2008 14:34:54 +0000 (08:34 -0600)]
mesa: fix issues causing warnings on Windows

16 years agomesa: Silence compiler warnings on Windows.
Michal Krol [Tue, 15 Jul 2008 09:15:27 +0000 (11:15 +0200)]
mesa: Silence compiler warnings on Windows.

16 years agomesa: comments about vectors vs components
Brian Paul [Mon, 14 Jul 2008 17:20:58 +0000 (11:20 -0600)]
mesa: comments about vectors vs components

16 years agomesa: remove debug code
Brian Paul [Tue, 8 Jul 2008 22:58:50 +0000 (16:58 -0600)]
mesa: remove debug code

16 years agomesa: implement glGetUniformiv() with new ctx->Driver function
Brian Paul [Tue, 8 Jul 2008 22:12:01 +0000 (16:12 -0600)]
mesa: implement glGetUniformiv() with new ctx->Driver function

The old implementation could overwrite the caller's param buffer.

16 years agomesa: added case for fixed pt
Brian Paul [Thu, 3 Jul 2008 20:12:27 +0000 (14:12 -0600)]
mesa: added case for fixed pt

16 years agomesa: point size arrays
Brian Paul [Wed, 25 Jun 2008 14:45:14 +0000 (08:45 -0600)]
mesa: point size arrays

16 years agomesa: Replace deprecated __MSC__ macro.
José Fonseca [Tue, 24 Jun 2008 05:02:24 +0000 (14:02 +0900)]
mesa: Replace deprecated __MSC__ macro.

16 years agomesa: More signed/unsigned float/integer fixes.
José Fonseca [Tue, 24 Jun 2008 04:12:41 +0000 (13:12 +0900)]
mesa: More signed/unsigned float/integer fixes.

16 years agomesa: Use appropriate unsigned/signed, float/integer types.
José Fonseca [Tue, 24 Jun 2008 02:34:46 +0000 (11:34 +0900)]
mesa: Use appropriate unsigned/signed, float/integer types.

16 years agomesa: Use _mesa_bsearch.
José Fonseca [Tue, 24 Jun 2008 02:33:03 +0000 (11:33 +0900)]
mesa: Use _mesa_bsearch.

16 years agomesa: bsearch implementation for WinCE.
José Fonseca [Tue, 24 Jun 2008 01:58:55 +0000 (10:58 +0900)]
mesa: bsearch implementation for WinCE.

16 years agomesa: ASSERT macro is already defined by WinCE headers.
José Fonseca [Mon, 23 Jun 2008 17:37:21 +0000 (02:37 +0900)]
mesa: ASSERT macro is already defined by WinCE headers.

Even when just the standard headers are used....

16 years agomesa: init ctx->RenderMode
Brian Paul [Fri, 20 Jun 2008 20:29:49 +0000 (14:29 -0600)]
mesa: init ctx->RenderMode

16 years agomesa: GL_BYTE vertex/texcoord arrays
Brian Paul [Fri, 20 Jun 2008 17:49:25 +0000 (11:49 -0600)]
mesa: GL_BYTE vertex/texcoord arrays

16 years agomesa: initial support for fixed-pt vertex arrays
Brian Paul [Fri, 20 Jun 2008 17:32:22 +0000 (11:32 -0600)]
mesa: initial support for fixed-pt vertex arrays

16 years agomesa: refactor: move initialization of DefaultPacking state.
Brian Paul [Fri, 20 Jun 2008 17:31:05 +0000 (11:31 -0600)]
mesa: refactor: move initialization of DefaultPacking state.

16 years agomesa: fix errors in prev commit
Brian Paul [Fri, 20 Jun 2008 17:15:30 +0000 (11:15 -0600)]
mesa: fix errors in prev commit

16 years agomesa: revamp glBlendFunc loopback
Brian Paul [Fri, 20 Jun 2008 17:05:00 +0000 (11:05 -0600)]
mesa: revamp glBlendFunc loopback

16 years agomesa: fix some FEATURE_x tests
Brian Paul [Fri, 20 Jun 2008 16:47:38 +0000 (10:47 -0600)]
mesa: fix some FEATURE_x tests

16 years agomesa: test for FEATURE_ATI_fragment_shader
Brian Paul [Fri, 20 Jun 2008 14:07:38 +0000 (08:07 -0600)]
mesa: test for FEATURE_ATI_fragment_shader

16 years agomesa: fix ReadBuffer initialization
Brian Paul [Wed, 18 Jun 2008 15:30:13 +0000 (09:30 -0600)]
mesa: fix ReadBuffer initialization

16 years agomesa: FEATURE_dispatch to control dispatch table usage
Brian Paul [Tue, 17 Jun 2008 22:56:32 +0000 (16:56 -0600)]
mesa: FEATURE_dispatch to control dispatch table usage

16 years agomesa: move some glapi bits around
Brian Paul [Fri, 13 Jun 2008 22:45:15 +0000 (16:45 -0600)]
mesa: move some glapi bits around

Move _glapi_proc typedef from glapitable.h to glapi.h
Also, don't include glapitable.h from glapi.h
Before we were including the huge glapitable.h file in every .c file.

16 years agomesa: remove some temp debug code
Brian Paul [Fri, 13 Jun 2008 20:13:25 +0000 (14:13 -0600)]
mesa: remove some temp debug code

16 years agomesa: check FEATURE_ARB_occlusion_query
Brian Paul [Fri, 13 Jun 2008 19:56:53 +0000 (13:56 -0600)]
mesa: check FEATURE_ARB_occlusion_query

16 years agomesa: fix typo: s/stacks/stack/
Brian Paul [Fri, 13 Jun 2008 15:10:09 +0000 (09:10 -0600)]
mesa: fix typo: s/stacks/stack/

16 years agocode refactoring, new next_mipmap_level_size() function
Brian [Mon, 11 Feb 2008 16:43:30 +0000 (09:43 -0700)]
code refactoring, new next_mipmap_level_size() function
(cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44)

16 years agoadded _mesa_tex_target_to_face()
Brian [Mon, 11 Feb 2008 16:33:28 +0000 (09:33 -0700)]
added _mesa_tex_target_to_face()
(cherry picked from commit b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e)

16 years agorefactor code, export _mesa_generate_mipmap_level()
Brian [Fri, 8 Feb 2008 23:56:21 +0000 (16:56 -0700)]
refactor code, export _mesa_generate_mipmap_level()

16 years agomove _mesa_format_to_type_and_comps() to texformat.c
Brian [Fri, 8 Feb 2008 23:46:12 +0000 (16:46 -0700)]
move _mesa_format_to_type_and_comps() to texformat.c
(cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)

16 years agomesa: pull in mipmap.c changes from gallium-0.2
Keith Whitwell [Mon, 22 Sep 2008 03:09:31 +0000 (20:09 -0700)]
mesa: pull in mipmap.c changes from gallium-0.2

16 years agomesa: remove unneeded #include
Brian Paul [Thu, 12 Jun 2008 22:48:24 +0000 (16:48 -0600)]
mesa: remove unneeded #include
(cherry picked from commit 6363960db55769db73021081b60f1028723d9f58)

16 years agomesa: refactor: move various ENUM_TO_x macros into macros.h
Brian Paul [Thu, 12 Jun 2008 02:13:07 +0000 (20:13 -0600)]
mesa: refactor: move various ENUM_TO_x macros into macros.h

16 years agomesa: refactor: move glTexParameter-related functions into new texparam.c file
Brian Paul [Thu, 12 Jun 2008 02:05:53 +0000 (20:05 -0600)]
mesa: refactor: move glTexParameter-related functions into new texparam.c file

16 years agomesa: refactor: move glTexEnv-related functions into new texenv.c file
Brian Paul [Thu, 12 Jun 2008 01:58:30 +0000 (19:58 -0600)]
mesa: refactor: move glTexEnv-related functions into new texenv.c file
(cherry picked from commit 7ecac78ab53016ae3db3dd601b187cb050037463)

16 years agomesa: refactor: move glTexGen-related functions into new texgen.c file
Brian Paul [Thu, 12 Jun 2008 01:48:01 +0000 (19:48 -0600)]
mesa: refactor: move glTexGen-related functions into new texgen.c file
(cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)

16 years agomesa: refactor: fix some FEATURE_ typos, mistakes
Brian Paul [Tue, 10 Jun 2008 22:43:49 +0000 (16:43 -0600)]
mesa: refactor: fix some FEATURE_ typos, mistakes
(cherry picked from commit e4cfe0854ad968193106048179b9b52ec1768f41)

16 years agomesa: refactor: move #define FEATURE flags into new mfeatures.h file
Keith Whitwell [Mon, 22 Sep 2008 02:29:15 +0000 (19:29 -0700)]
mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
(cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1)

Conflicts:

src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c

16 years agomesa: refactor: move _mesa_update_minmax/histogram() into image.c
Brian Paul [Mon, 9 Jun 2008 21:14:02 +0000 (15:14 -0600)]
mesa: refactor: move _mesa_update_minmax/histogram() into image.c
(cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174)

16 years agomesa: refactor: move multisample-related functions into new multisample.c file
Brian Paul [Mon, 9 Jun 2008 21:09:21 +0000 (15:09 -0600)]
mesa: refactor: move multisample-related functions into new multisample.c file

16 years agomesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c
Brian Paul [Mon, 9 Jun 2008 21:04:31 +0000 (15:04 -0600)]
mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to framebuffer.c
(cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)

16 years agomesa: refactor: move glClear, glClearColor into new clear.c file.
Brian Paul [Mon, 9 Jun 2008 21:01:02 +0000 (15:01 -0600)]
mesa: refactor: move glClear, glClearColor into new clear.c file.

16 years agomesa: refactor: move scissor functions into new scissor.c file
Brian Paul [Mon, 9 Jun 2008 20:55:24 +0000 (14:55 -0600)]
mesa: refactor: move scissor functions into new scissor.c file
(cherry picked from commit 4be7296bfcba22a849f949d105ea385e6964cc25)

16 years agomesa: refactor: move pixel map/scale/bias code into image.c
Brian Paul [Mon, 9 Jun 2008 20:32:27 +0000 (14:32 -0600)]
mesa: refactor: move pixel map/scale/bias code into image.c

pixel.c is just the API-related code now.

16 years agomesa: refactor: new _mesa_init_pixelstore() function
Brian Paul [Mon, 9 Jun 2008 20:25:23 +0000 (14:25 -0600)]
mesa: refactor: new _mesa_init_pixelstore() function
(cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)

16 years agomesa: refactor: move _mesa_init_exec_table() into new api_exec.c file
Brian Paul [Mon, 9 Jun 2008 20:49:04 +0000 (14:49 -0600)]
mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file
(cherry picked from commit b36e6f0baf64491772b8e1a1cddf68a7dcf8ee22)

16 years agomesa: refactor: move glReadPixels code into new readpix.c file
Brian Paul [Mon, 9 Jun 2008 20:22:15 +0000 (14:22 -0600)]
mesa: refactor: move glReadPixels code into new readpix.c file

16 years agoAdd some FLUSH_CURRENT() calls.
Brian [Wed, 17 Oct 2007 22:18:45 +0000 (16:18 -0600)]
Add some FLUSH_CURRENT() calls.

Without these we can find ourselves in _mesa_load_state_parameters()
computing derived lighting/material values whhen the current material
properties haven't been updated from the VBO.
This may be a somewhat wide-spread problem that needs more attention...
(cherry picked from commit 49adf51eeec31c9f3c995a70acc5008522689708)

16 years agomesa: refactor: move glPixelStore function into new pixelstore.c file
Brian Paul [Mon, 9 Jun 2008 20:14:34 +0000 (14:14 -0600)]
mesa: refactor: move glPixelStore function into new pixelstore.c file

16 years agomesa: remove EXT/NV suffixes from _mesa_PointParameter functions
Brian Paul [Thu, 5 Jun 2008 18:08:19 +0000 (12:08 -0600)]
mesa: remove EXT/NV suffixes from _mesa_PointParameter functions

16 years agoglut: Remove EOF characters.
José Fonseca [Thu, 7 Aug 2008 08:03:30 +0000 (09:03 +0100)]
glut: Remove EOF characters.

16 years agoi965: fix compilation
Benjamin Close [Mon, 22 Sep 2008 02:29:30 +0000 (11:59 +0930)]
i965: fix compilation

Found By: Tinderbox

16 years agogallium: cleanup the after merge framebuffer update code
Zack Rusin [Sun, 21 Sep 2008 22:32:09 +0000 (18:32 -0400)]
gallium: cleanup the after merge framebuffer update code

adjust it and make it behave like it used to

16 years agogallium: fix a fbo crash
Zack Rusin [Sun, 21 Sep 2008 04:20:38 +0000 (00:20 -0400)]
gallium: fix a fbo crash

don't dirty the fb if we're rebining the frontbuffer

16 years agoFix X86 compilation.
Chris Rankin [Sun, 21 Sep 2008 21:56:17 +0000 (23:56 +0200)]
Fix X86 compilation.

16 years agoMerge commit 'origin/gallium-0.1' into gallium-0.2
Keith Whitwell [Sun, 21 Sep 2008 19:22:21 +0000 (12:22 -0700)]
Merge commit 'origin/gallium-0.1' into gallium-0.2

16 years agoswrast: remove merge droppings
Keith Whitwell [Sun, 21 Sep 2008 19:09:12 +0000 (12:09 -0700)]
swrast: remove merge droppings

16 years agoswrast: remove dead file not present in master
Keith Whitwell [Sun, 21 Sep 2008 19:00:37 +0000 (12:00 -0700)]
swrast: remove dead file not present in master

16 years agodrivers/x11: remove early gallium support
Keith Whitwell [Sun, 21 Sep 2008 18:56:45 +0000 (11:56 -0700)]
drivers/x11: remove early gallium support

We originally piggy-backed gallium development in the X11/swrast driver,
but the necessary code has since been moved to its own location in
gallium/winsys/xlib.

Remove the old code from here as we don't want it propogated back to master
in any future merge.

16 years agostate_tracker: remove dead file
Keith Whitwell [Sun, 21 Sep 2008 18:50:46 +0000 (11:50 -0700)]
state_tracker: remove dead file

16 years agogallium: remove files not in master
Keith Whitwell [Sat, 20 Sep 2008 14:56:03 +0000 (07:56 -0700)]
gallium: remove files not in master

Remove git droppings we've accumulated somehow.

16 years agogallium: remove remnants of an nouveau driver
Keith Whitwell [Sat, 20 Sep 2008 14:50:22 +0000 (07:50 -0700)]
gallium: remove remnants of an nouveau driver

This isn't present on master, so probably shouldn't be here either.

16 years agoswrast: remove merge droppings
Keith Whitwell [Sun, 21 Sep 2008 18:46:36 +0000 (11:46 -0700)]
swrast: remove merge droppings

16 years agoMerge branch 'master' into gallium-0.2
Keith Whitwell [Sun, 21 Sep 2008 18:01:22 +0000 (11:01 -0700)]
Merge branch 'master' into gallium-0.2

16 years agoRemove CVS keywords.
Keith Whitwell [Sun, 21 Sep 2008 18:00:44 +0000 (11:00 -0700)]
Remove CVS keywords.

Cherry-picked from gallium-0.1

Conflicts:

src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
src/glx/x11/glxclient.h
src/glx/x11/glxext.c
src/mesa/drivers/dri/ffb/ffb_dd.h
src/mesa/drivers/dri/ffb/ffb_points.h
src/mesa/drivers/dri/gamma/gamma_context.h
src/mesa/drivers/dri/gamma/gamma_macros.h
src/mesa/drivers/dri/i810/i810context.h
src/mesa/drivers/dri/r128/r128_dd.h
src/mesa/drivers/dri/tdfx/tdfx_dd.h

16 years agoMerge branch 'master' into gallium-0.2
Keith Whitwell [Sun, 21 Sep 2008 17:49:38 +0000 (10:49 -0700)]
Merge branch 'master' into gallium-0.2

16 years agomesa: Prefix main includes with dir to avoid conflicts.
José Fonseca [Wed, 23 Jul 2008 12:06:01 +0000 (21:06 +0900)]
mesa: Prefix main includes with dir to avoid conflicts.

Eliminate a couple of differences with gallium-0.2

16 years agoMerge branch 'master' into gallium-0.2
Keith Whitwell [Sun, 21 Sep 2008 17:34:25 +0000 (10:34 -0700)]
Merge branch 'master' into gallium-0.2

16 years agomesa: remove dead file
Keith Whitwell [Fri, 12 Sep 2008 14:03:19 +0000 (15:03 +0100)]
mesa: remove dead file

16 years agomesa: add explict float casts
Keith Whitwell [Fri, 12 Sep 2008 14:02:50 +0000 (15:02 +0100)]
mesa: add explict float casts

16 years agoMerge branch 'master' into gallium-0.2
Keith Whitwell [Sun, 21 Sep 2008 17:28:06 +0000 (10:28 -0700)]
Merge branch 'master' into gallium-0.2

Conflicts:

include/GLES/egl.h
include/GLES/egltypes.h
src/egl/main/eglconfig.c
src/egl/main/eglconfig.h
src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
src/glx/x11/Makefile
src/glx/x11/glxclient.h
src/glx/x11/glxext.c
src/mesa/drivers/dri/ffb/ffb_dd.h
src/mesa/drivers/dri/ffb/ffb_points.h
src/mesa/drivers/dri/gamma/gamma_context.h
src/mesa/drivers/dri/gamma/gamma_macros.h
src/mesa/drivers/dri/i810/i810context.h
src/mesa/drivers/dri/r128/r128_dd.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/tdfx/tdfx_dd.h
src/mesa/drivers/x11/xm_buffer.c
src/mesa/glapi/glapi.c
src/mesa/main/dispatch.c
src/mesa/main/state.c
src/mesa/main/texstate.c
src/mesa/shader/arbprogparse.c
src/mesa/shader/arbprogram.c
src/mesa/shader/nvfragparse.c
src/mesa/shader/nvprogram.c
src/mesa/shader/shader_api.c
src/mesa/sources
src/mesa/swrast/s_aaline.c
src/mesa/swrast/s_aaline.h
src/mesa/swrast/s_aatriangle.h
src/mesa/swrast/s_accum.c
src/mesa/swrast/s_alpha.h
src/mesa/swrast/s_bitmap.c
src/mesa/swrast/s_blend.h
src/mesa/swrast/s_context.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/s_depth.c
src/mesa/swrast/s_depth.h
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_drawpix.h
src/mesa/swrast/s_feedback.c
src/mesa/swrast/s_feedback.h
src/mesa/swrast/s_fog.h
src/mesa/swrast/s_lines.h
src/mesa/swrast/s_logic.h
src/mesa/swrast/s_masking.h
src/mesa/swrast/s_points.c
src/mesa/swrast/s_points.h
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_span.h
src/mesa/swrast/s_stencil.h
src/mesa/swrast/s_texcombine.c
src/mesa/swrast/s_texcombine.h
src/mesa/swrast/s_texfilter.c
src/mesa/swrast/s_texfilter.h
src/mesa/swrast/s_texstore.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_triangle.h
src/mesa/swrast/s_zoom.h
src/mesa/swrast_setup/ss_context.c
src/mesa/swrast_setup/ss_triangle.h
src/mesa/tnl/t_draw.c
src/mesa/tnl/t_vb_light.c
src/mesa/tnl/t_vertex_generic.c
src/mesa/tnl/t_vertex_sse.c
src/mesa/tnl/t_vp_build.h
src/mesa/tnl/tnl.h
src/mesa/x86/common_x86.c

16 years agomesa: move fixed function vertex program builder from tnl to core mesa
Keith Whitwell [Sat, 20 Sep 2008 15:26:11 +0000 (08:26 -0700)]
mesa: move fixed function vertex program builder from tnl to core mesa

Also unify caching of fragment and vertex programs in shader/prog_cache.c`

Brought across from gallium-0.2

16 years agomesa: add parenthesis
Brian Paul [Tue, 17 Jun 2008 17:29:59 +0000 (11:29 -0600)]
mesa: add parenthesis

(cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)

16 years agomesa: standardize on C99's uint*_t instead of u_int*_t
Keith Whitwell [Sat, 20 Sep 2008 14:32:30 +0000 (07:32 -0700)]
mesa: standardize on C99's uint*_t instead of u_int*_t

16 years agomesa: Remove assyntax.h include from generated matypes.h.
José Fonseca [Wed, 4 Jun 2008 14:55:55 +0000 (23:55 +0900)]
mesa: Remove assyntax.h include from generated matypes.h.

matypes.h doesn't really depend on assyntax.h; assyntax.h is only present
on x86; and this way we remove the need of grep being available (which is
relevant for scons and non-unix platforms).
(cherry picked from commit fc286ff3ba089af5f1aca2d35b93b53a9383b1cf)

16 years agomesa: move rastpos helper to tnl
Keith Whitwell [Sat, 20 Sep 2008 13:43:24 +0000 (06:43 -0700)]
mesa: move rastpos helper to tnl

16 years agomesa: improved driver query interface
Keith Whitwell [Sat, 20 Sep 2008 13:34:23 +0000 (06:34 -0700)]
mesa: improved driver query interface

Brought over from gallium-0.2 branch.

16 years agocell: use different opcodes for spe_move() depending on even/odd address
Brian Paul [Fri, 19 Sep 2008 23:55:54 +0000 (17:55 -0600)]
cell: use different opcodes for spe_move() depending on even/odd address

16 years agocell: make sure the fragment ops and fragment shader code buffer is at a 32-byte...
Brian Paul [Fri, 19 Sep 2008 23:55:10 +0000 (17:55 -0600)]
cell: make sure the fragment ops and fragment shader code buffer is at a 32-byte boundary

To make sure even/odd instructions hit the right pipes.

16 years agogallium: added ALIGN32_ATTRIB
Brian Paul [Fri, 19 Sep 2008 23:53:56 +0000 (17:53 -0600)]
gallium: added ALIGN32_ATTRIB

16 years agogallium: added spe_code_size()
Brian Paul [Fri, 19 Sep 2008 23:45:51 +0000 (17:45 -0600)]
gallium: added spe_code_size()

16 years agoUpdate to SGI FreeB 2.0.
Adam Jackson [Fri, 19 Sep 2008 21:16:53 +0000 (17:16 -0400)]
Update to SGI FreeB 2.0.

Under the terms of version 1.1, "once Covered Code has been published
under a particular version of the License, Recipient may, for the
duration of the License, continue to use it under the terms of that
version, or choose to use such Covered Code under the terms of any
subsequent version published by SGI."

FreeB 2.0 license refers to "dates of first publication".  They are here
taken to be 1991-2000, as noted in the original license text:

 ** Original Code. The Original Code is: OpenGL Sample Implementation,
 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
 ** Copyright in any portions created by third parties is as indicated
 ** elsewhere herein. All Rights Reserved.

Official FreeB 2.0 text:

http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf

As always, this code has not been tested for conformance with the OpenGL
specification.  OpenGL conformance testing is available from
http://khronos.org/ and is required for use of the OpenGL logo in
product advertising and promotion.

16 years agocell: Added FRC instruction
Jonathan White [Fri, 19 Sep 2008 21:10:25 +0000 (15:10 -0600)]
cell: Added FRC instruction

16 years agocell: Added FLR instruction. Verified the following instructions match softpipe...
Jonathan White [Fri, 19 Sep 2008 20:18:39 +0000 (14:18 -0600)]
cell: Added FLR instruction.  Verified the following instructions match softpipe:  MOV, ADD, MUL, SGE, SUB, MAD, ABS, SLT, MIN, MAX, LRP, DP3, DP4, CMP, FLR

16 years agocell: Fixed bugs with DP3 and DP4, they match softpipe results now.
Jonathan White [Fri, 19 Sep 2008 18:59:36 +0000 (12:59 -0600)]
cell:  Fixed bugs with DP3 and DP4, they match softpipe results now.

16 years agocell: flesh out support for other Z/stencil format
Brian Paul [Fri, 19 Sep 2008 18:52:41 +0000 (12:52 -0600)]
cell: flesh out support for other Z/stencil format

Also: improve float/int Z conversion.
Use clgt instead of cgt in depth test since we're comparing unsigned values.

16 years agomesa: Fix compiler error.
Michal Krol [Fri, 19 Sep 2008 17:11:37 +0000 (19:11 +0200)]
mesa: Fix compiler error.