Brian Paul
20d44dc9bc
types for Mesa implementation of EGL
2005-04-22 21:16:28 +00:00
Brian Paul
11b0a76370
prototype EGL_MESA_screen_surface.
2005-04-22 21:16:12 +00:00
Brian Paul
adbff7e977
initial EGL code
2005-04-22 21:09:39 +00:00
Keith Whitwell
a661654a33
Move the call to _tnl_UpdateFixedFunctionProgram to make
...
it easier for hardware drivers to test this out.
2005-04-22 13:02:04 +00:00
Keith Whitwell
6f973f3367
Simplify the pipeline_stage structure
...
- remove input/output fields, input tracking removed.
- remove state fields, the validate function now called
on every statechange.
- add an explicit 'create' function.
Add in code to build vertex program to implement current t&l state. Still
disabled, but turn on with a #define in t_vp_build.h.
2005-04-22 12:51:19 +00:00
Keith Whitwell
6a13c7da4c
Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.
2005-04-22 12:46:13 +00:00
Michal Krol
addcc6afbd
Add more error checking.
2005-04-22 10:43:36 +00:00
Michal Krol
19fb77ee7b
Cosmetic changes.
2005-04-22 10:28:53 +00:00
Michal Krol
b10d080b1e
Move some utility functions to slang_utility.c.
2005-04-22 10:15:32 +00:00
Michal Krol
3ed1f07686
Provide precompiled binary versions of built-in library .gc sources
...
to dramatically improve shader compiling performance.
2005-04-22 09:51:46 +00:00
Brian Paul
2cbbd3dc50
undef DEPTH_TYPE at end
2005-04-22 02:56:21 +00:00
Felix Kuehling
a7fcac5e92
Fixed some suspicious pointer casts that caused lots of
...
compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good
thing in general, so I'm giving up waiting for feedback. See also
https://bugs.freedesktop.org/show_bug.cgi?id=2924 .
2005-04-21 21:50:54 +00:00
Felix Kuehling
07d91bbb59
Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. Disabled
...
the use of hardware texture format I8 as it produces garbage at least on
ProSavageDDR.
2005-04-21 21:43:21 +00:00
Aapo Tahkola
b3474de7b5
Adding some comments.
2005-04-21 19:09:54 +00:00
Keith Whitwell
7c26b61f93
Reduce the size of mesa's internal fragment and vertex program
...
representations by switching to packed structures for registers and
instructions.
2005-04-21 14:46:57 +00:00
Brian Paul
88b69d7998
use _mesa_pow() for LIT (bug 3087)
2005-04-21 14:19:50 +00:00
Keith Whitwell
f069e5e412
Facility to construct a vertex program which executes the current
...
fixed function t&l pipeline.
Currently runs most of the Mesa demos OK, but still needs debugging &
polishing.
2005-04-21 13:13:49 +00:00
Keith Whitwell
0ff98b03c6
New software implementation of ARB_vertex_program. Similar in speed
...
to existing version, but with the potential for good improvements.
2005-04-21 13:11:02 +00:00
Aapo Tahkola
70375aff48
Had some odd problems with add and temps so doing it with mad. Adding some MAD_2 cases.
2005-04-21 05:24:02 +00:00
Brian Paul
52bf005425
fix state.light[n].spot.direction.w value (bug 3083)
2005-04-20 23:47:03 +00:00
Brian Paul
8d51bbf2a3
clean up buffer creation code
2005-04-20 17:12:10 +00:00
Aapo Tahkola
fc8f202181
Reorganized shader stuff.
2005-04-19 18:49:44 +00:00
Aapo Tahkola
c4e1fd5a7f
Fixes for bugs that were nailed down when compairing against software vertex shading.
2005-04-19 03:12:30 +00:00
Aapo Tahkola
f8ed0aa268
Fixing and enabling elt buffers by default.
2005-04-18 22:41:43 +00:00
Ian Romanick
d03ab104db
If the file name passed to parse_GL_API is None or "-", read from standard
...
input. This allows use of GL API scripts in pipelines.
2005-04-18 21:30:20 +00:00
Ian Romanick
93d2d54e7a
Refactor a bunch of common code from the "leaf" scripts to a new functions,
...
parse_GL_API, in gl_XML.py.
2005-04-18 19:42:23 +00:00
Ian Romanick
8ea22650bd
Fill-in function offsets and correct a couple typos.
2005-04-18 19:17:12 +00:00
Ian Romanick
2510ba618d
Convert all Python scripts to use XML namespaces.
2005-04-18 19:16:07 +00:00
Peter Zubaj
b7142567bc
Alpha test fix
2005-04-18 19:06:14 +00:00
Ian Romanick
61f08d8094
Move the DTD to its own file.
2005-04-18 18:36:57 +00:00
Brian Paul
f905145b60
comments and clean-up
2005-04-18 17:48:25 +00:00
Ian Romanick
02986cb2cc
Add support for pthreads and TLS to libGL for __glXLock / __glXUnlock and
...
for tracking the current GLX context.
This fixes bug #3024 .
2005-04-18 16:59:53 +00:00
Ian Romanick
2e823f29e4
Send GL_PACK_INVERT_MESA state to the server. This fixes bug #2538 .
2005-04-18 16:40:36 +00:00
Brian Paul
b52673117b
s/NORMAL/FOG/ (J.P. Delport)
2005-04-18 14:21:44 +00:00
Jouk Jansen
49b1d95c1c
Updates for OpenVMS : New makefiles
...
added some type-casts
Modified Files:
Mesa/src/mesa/shader/descrip.mms
Mesa/src/mesa/shader/program.c
Mesa/src/mesa/shader/slang/slang_compile.c
Mesa/src/mesa/shader/slang/slang_preprocess.c
Added Files:
Mesa/src/mesa/shader/slang/descrip.mms
----------------------------------------------------------------------
2005-04-18 13:05:24 +00:00
Brian Paul
e9a3d8a772
added SLANG_SOURCES to SOLO_C_SOURCES
2005-04-15 22:20:46 +00:00
Brian Paul
afb3fb4b77
config for profiling with gprof
2005-04-15 22:16:18 +00:00
Brian Paul
635ee2df37
added _mesa_share_state()
2005-04-15 17:25:07 +00:00
Ben Crossman
509710cfd7
more gldirect compile fixes. Getting near the linking stage now. No build file yet.
2005-04-15 17:17:47 +00:00
Brian Paul
efb41b07ff
remove carriage returns
2005-04-15 16:05:14 +00:00
Keith Whitwell
78803b2667
Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec:
...
The "w" component of the program parameter variable is filled with
the alpha component of the front diffuse material color.
Make sure matrix inverses are uptodate also.
2005-04-15 12:57:23 +00:00
Michal Krol
a131d50fb7
add shader/slang/slang_preprocess.c
2005-04-15 10:30:43 +00:00
Michal Krol
e3a846b0e3
implement info log; parse #version directive
2005-04-15 10:23:10 +00:00
Michal Krol
65ce50897e
slang preprocessor
2005-04-15 10:21:34 +00:00
Michal Krol
8855664489
slang #version directive syntax
2005-04-15 10:20:30 +00:00
Michal Krol
35725a92be
change __asm statement semantics
2005-04-15 10:19:27 +00:00
Ben Crossman
d8aa5ffed5
Reverted the last change back to fix bug 3035
2005-04-15 09:13:21 +00:00
Ian Romanick
067e788acd
Convert 'variable_param' from a CDATA attribute to a NMTOKENS attribute.
...
The main difference is that white-space is used to separate the names
instead of comas.
2005-04-14 23:03:44 +00:00
Ian Romanick
73b4c1b388
Refactor the handling of the '(true | false)' enumerated attributes.
2005-04-14 23:00:34 +00:00
Ian Romanick
a3deff2404
Modify the DTD to use NMTOKEN, enumerants, and explicit default values
...
wherever possible. Correct a couple mis-uses of the 'counter' attribute
when 'count' was intended. Fix some errors in the DTD and in the data with
'doubles_in_order'.
2005-04-14 22:59:46 +00:00