Brian Paul
b24320bb30
added new 'sources' file to tarball (might not get used though)
2006-11-20 17:09:04 +00:00
Keith Whitwell
479aca6bf1
Fix typos that meant vbos were never unmapped
2006-11-20 15:15:24 +00:00
Brian Paul
7cc5522f86
fix glPopAttrib/color material bug #9091
2006-11-20 15:14:35 +00:00
Jouk Jansen
d2fc1c8384
Committing in .
...
Solve small definition problem for OpenVMS
Modified Files:
Mesa/src/mesa/shader/descrip.mms
2006-11-20 14:04:04 +00:00
Keith Whitwell
87f602dd82
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.
2006-11-20 11:45:34 +00:00
Brian Paul
2164cf7730
move fix-up code into new slang_fixup_save() function
2006-11-18 17:45:01 +00:00
Brian Paul
4d4373bb0f
delete shader objects when destroying shared context state
2006-11-18 17:44:28 +00:00
Brian Paul
a89e063149
comments
2006-11-18 17:23:30 +00:00
Brian Paul
61068ba46b
reindent
2006-11-18 17:22:44 +00:00
Brian Paul
63c119f771
additional fixes for mipmap building (Greg McGarragh)
2006-11-18 16:58:14 +00:00
Brian Paul
c478f0d25b
name mangling update/fix
2006-11-18 16:44:30 +00:00
Brian Paul
bdb1c3882f
need to specify Xlibs with APP_LIB_DEPS
2006-11-18 16:43:13 +00:00
Brian Paul
1e04ff1741
fix mgl name mangling problem
2006-11-18 16:40:09 +00:00
Rune Petersen
6c9cc81601
fragment.position support
...
World position is calculated in the vertex shader and passed to the
fragment shader via an unused texcoord.
2006-11-17 19:12:42 +00:00
Rune Petersen
0f614df797
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.
2006-11-17 19:08:05 +00:00
Brian Paul
08d64dfbf6
reindent, doxygen-style comments
2006-11-17 19:06:32 +00:00
Michal Krol
83f52ffc52
Comment and indent the atom functions.
2006-11-17 18:55:34 +00:00
Brian Paul
c15f6a991d
gluBuild2DMipmaps() fixes
2006-11-17 15:59:19 +00:00
Brian Paul
8f28453987
fix some gluBuild2DMipmap bugs (Greg McGarragh)
2006-11-17 15:57:31 +00:00
Brian Paul
a4806c994e
add STATE_INTERNAL_DRIVER, etc (Rune Petersen)
2006-11-17 15:23:32 +00:00
Brian Paul
7984c70070
revert prev check-in
2006-11-16 23:34:02 +00:00
Brian Paul
523f5cfeb5
Add a lot of const qualifiers for const-correctness.
...
New comments, misc clean-ups.
2006-11-16 22:31:34 +00:00
Brian Paul
1f0c86ee35
reindent
2006-11-16 21:58:35 +00:00
Brian Paul
01a5a9afd8
remove unused imesa local var to silence warnings
2006-11-16 21:40:54 +00:00
Brian Paul
3dedeaa055
Initial implementation work for CAL, RET, and BRA instructions for fragment
...
programs.
2006-11-16 21:28:35 +00:00
Brian Paul
fa941e4267
disable yesterday's _mesa_add_named_constant() change for now
2006-11-16 20:59:11 +00:00
Brian Paul
cba90c17ad
fix bug 9046
2006-11-16 20:58:26 +00:00
Brian Paul
f7436f4c8a
regenerate from gl.h
2006-11-16 16:13:55 +00:00
Brian Paul
bb69d3af36
remove obsolete GL_MESA_trace stuff
2006-11-16 16:13:43 +00:00
Brian Paul
7438a78cf4
use LONGSTRING to silence warning
2006-11-16 16:12:10 +00:00
Brian Paul
ebe4c893f8
fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044
2006-11-16 14:44:23 +00:00
Keith Whitwell
b979479721
Make sure vbo's are mapped before accessing their contents in
...
api_arrayelt.c. Reported by Haihao Xiang.
2006-11-16 02:33:38 +00:00
Brian Paul
82eeb62a31
reindent, clean-up
2006-11-16 00:58:44 +00:00
Brian Paul
0c6723aee5
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...
2006-11-15 23:38:02 +00:00
Brian Paul
699a33ea77
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.
2006-11-15 23:19:52 +00:00
Brian Paul
408e01b939
reindent, add some comments
2006-11-15 21:52:20 +00:00
Brian Paul
4a12160e8f
reindent
2006-11-15 21:41:24 +00:00
Brian Paul
adbbf94fa4
indent, comments
2006-11-15 21:39:57 +00:00
Brian Paul
2d376a61f0
s/int/GLboolean/
2006-11-15 21:39:32 +00:00
Brian Paul
82a9ba92b4
improved error mesages
2006-11-15 21:38:26 +00:00
Brian Paul
7c279f4dd7
fix casts to silence warnings
2006-11-15 21:35:06 +00:00
Brian Paul
11a54c38f7
#define LONGSTRING __extension__ in imports.h and use it to silence gcc
...
warnings about long string literals.
2006-11-15 19:54:25 +00:00
Brian Paul
12e710c850
Comments for operations.
2006-11-15 18:56:48 +00:00
Jerome Glisse
8f6a50a49c
Remove use of GetBufferSize (depreciated).
2006-11-15 17:45:05 +00:00
Brian Paul
222930461f
more bug fixes
2006-11-15 14:59:05 +00:00
Keith Whitwell
6cc5a82206
Make sure RENDER_FINISH is called on the zero pixel case. Reported by
...
Haihao Xiang.
2006-11-14 14:22:43 +00:00
Ian Romanick
efa91b9a8f
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.
2006-11-14 00:10:34 +00:00
Ian Romanick
0b69e4837e
Clean-up compiler warnings.
2006-11-13 23:34:35 +00:00
Ian Romanick
37ce9b30e9
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.
2006-11-13 22:54:43 +00:00
Ian Romanick
ce526de6ff
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.
2006-11-13 22:51:11 +00:00