platform/upstream/mesa.git
20 years agolibGL needs libXxf86vm.a.
Adam Jackson [Fri, 29 Oct 2004 00:10:43 +0000 (00:10 +0000)]
libGL needs libXxf86vm.a.

20 years agoobsolete
Brian Paul [Thu, 28 Oct 2004 22:18:52 +0000 (22:18 +0000)]
obsolete

20 years agominor clean-ups, found with pychecker
Brian Paul [Thu, 28 Oct 2004 21:11:02 +0000 (21:11 +0000)]
minor clean-ups, found with pychecker

20 years agoname parameter to glGetActiveAttribARB() should not be const.
Brian Paul [Thu, 28 Oct 2004 21:03:19 +0000 (21:03 +0000)]
name parameter to glGetActiveAttribARB() should not be const.
Added shaderobjects.c to sources file.

20 years agorenumber ARB_shader_objects and ARB_vertex_shader offsets
Michal Krol [Thu, 28 Oct 2004 11:14:02 +0000 (11:14 +0000)]
renumber ARB_shader_objects and ARB_vertex_shader offsets
to get BlendEquation have offset 710
fix param name lack with GetInfoLogARB

20 years agoAdd FreeBSD DRI build targets. Doesn't build at the moment, due to the same
Eric Anholt [Thu, 28 Oct 2004 00:19:21 +0000 (00:19 +0000)]
Add FreeBSD DRI build targets.  Doesn't build at the moment, due to the same
problems as Linux.

20 years agoUse the generic __amd64__, instead of __AMD64__ which has to be defined by hand.
Eric Anholt [Thu, 28 Oct 2004 00:18:02 +0000 (00:18 +0000)]
Use the generic __amd64__, instead of __AMD64__ which has to be defined by hand.

20 years agoupdated PLIB URL
Brian Paul [Wed, 27 Oct 2004 23:01:47 +0000 (23:01 +0000)]
updated PLIB URL

20 years agoBug #1713: Some rare libGL's have __glXFindDRIScreen defined but do not
Adam Jackson [Wed, 27 Oct 2004 17:50:09 +0000 (17:50 +0000)]
Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do not
export it via glXGetProcAddress.  These are not supported anymore, so print
an error message to that effect.

20 years agoremove unused entries
Michal Krol [Wed, 27 Oct 2004 17:36:23 +0000 (17:36 +0000)]
remove unused entries

20 years agofill api entries for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 17:34:27 +0000 (17:34 +0000)]
fill api entries for ARB_shader_objects and ARB_vertex_shader

20 years agoadd entries for extensions ARB_shader_objects, ARB_fragment_shader and
Michal Krol [Wed, 27 Oct 2004 17:27:57 +0000 (17:27 +0000)]
add entries for extensions ARB_shader_objects, ARB_fragment_shader and
ARB_vertex_shader

20 years agoadd FEATURE flags for ARB_shader_objects, ARB_vertex_shader and
Michal Krol [Wed, 27 Oct 2004 17:16:06 +0000 (17:16 +0000)]
add FEATURE flags for ARB_shader_objects, ARB_vertex_shader and
ARB_fragment_shader

20 years agoby karoshi - ARB_shader_objects implementation
Michal Krol [Wed, 27 Oct 2004 17:09:10 +0000 (17:09 +0000)]
by karoshi - ARB_shader_objects implementation
empty routines by now

20 years agoby karoshi - header file for ARB_shader_objects implementation
Michal Krol [Wed, 27 Oct 2004 16:57:04 +0000 (16:57 +0000)]
by karoshi - header file for ARB_shader_objects implementation

20 years agoadd support for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 16:46:26 +0000 (16:46 +0000)]
add support for ARB_shader_objects and ARB_vertex_shader

20 years agoadd support for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 16:39:09 +0000 (16:39 +0000)]
add support for ARB_shader_objects and ARB_vertex_shader

20 years agoassign api offsets for ARB_shader_objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 16:37:24 +0000 (16:37 +0000)]
assign api offsets for ARB_shader_objects and ARB_vertex_shader

20 years agoregenerate with correct script
Michal Krol [Wed, 27 Oct 2004 15:40:46 +0000 (15:40 +0000)]
regenerate with correct script

20 years agoregenerate with correct script
Michal Krol [Wed, 27 Oct 2004 15:34:31 +0000 (15:34 +0000)]
regenerate with correct script

20 years agofix DrawBufferARB entry
Michal Krol [Wed, 27 Oct 2004 15:29:05 +0000 (15:29 +0000)]
fix DrawBufferARB entry

20 years agofix DrawBuffersARB entry
Michal Krol [Wed, 27 Oct 2004 15:27:08 +0000 (15:27 +0000)]
fix DrawBuffersARB entry

20 years agothe file was empty!
Michal Krol [Wed, 27 Oct 2004 15:20:08 +0000 (15:20 +0000)]
the file was empty!

20 years agoby karoshi - add support for ARB_shader objects and ARB_vertex_shader
Michal Krol [Wed, 27 Oct 2004 15:06:18 +0000 (15:06 +0000)]
by karoshi - add support for ARB_shader objects and ARB_vertex_shader

20 years agoAs per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.
Ian Romanick [Tue, 26 Oct 2004 19:20:40 +0000 (19:20 +0000)]
As per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.

20 years agoadded an attention-getting comment for developers who get stopped in _mesa_test_os_ss...
Brian Paul [Tue, 26 Oct 2004 17:29:59 +0000 (17:29 +0000)]
added an attention-getting comment for developers who get stopped in _mesa_test_os_sse_support() while debugging

20 years agoadded stereo option (Jacek Rosik)
Brian Paul [Tue, 26 Oct 2004 14:36:32 +0000 (14:36 +0000)]
added stereo option (Jacek Rosik)

20 years agoremove a -Werror from testing.
Adam Jackson [Mon, 25 Oct 2004 22:19:43 +0000 (22:19 +0000)]
remove a -Werror from testing.

20 years agoAdd glx/x11 to the DRI configs, and change the Solo configs to build glx/mini.
Adam Jackson [Mon, 25 Oct 2004 21:23:08 +0000 (21:23 +0000)]
Add glx/x11 to the DRI configs, and change the Solo configs to build glx/mini.

20 years agoAdd DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from the
Adam Jackson [Mon, 25 Oct 2004 21:20:29 +0000 (21:20 +0000)]
Add DRI_LIB_DEPS for the DRI drivers to link against.  Remove expat from the
link list for libGL itself under DRI configurations, since the XML parsing
code is in the drivers themselves.

20 years agoBug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.
Adam Jackson [Mon, 25 Oct 2004 21:18:52 +0000 (21:18 +0000)]
Bug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.

20 years agoImport the GLX client side library, formerly from xc/lib/GL/glx. Build it
Adam Jackson [Mon, 25 Oct 2004 21:09:16 +0000 (21:09 +0000)]
Import the GLX client side library, formerly from xc/lib/GL/glx.  Build it
by adding 'glx/x11' to SRC_DIRS in your build config.

20 years agoImport sarea.h from Xorg, needed for client GLX code.
Adam Jackson [Mon, 25 Oct 2004 20:52:11 +0000 (20:52 +0000)]
Import sarea.h from Xorg, needed for client GLX code.

20 years agoImplement ColorMask
Nicolai Haehnle [Sun, 24 Oct 2004 06:17:20 +0000 (06:17 +0000)]
Implement ColorMask

20 years agoHardware accelerated depth clear
Nicolai Haehnle [Sun, 24 Oct 2004 05:52:10 +0000 (05:52 +0000)]
Hardware accelerated depth clear

20 years agoBug #1682: Mesa core code that gets linked into DRI drivers should never call
Adam Jackson [Sun, 24 Oct 2004 02:05:40 +0000 (02:05 +0000)]
Bug #1682: Mesa core code that gets linked into DRI drivers should never call
through the GL API directly, but should instead use the GL_CALL macro.

20 years agowrap angle value (Philipp Klaus Krause)
Brian Paul [Sat, 23 Oct 2004 18:55:48 +0000 (18:55 +0000)]
wrap angle value (Philipp Klaus Krause)

20 years agoaddes osdemo32 target (J.P. Delport)
Brian Paul [Sat, 23 Oct 2004 16:58:32 +0000 (16:58 +0000)]
addes osdemo32 target (J.P. Delport)

20 years agominor fixes from J.P. Delport
Brian Paul [Sat, 23 Oct 2004 16:57:44 +0000 (16:57 +0000)]
minor fixes from J.P. Delport

20 years agoBig-endian fixes for R200 sw TCL path.
Ian Romanick [Sat, 23 Oct 2004 00:42:17 +0000 (00:42 +0000)]
Big-endian fixes for R200 sw TCL path.

20 years ago- add decimal literal integer support
Michal Krol [Fri, 22 Oct 2004 12:42:37 +0000 (12:42 +0000)]
- add decimal literal integer support
- fix bug with c-style comment closing - sequences
  like /***/ were not correctly parsed

20 years agoforgot about revision increment
Michal Krol [Thu, 21 Oct 2004 14:11:06 +0000 (14:11 +0000)]
forgot about revision increment

20 years ago- use new program option values from arbprogram.syn
Michal Krol [Thu, 21 Oct 2004 14:09:54 +0000 (14:09 +0000)]
- use new program option values from arbprogram.syn
- remove redundant check of parsed program target
- remove redundant check of relative addressing range
- use faster grammar interface

20 years agoremove redundant check of parsed program target
Michal Krol [Thu, 21 Oct 2004 14:06:18 +0000 (14:06 +0000)]
remove redundant check of parsed program target

20 years agochange program options numbering to accommodate future
Michal Krol [Thu, 21 Oct 2004 13:57:24 +0000 (13:57 +0000)]
change program options numbering to accommodate future
options (up to 256)

20 years agoadd new grammar_check_fast entry for faster parsing
Michal Krol [Wed, 20 Oct 2004 15:19:58 +0000 (15:19 +0000)]
add new grammar_check_fast entry for faster parsing

20 years ago- speed up syntax parsing - the parser is now 4 times faster
Michal Krol [Wed, 20 Oct 2004 14:54:17 +0000 (14:54 +0000)]
- speed up syntax parsing - the parser is now 4 times faster
  note: to use it you must use grammar_check_fast entry
- allow decimal format for literal integers in .syn files
- raise am error if syntax has duplicate or unreferenced
  symbols
- do some little clean-up with linked-list stuff
- make macro APPEND_CHARACTER a function
- fix minor typos and bugs

20 years agofixed compilation errors
Daniel Borca [Wed, 20 Oct 2004 11:59:28 +0000 (11:59 +0000)]
fixed compilation errors

20 years agofix compilation error in `convertPalette' (still have to fix the issue, though)
Daniel Borca [Tue, 19 Oct 2004 06:35:01 +0000 (06:35 +0000)]
fix compilation error in `convertPalette' (still have to fix the issue, though)

20 years agoSmall optimization for big-endian (e.g., PowerPC) systems.
Ian Romanick [Mon, 18 Oct 2004 23:24:51 +0000 (23:24 +0000)]
Small optimization for big-endian (e.g., PowerPC) systems.

20 years agoconform to shader spec 1.10.59
Michal Krol [Mon, 18 Oct 2004 12:18:33 +0000 (12:18 +0000)]
conform to shader spec 1.10.59

20 years agoconform to language version 1.10 rev 59
Michal Krol [Mon, 18 Oct 2004 09:49:25 +0000 (09:49 +0000)]
conform to language version 1.10 rev 59
resolve TODOs

20 years agoprint an error message in convertPalette before dying.
Daniel Borca [Mon, 18 Oct 2004 08:17:17 +0000 (08:17 +0000)]
print an error message in convertPalette before dying.
this is NOT a fix, but it'll have to wait a little...

20 years agosmall fix to match new _mesa_rescale_teximage2d
Daniel Borca [Mon, 18 Oct 2004 08:07:26 +0000 (08:07 +0000)]
small fix to match new  _mesa_rescale_teximage2d

20 years agochanged _mesa_rescale_teximage2d to allow rescaling of padded images
Daniel Borca [Mon, 18 Oct 2004 08:04:21 +0000 (08:04 +0000)]
changed _mesa_rescale_teximage2d to allow rescaling of padded images

20 years agoadded dstRowStride to dxtCompressTexFuncExt;
Daniel Borca [Mon, 18 Oct 2004 07:54:09 +0000 (07:54 +0000)]
added dstRowStride to dxtCompressTexFuncExt;
good for subimages, padded images and such.
NB: intentionally, this is the last parameter, to avoid
breaking the current API! adding a new parameter
is not harmful, at worst it will be ignored, since all
platforms use a CDECL calling convention.

20 years agouse RowStride instead of Width in texel fetchers.
Daniel Borca [Mon, 18 Oct 2004 07:49:26 +0000 (07:49 +0000)]
use RowStride instead of Width in texel fetchers.
changed some pointers to be (char *) instead of (long)

20 years agoFix compile errors when DEBUG is defined.
Ian Romanick [Mon, 18 Oct 2004 00:00:41 +0000 (00:00 +0000)]
Fix compile errors when DEBUG is defined.

20 years agoFix t_vertex byte-ordering issues for PowerPC. This was tested with gears
Ian Romanick [Sun, 17 Oct 2004 21:54:41 +0000 (21:54 +0000)]
Fix t_vertex byte-ordering issues for PowerPC.  This was tested with gears
and tunnel (for fog).

20 years agoAdd ARGB modes to support big-endian systems.
Ian Romanick [Sun, 17 Oct 2004 21:53:43 +0000 (21:53 +0000)]
Add ARGB modes to support big-endian systems.

20 years agoFix hangs on big-endian (e.g., PowerPC) hardware.
Ian Romanick [Sun, 17 Oct 2004 21:29:58 +0000 (21:29 +0000)]
Fix hangs on big-endian (e.g., PowerPC) hardware.

20 years ago- FIX: flickering
Nicolai Haehnle [Sun, 17 Oct 2004 20:26:06 +0000 (20:26 +0000)]
- FIX: flickering
- Scissor support works now

20 years agoadded initial support for -exports option, Linux/OpenBSD only for now
Brian Paul [Sat, 16 Oct 2004 15:10:45 +0000 (15:10 +0000)]
added initial support for -exports option, Linux/OpenBSD only for now

20 years agoGL_OES_read_format info
Brian Paul [Sat, 16 Oct 2004 15:04:43 +0000 (15:04 +0000)]
GL_OES_read_format info

20 years agoif CXX or CC env vars aren't set, use g++, gcc by default (Linux)
Brian Paul [Sat, 16 Oct 2004 15:02:16 +0000 (15:02 +0000)]
if CXX or CC env vars aren't set, use g++, gcc by default (Linux)

20 years agoRemoved two unnecessary variables.
Ville Syrjala [Sat, 16 Oct 2004 11:26:06 +0000 (11:26 +0000)]
Removed two unnecessary variables.

20 years agoFixed off by one errors in clipping.
Ville Syrjala [Sat, 16 Oct 2004 11:09:26 +0000 (11:09 +0000)]
Fixed off by one errors in clipping.

20 years agoAdd code to support projective texturing and fix mixed enabling of texture
Eric Anholt [Sat, 16 Oct 2004 03:36:14 +0000 (03:36 +0000)]
Add code to support projective texturing and fix mixed enabling of texture
coordinate generation.  Original code by Roland Schiedegger, with changes by
myself.  While here, ensure that the swtcl path does tnl_install_attrs enough
when fog/specular are being (en/dis)abled.

Notable effects:
- projtex test works with TCL and is closer with swtcl (Bugzilla #1461)
- 8/9 squares work in texgenmix instead of 3.
- texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the
  hardware can actually support it).
- flickering in doom3 replaced by just plain darkness.
- blocktube fixed (Bugzilla #984)
- fixes stex3d

20 years agoAlways turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears that
Eric Anholt [Sat, 16 Oct 2004 01:58:02 +0000 (01:58 +0000)]
Always turn on the TAM_DEBUG3=0x6 workaround on real r200s.  It appears that
the current cases for turning it on were insufficient (Bugzilla #1519, 729, 814)
and it has no significant performance impact.  Performance tested with quake3
in GL_LINEAR mode both with and without anisotropy, with the workaround always
on or always off.

20 years agoAdd support for OES_read_format. As soon as glext.h is updated with the
Ian Romanick [Sat, 16 Oct 2004 01:16:54 +0000 (01:16 +0000)]
Add support for OES_read_format.  As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.

20 years agofix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)
Brian Paul [Sat, 16 Oct 2004 00:29:03 +0000 (00:29 +0000)]
fix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)

20 years agoOnly build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format
Ian Romanick [Sat, 16 Oct 2004 00:03:27 +0000 (00:03 +0000)]
Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format
matches what they optimized versions actually expect.

20 years agoFixed a few places that should have been using GET_SRC_PTR.
Ian Romanick [Fri, 15 Oct 2004 23:46:53 +0000 (23:46 +0000)]
Fixed a few places that should have been using GET_SRC_PTR.

20 years agoConvert MGA driver to use new spantmp2.h interface.
Ian Romanick [Fri, 15 Oct 2004 23:00:52 +0000 (23:00 +0000)]
Convert MGA driver to use new spantmp2.h interface.

20 years agoHuge dumb drop. State:
Nicolai Haehnle [Fri, 15 Oct 2004 20:52:47 +0000 (20:52 +0000)]
Huge dumb drop. State:
- Color buffer clear is accelerated, but flickers (possibly caused by a
  recent DDX or Mesa change or bad merge)
- Everything else uses software fallback rendering
- There should be no clipping-related artifacts with the
  sw-clipspan-fixes.patch against Mesa (posted on dri-devel)
- Multiple clients should be rock solid with a DDX patch that is soon to
  come (soon = within the next hour or so)

20 years agoAdd support for optimized versions of the code underlying ReadPixels
Ian Romanick [Thu, 14 Oct 2004 00:59:12 +0000 (00:59 +0000)]
Add support for optimized versions of the code underlying ReadPixels
(and DrawPixels).  The R200, R128, and Unichrome drivers get support
in this commit.  Other drivers would be easy enough to add for people
that have the cards.

The DRI (CVS) build will need to be updated to account for the new
source files.

20 years agoAdd a license to this file. It was written on VA's watch, so they get
Keith Whitwell [Wed, 13 Oct 2004 23:16:02 +0000 (23:16 +0000)]
Add a license to this file.  It was written on VA's watch, so they get
the honours.

20 years agoAdded some documentation that I managed to figure out through
Ian Romanick [Wed, 13 Oct 2004 22:38:31 +0000 (22:38 +0000)]
Added some documentation that I managed to figure out through
experimentation.

20 years agoMake the GL_RENDERER string include the actual chipset information
Ian Romanick [Wed, 13 Oct 2004 22:36:26 +0000 (22:36 +0000)]
Make the GL_RENDERER string include the actual chipset information
instead of always saying "CLE266".

20 years agoInitial support for PowerPC specific code in Mesa and DRI drivers. DRI
Ian Romanick [Wed, 13 Oct 2004 19:56:15 +0000 (19:56 +0000)]
Initial support for PowerPC specific code in Mesa and DRI drivers.  DRI
drivers built on PowerPC systems should now show things like "PowerPC" or
"PowerPC/Altivec" in the GL_RENDERER string.

The VMX moniker is used for Altivec/Velocity Engine/VMX SIMD additions.  I
chose this not because I work for IBM but because it's a LOT shorter to
type. :)

20 years agoRefactor the code in driGetRendererString a bit to make it easier to
Ian Romanick [Wed, 13 Oct 2004 19:23:26 +0000 (19:23 +0000)]
Refactor the code in driGetRendererString a bit to make it easier to
add support for features of non-x86 CPU types.

20 years agoupdated fsv URL
Brian Paul [Wed, 13 Oct 2004 17:29:46 +0000 (17:29 +0000)]
updated fsv URL

20 years agoEliminate the funky SSE exception test from DRI builds. It's not need
Ian Romanick [Wed, 13 Oct 2004 17:29:33 +0000 (17:29 +0000)]
Eliminate the funky SSE exception test from DRI builds.  It's not need
(see the comment in the code), and it's just annoying.

20 years agoinitial 6.3 changes
Brian Paul [Wed, 13 Oct 2004 15:57:55 +0000 (15:57 +0000)]
initial 6.3 changes

20 years agoFix minor fog / fragment program state bug.
Brian Paul [Wed, 13 Oct 2004 15:54:48 +0000 (15:54 +0000)]
Fix minor fog / fragment program state bug.
Don't add diffuse and specular colors when using fragment program.

20 years agoBug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)
Adam Jackson [Wed, 13 Oct 2004 14:33:49 +0000 (14:33 +0000)]
Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)

20 years agoLet's build again after the support for GL_ARB_draw_buffers was added.
Philippe Houdoin [Wed, 13 Oct 2004 01:23:32 +0000 (01:23 +0000)]
Let's build again after the support for GL_ARB_draw_buffers was added.

20 years agoFix a potential memory leak.
Philippe Houdoin [Wed, 13 Oct 2004 01:17:52 +0000 (01:17 +0000)]
Fix a potential memory leak.

20 years agoForgot a contributor.
Philippe Houdoin [Wed, 13 Oct 2004 00:35:55 +0000 (00:35 +0000)]
Forgot a contributor.
Update build requirements since we can build with BeOS vanilla gcc *and*
more recent gcc 2.95.3 versions (recommended for best performance).

20 years agoImplement BGLView::CopyPixelsIn/Out().
Philippe Houdoin [Wed, 13 Oct 2004 00:29:21 +0000 (00:29 +0000)]
Implement BGLView::CopyPixelsIn/Out().
BGLView::ErrorCallback() is now actually called on error!
Plus usual minor changes.

20 years agosupport for external libraries
Daniel Borca [Tue, 12 Oct 2004 07:33:03 +0000 (07:33 +0000)]
support for external libraries

20 years agoSWTC trick (disabled for now)
Daniel Borca [Tue, 12 Oct 2004 07:32:11 +0000 (07:32 +0000)]
SWTC trick (disabled for now)

20 years agoSWTC trick, enabled new extensions
Daniel Borca [Tue, 12 Oct 2004 07:31:26 +0000 (07:31 +0000)]
SWTC trick, enabled new extensions

20 years agoSWTC trick
Daniel Borca [Tue, 12 Oct 2004 06:44:34 +0000 (06:44 +0000)]
SWTC trick

20 years agobump version numbers to their real values
Daniel Borca [Tue, 12 Oct 2004 06:43:57 +0000 (06:43 +0000)]
bump version numbers to their real values

20 years agodoc update
Daniel Borca [Tue, 12 Oct 2004 06:43:00 +0000 (06:43 +0000)]
doc update

20 years agoavoid the patch if Mesa_DXTn flag is set
Daniel Borca [Tue, 12 Oct 2004 06:42:02 +0000 (06:42 +0000)]
avoid the patch if Mesa_DXTn flag is set

20 years agoadd more mess to the dynamic linking system
Daniel Borca [Tue, 12 Oct 2004 06:41:20 +0000 (06:41 +0000)]
add more mess to the dynamic linking system

20 years agoadd newline to end of file
Daniel Borca [Tue, 12 Oct 2004 06:37:18 +0000 (06:37 +0000)]
add newline to end of file

20 years agoFix strange white space that gcc didn't like.
Felix Kuehling [Mon, 11 Oct 2004 22:26:40 +0000 (22:26 +0000)]
Fix strange white space that gcc didn't like.