mesa.git
17 years agoreplace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
Brian Paul [Mon, 27 Nov 2006 16:33:43 +0000 (16:33 +0000)]
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)

17 years agoBug #6044: actually delete the texture object in mgaDeleteTexture
Tilman Sauerbeck [Sun, 26 Nov 2006 09:39:21 +0000 (09:39 +0000)]
Bug #6044: actually delete the texture object in mgaDeleteTexture

17 years agocall slang_variable_construct() inside slang_variable_scope_grow()
Brian Paul [Fri, 24 Nov 2006 19:21:42 +0000 (19:21 +0000)]
call slang_variable_construct() inside slang_variable_scope_grow()

17 years agonew slang_variable_scope_grow() function
Brian Paul [Fri, 24 Nov 2006 19:01:14 +0000 (19:01 +0000)]
new slang_variable_scope_grow() function

17 years agoconst correctness, clean-ups
Brian Paul [Thu, 23 Nov 2006 16:56:55 +0000 (16:56 +0000)]
const correctness, clean-ups

17 years agoindent
Brian Paul [Thu, 23 Nov 2006 16:52:18 +0000 (16:52 +0000)]
indent

17 years agofix several program-related bugs (bug 9136)
Brian Paul [Thu, 23 Nov 2006 15:58:30 +0000 (15:58 +0000)]
fix several program-related bugs (bug 9136)

17 years agoHaihao Xiang's edgeflag patch.
Keith Whitwell [Thu, 23 Nov 2006 10:13:22 +0000 (10:13 +0000)]
Haihao Xiang's edgeflag patch.

17 years agoHaihao Xiang's pointsize initialization patch.
Keith Whitwell [Thu, 23 Nov 2006 10:12:05 +0000 (10:12 +0000)]
Haihao Xiang's pointsize initialization patch.

17 years agorealign some of the i830 code from the i915
Dave Airlie [Thu, 23 Nov 2006 01:12:41 +0000 (01:12 +0000)]
realign some of the i830 code from the i915

17 years agofix typo
Brian Paul [Thu, 23 Nov 2006 00:44:14 +0000 (00:44 +0000)]
fix typo

17 years agofix indirect glMap* bugs
Brian Paul [Thu, 23 Nov 2006 00:43:23 +0000 (00:43 +0000)]
fix indirect glMap* bugs

17 years agos/ource/source/
Brian Paul [Thu, 23 Nov 2006 00:42:25 +0000 (00:42 +0000)]
s/ource/source/

17 years agomove comments
Brian Paul [Thu, 23 Nov 2006 00:41:44 +0000 (00:41 +0000)]
move comments

17 years agoindent
Brian Paul [Thu, 23 Nov 2006 00:38:50 +0000 (00:38 +0000)]
indent

17 years agofixup draw/depth region handling in i830 along lines of i915
Dave Airlie [Thu, 23 Nov 2006 00:09:16 +0000 (00:09 +0000)]
fixup draw/depth region handling in i830 along lines of i915

17 years agoclean-up, comments
Brian Paul [Thu, 23 Nov 2006 00:09:00 +0000 (00:09 +0000)]
clean-up, comments

17 years agoindent
Brian Paul [Wed, 22 Nov 2006 23:58:47 +0000 (23:58 +0000)]
indent

17 years agodecrease the current vertex count by 1 if an uneven number of vertices is copied...
Roland Scheidegger [Wed, 22 Nov 2006 22:07:35 +0000 (22:07 +0000)]
decrease the current vertex count by 1 if an uneven number of vertices is copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062.

17 years agoconst correctness
Brian Paul [Wed, 22 Nov 2006 21:59:28 +0000 (21:59 +0000)]
const correctness

17 years agonew comments
Brian Paul [Wed, 22 Nov 2006 21:49:14 +0000 (21:49 +0000)]
new comments

17 years agoclean-up, comments
Brian Paul [Wed, 22 Nov 2006 21:34:47 +0000 (21:34 +0000)]
clean-up, comments

17 years agoreindent
Brian Paul [Wed, 22 Nov 2006 21:34:30 +0000 (21:34 +0000)]
reindent

17 years agofix comments
Brian Paul [Wed, 22 Nov 2006 21:33:44 +0000 (21:33 +0000)]
fix comments

17 years agofix the gl version test
Roland Scheidegger [Wed, 22 Nov 2006 19:37:21 +0000 (19:37 +0000)]
fix the gl version test

17 years agoAdd tdfx updates to release notes.
Ian Romanick [Wed, 22 Nov 2006 19:05:20 +0000 (19:05 +0000)]
Add tdfx updates to release notes.

17 years agoremove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Conne...
Roland Scheidegger [Wed, 22 Nov 2006 17:54:31 +0000 (17:54 +0000)]
remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Connected to bug #9103, though that bug got fixed without this change too.

17 years agoGLX protocol fixes for glMap* functions (bug 8899)
Brian Paul [Wed, 22 Nov 2006 16:01:48 +0000 (16:01 +0000)]
GLX protocol fixes for glMap* functions (bug 8899)

17 years agoPrune incoming state to the atoms of interest. Hopefully this will
Keith Whitwell [Wed, 22 Nov 2006 15:27:58 +0000 (15:27 +0000)]
Prune incoming state to the atoms of interest.  Hopefully this will
prevent driver-initiated statechanges in the middle of
DrawElements/DrawArrays from disturbing this code.

17 years agoAnother fix
Keith Whitwell [Wed, 22 Nov 2006 13:53:21 +0000 (13:53 +0000)]
Another fix

17 years agoSet _NEW_LIGHT when materials are present in display lists also.
Keith Whitwell [Wed, 22 Nov 2006 09:35:19 +0000 (09:35 +0000)]
Set _NEW_LIGHT when materials are present in display lists also.

17 years agoMove setting of _NEW_LIGHT to only occur when materials are present.
Keith Whitwell [Wed, 22 Nov 2006 09:34:55 +0000 (09:34 +0000)]
Move setting of _NEW_LIGHT to only occur when materials are present.

17 years agofix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110).
Roland Scheidegger [Tue, 21 Nov 2006 23:37:21 +0000 (23:37 +0000)]
fix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110).

17 years agolist header files in sources files (Dan Nicholson)
Brian Paul [Tue, 21 Nov 2006 16:04:22 +0000 (16:04 +0000)]
list header files in sources files (Dan Nicholson)

17 years agoblend, logicop changes for intelEmitCopyBlit backported to i915
Keith Whitwell [Tue, 21 Nov 2006 14:43:30 +0000 (14:43 +0000)]
blend, logicop changes for intelEmitCopyBlit backported to i915

17 years agoMore fixes, glean seems to run now.
Keith Whitwell [Tue, 21 Nov 2006 13:22:34 +0000 (13:22 +0000)]
More fixes, glean seems to run now.

17 years agoDon't define as const's to avoid compiler optimization & warning.
Alan Hourihane [Tue, 21 Nov 2006 10:59:31 +0000 (10:59 +0000)]
Don't define as const's to avoid compiler optimization & warning.

17 years agoFix more typos.
Keith Whitwell [Tue, 21 Nov 2006 10:50:01 +0000 (10:50 +0000)]
Fix more typos.

17 years agoGary Wong's patches for CopyPixels Logiop (enable) and Blend
Keith Whitwell [Tue, 21 Nov 2006 10:43:16 +0000 (10:43 +0000)]
Gary Wong's patches for CopyPixels Logiop (enable) and Blend
(disallow).  Slightly cleaned to disallow on all blend states for code
consiseness and turn a table lookup into a function to match other
code in the driver.

17 years agoGary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.
Keith Whitwell [Tue, 21 Nov 2006 10:16:37 +0000 (10:16 +0000)]
Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.

17 years agoCommit Gary Wong & Keith Packard's changes for bug 8867 -- adjust code
Keith Whitwell [Tue, 21 Nov 2006 10:11:02 +0000 (10:11 +0000)]
Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust code
after repositioning of INDEX value in BRW_ATTRIB enum.

17 years agoAdded correct include files to files,
Sean D'Epagnier [Tue, 21 Nov 2006 09:35:49 +0000 (09:35 +0000)]
Added correct include files to files,
No longer modify cmap if the device is truecolor (messes up dual monitors
with vt switching)

17 years agoglTexCoord3dv was not using third coordinate
Sean D'Epagnier [Tue, 21 Nov 2006 08:48:44 +0000 (08:48 +0000)]
glTexCoord3dv was not using third coordinate

18 years agoDisable fragment program debug messages.
Rune Petersen [Mon, 20 Nov 2006 19:57:10 +0000 (19:57 +0000)]
Disable fragment program debug messages.

18 years agoadded new 'sources' file to tarball (might not get used though)
Brian Paul [Mon, 20 Nov 2006 17:09:04 +0000 (17:09 +0000)]
added new 'sources' file to tarball (might not get used though)

18 years agoFix typos that meant vbos were never unmapped
Keith Whitwell [Mon, 20 Nov 2006 15:15:24 +0000 (15:15 +0000)]
Fix typos that meant vbos were never unmapped

18 years agofix glPopAttrib/color material bug #9091
Brian Paul [Mon, 20 Nov 2006 15:14:35 +0000 (15:14 +0000)]
fix glPopAttrib/color material bug #9091

18 years ago Committing in .
Jouk Jansen [Mon, 20 Nov 2006 14:04:04 +0000 (14:04 +0000)]
 Committing in .

 Solve small definition problem for OpenVMS

 Modified Files:
  Mesa/src/mesa/shader/descrip.mms

18 years agoDon't perform dangling attribute check on POS attribute. It can't by
Keith Whitwell [Mon, 20 Nov 2006 11:45:34 +0000 (11:45 +0000)]
Don't perform dangling attribute check on POS attribute.  It can't by
definition dangle (every vertex has a position).  However
save->currentsz isn't properly maintained for this attribute, as there
is no current position value to track.  Reported by Haihao Xiang.

18 years agomove fix-up code into new slang_fixup_save() function
Brian Paul [Sat, 18 Nov 2006 17:45:01 +0000 (17:45 +0000)]
move fix-up code into new slang_fixup_save() function

18 years agodelete shader objects when destroying shared context state
Brian Paul [Sat, 18 Nov 2006 17:44:28 +0000 (17:44 +0000)]
delete shader objects when destroying shared context state

18 years agocomments
Brian Paul [Sat, 18 Nov 2006 17:23:30 +0000 (17:23 +0000)]
comments

18 years agoreindent
Brian Paul [Sat, 18 Nov 2006 17:22:44 +0000 (17:22 +0000)]
reindent

18 years agoadditional fixes for mipmap building (Greg McGarragh)
Brian Paul [Sat, 18 Nov 2006 16:58:14 +0000 (16:58 +0000)]
additional fixes for mipmap building (Greg McGarragh)

18 years agoname mangling update/fix
Brian Paul [Sat, 18 Nov 2006 16:44:30 +0000 (16:44 +0000)]
name mangling update/fix

18 years agoneed to specify Xlibs with APP_LIB_DEPS
Brian Paul [Sat, 18 Nov 2006 16:43:13 +0000 (16:43 +0000)]
need to specify Xlibs with APP_LIB_DEPS

18 years agofix mgl name mangling problem
Brian Paul [Sat, 18 Nov 2006 16:40:09 +0000 (16:40 +0000)]
fix mgl name mangling problem

18 years agofragment.position support
Rune Petersen [Fri, 17 Nov 2006 19:12:42 +0000 (19:12 +0000)]
fragment.position support
World position is calculated in the vertex shader and passed to the
fragment shader via an unused texcoord.

18 years agor300_select_vertex_shader4:
Rune Petersen [Fri, 17 Nov 2006 19:08:05 +0000 (19:08 +0000)]
r300_select_vertex_shader4:
Makes the vertex program output from the fragment input.
It makes the driver capable of catching output-input mismatches safely. Primarily
based on some of Aapo Tahkola's code.

18 years agoreindent, doxygen-style comments
Brian Paul [Fri, 17 Nov 2006 19:06:32 +0000 (19:06 +0000)]
reindent, doxygen-style comments

18 years agoComment and indent the atom functions.
Michal Krol [Fri, 17 Nov 2006 18:55:34 +0000 (18:55 +0000)]
Comment and indent the atom functions.

18 years agogluBuild2DMipmaps() fixes
Brian Paul [Fri, 17 Nov 2006 15:59:19 +0000 (15:59 +0000)]
gluBuild2DMipmaps() fixes

18 years agofix some gluBuild2DMipmap bugs (Greg McGarragh)
Brian Paul [Fri, 17 Nov 2006 15:57:31 +0000 (15:57 +0000)]
fix some gluBuild2DMipmap bugs (Greg McGarragh)

18 years agoadd STATE_INTERNAL_DRIVER, etc (Rune Petersen)
Brian Paul [Fri, 17 Nov 2006 15:23:32 +0000 (15:23 +0000)]
add STATE_INTERNAL_DRIVER, etc (Rune Petersen)

18 years agorevert prev check-in
Brian Paul [Thu, 16 Nov 2006 23:34:02 +0000 (23:34 +0000)]
revert prev check-in

18 years agoAdd a lot of const qualifiers for const-correctness.
Brian Paul [Thu, 16 Nov 2006 22:31:34 +0000 (22:31 +0000)]
Add a lot of const qualifiers for const-correctness.
New comments, misc clean-ups.

18 years agoreindent
Brian Paul [Thu, 16 Nov 2006 21:58:35 +0000 (21:58 +0000)]
reindent

18 years agoremove unused imesa local var to silence warnings
Brian Paul [Thu, 16 Nov 2006 21:40:54 +0000 (21:40 +0000)]
remove unused imesa local var to silence warnings

18 years agoInitial implementation work for CAL, RET, and BRA instructions for fragment
Brian Paul [Thu, 16 Nov 2006 21:28:35 +0000 (21:28 +0000)]
Initial implementation work for CAL, RET, and BRA instructions for fragment
programs.

18 years agodisable yesterday's _mesa_add_named_constant() change for now
Brian Paul [Thu, 16 Nov 2006 20:59:11 +0000 (20:59 +0000)]
disable yesterday's _mesa_add_named_constant() change for now

18 years agofix bug 9046
Brian Paul [Thu, 16 Nov 2006 20:58:26 +0000 (20:58 +0000)]
fix bug 9046

18 years agoregenerate from gl.h
Brian Paul [Thu, 16 Nov 2006 16:13:55 +0000 (16:13 +0000)]
regenerate from gl.h

18 years agoremove obsolete GL_MESA_trace stuff
Brian Paul [Thu, 16 Nov 2006 16:13:43 +0000 (16:13 +0000)]
remove obsolete GL_MESA_trace stuff

18 years agouse LONGSTRING to silence warning
Brian Paul [Thu, 16 Nov 2006 16:12:10 +0000 (16:12 +0000)]
use LONGSTRING to silence warning

18 years agofix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044
Brian Paul [Thu, 16 Nov 2006 14:44:23 +0000 (14:44 +0000)]
fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044

18 years agoMake sure vbo's are mapped before accessing their contents in
Keith Whitwell [Thu, 16 Nov 2006 02:33:38 +0000 (02:33 +0000)]
Make sure vbo's are mapped before accessing their contents in
api_arrayelt.c.  Reported by Haihao Xiang.

18 years agoreindent, clean-up
Brian Paul [Thu, 16 Nov 2006 00:58:44 +0000 (00:58 +0000)]
reindent, clean-up

18 years agoAdd a size parameter to _mesa_add_unnamed_constant() and
Brian Paul [Wed, 15 Nov 2006 23:38:02 +0000 (23:38 +0000)]
Add a size parameter to _mesa_add_unnamed_constant() and
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4).
Always 4 for now...

18 years agoAdd new _mesa_lookup_parameter_constant() to search for a GLfloat4 constant
Brian Paul [Wed, 15 Nov 2006 23:19:52 +0000 (23:19 +0000)]
Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constant
in a parameter list.
Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to
avoid duplication of identical constants.

18 years agoreindent, add some comments
Brian Paul [Wed, 15 Nov 2006 21:52:20 +0000 (21:52 +0000)]
reindent, add some comments

18 years agoreindent
Brian Paul [Wed, 15 Nov 2006 21:41:24 +0000 (21:41 +0000)]
reindent

18 years agoindent, comments
Brian Paul [Wed, 15 Nov 2006 21:39:57 +0000 (21:39 +0000)]
indent, comments

18 years agos/int/GLboolean/
Brian Paul [Wed, 15 Nov 2006 21:39:32 +0000 (21:39 +0000)]
s/int/GLboolean/

18 years agoimproved error mesages
Brian Paul [Wed, 15 Nov 2006 21:38:26 +0000 (21:38 +0000)]
improved error mesages

18 years agofix casts to silence warnings
Brian Paul [Wed, 15 Nov 2006 21:35:06 +0000 (21:35 +0000)]
fix casts to silence warnings

18 years ago#define LONGSTRING __extension__ in imports.h and use it to silence gcc
Brian Paul [Wed, 15 Nov 2006 19:54:25 +0000 (19:54 +0000)]
#define LONGSTRING __extension__ in imports.h and use it to silence gcc
warnings about long string literals.

18 years agoComments for operations.
Brian Paul [Wed, 15 Nov 2006 18:56:48 +0000 (18:56 +0000)]
Comments for operations.

18 years agoRemove use of GetBufferSize (depreciated).
Jerome Glisse [Wed, 15 Nov 2006 17:45:05 +0000 (17:45 +0000)]
Remove use of GetBufferSize (depreciated).

18 years agomore bug fixes
Brian Paul [Wed, 15 Nov 2006 14:59:05 +0000 (14:59 +0000)]
more bug fixes

18 years agoMake sure RENDER_FINISH is called on the zero pixel case. Reported by
Keith Whitwell [Tue, 14 Nov 2006 14:22:43 +0000 (14:22 +0000)]
Make sure RENDER_FINISH is called on the zero pixel case.  Reported by
Haihao Xiang.

18 years agoEnable GLX_SGI_make_current_read for tdfx.
Ian Romanick [Tue, 14 Nov 2006 00:10:34 +0000 (00:10 +0000)]
Enable GLX_SGI_make_current_read for tdfx.

Implement GLX_SGI_make_current_read for tdfx.  Remove annoying debug
printf in tdfxSwapBuffers.  Updated a comment in drirenderbuffer.h to
note that the tdfx driver uses a flag that was previously only used by
s3v.

This code was tested with glxgears, wincopy, and manywin.

18 years agoClean-up compiler warnings.
Ian Romanick [Mon, 13 Nov 2006 23:34:35 +0000 (23:34 +0000)]
Clean-up compiler warnings.

18 years agoImplement GL_ARB_occlusion_query.
Ian Romanick [Mon, 13 Nov 2006 22:54:43 +0000 (22:54 +0000)]
Implement GL_ARB_occlusion_query.

Based on the old code that implemented GL_HP_occlusion_test, implement
GL_ARB_occlusion_query.  This code passes progs/demo/arbocclude.

18 years agotdfxDDWriteDepthPixels can be called with mask == NULL.
Ian Romanick [Mon, 13 Nov 2006 22:51:11 +0000 (22:51 +0000)]
tdfxDDWriteDepthPixels can be called with mask == NULL.

Via depth_test_pixels (swrast/s_depth.c), tdfxDDWriteDepthPixels can
be called with mask == NULL.  Test for this condition in the places
where mask might be dereference.  This matches the behavior of several
other functions in this file with a 'const GLubyte mask[]' parameter.

18 years agoMajor clean-up of tdfxDDGetString.
Ian Romanick [Mon, 13 Nov 2006 21:53:04 +0000 (21:53 +0000)]
Major clean-up of tdfxDDGetString.

18 years agoEliminate use of deprecated GetBufferSize interface.
Ian Romanick [Mon, 13 Nov 2006 21:21:40 +0000 (21:21 +0000)]
Eliminate use of deprecated GetBufferSize interface.

18 years agoFix "3D driver claims to not support visual ..." warnings.
Ian Romanick [Mon, 13 Nov 2006 20:54:51 +0000 (20:54 +0000)]
Fix "3D driver claims to not support visual ..." warnings.

In 16-bit color modes the 3D driver was erroneously creating fbconfigs
with 16-bits of accumulation alpha.  Since the 2D driver always
generates modes with zero bits of alpha, the lists of fbconfigs did
not match and warnings were generated by libGL.

18 years agoAdded information about added GLX_SGI_make_current_read support
Ian Romanick [Fri, 10 Nov 2006 21:11:39 +0000 (21:11 +0000)]
Added information about added GLX_SGI_make_current_read support

18 years agoBump driver date.
Ian Romanick [Fri, 10 Nov 2006 21:06:23 +0000 (21:06 +0000)]
Bump driver date.

18 years agoRefactor savageXMesaSet{Back,Front}ClipRects.
Ian Romanick [Fri, 10 Nov 2006 18:57:30 +0000 (18:57 +0000)]
Refactor savageXMesaSet{Back,Front}ClipRects.

Refactor savageXMesaSetBackClipRects and savageXMesaSetFrontClipRects
into a single new routine called savageXMesaSetClipRects.  This allows
a few cleanups in the code.