Brian Paul
d93b68f17a
silence warnings
2003-04-21 14:51:16 +00:00
Brian Paul
ff389b00a5
casts
2003-04-21 14:50:49 +00:00
Brian Paul
95210bc806
fix minor warnings
2003-04-21 14:50:12 +00:00
Brian Paul
e5db876329
use INDEX8_SPAN_ARGS
2003-04-21 14:06:01 +00:00
Brian Paul
a0ef56fd15
fix .c / .h typo
2003-04-21 14:04:27 +00:00
Brian Paul
edd677454d
minor re-org of program matrix, program local parameter limits
2003-04-18 18:02:43 +00:00
Brian Paul
9b14e0fbfd
more GL_ARB_fragment_program tokens
2003-04-18 01:56:44 +00:00
Brian Paul
77eec61e21
more GL_ARB_vertex/fragment_program bits
2003-04-18 01:56:11 +00:00
Brian Paul
5e92a7c745
fix some glBindProgramNV/ARB details
2003-04-17 23:14:30 +00:00
Brian Paul
3ca3ab0cd1
clean up usage of extension function pointers
2003-04-17 21:43:55 +00:00
Brian Paul
24339179a4
Demo of using GL_ARB_vertex/fragment_program to do per-pixel lighting.
2003-04-17 19:20:54 +00:00
Brian Paul
da74a60e4c
added LoadProgramNV and RequestResidentProgramsNV
2003-04-17 02:44:13 +00:00
Brian Paul
5960105ca3
Added arbprogram.c to Makefiles.
...
Added display list support for GL_NV_fragment_program.
Assorted clean-ups.
2003-04-17 02:33:08 +00:00
Brian Paul
af0c247021
temporary GL_ARB_fragment_program tokens
2003-04-17 01:48:56 +00:00
Brian Paul
451f31093e
checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.
2003-04-17 01:48:19 +00:00
Brian Paul
2db8041ffe
fix depth texture tex env bug ( #719903 )
2003-04-14 17:08:53 +00:00
Brian Paul
d0492cf137
Some groundwork for GL_ARB_vertex/fragment_program.
2003-04-11 01:20:06 +00:00
Brian Paul
6cfaff1633
remove a const
2003-04-10 19:57:19 +00:00
Keith Whitwell
bf7128a682
drawarrayrange fix
2003-04-10 10:03:30 +00:00
Brian Paul
ebab631c9c
fix typo
2003-04-09 22:50:52 +00:00
Brian Paul
0b77a1c635
fix typo
2003-04-09 21:50:08 +00:00
Brian Paul
ad80233d5d
add support for swap and sync extensions (Ian Romanick)
2003-04-09 21:47:19 +00:00
Brian Paul
4c928471c1
Added function pointer typedefs for GL_NV_fragment_program
2003-04-09 02:32:56 +00:00
Brian Paul
ef393cbb54
Added GL_ARB_vertex_buffer_object tokens
2003-04-09 02:32:12 +00:00
Brian Paul
aac732546a
basic work on GL_ARB_vertex_buffer_object
2003-04-09 02:31:35 +00:00
Brian Paul
c708ac2afe
fix string compare bug
2003-04-08 18:02:27 +00:00
Brian Paul
38c619bf15
add missing return in raster_pos4f()
2003-04-08 13:33:41 +00:00
Brian Paul
dcf3d8d61d
fix some problems parsing scalar source arguments
2003-04-08 02:57:36 +00:00
Brian Paul
36a0a3252e
Added ctx->Texture._EnabledCoordUnits bitfield.
...
Fixed some vertex array / vertex program glitches with glDrawElements.
Fixed some fragment program runtime bugs.
Non-trivial Cg programs are running now.
2003-04-08 02:27:16 +00:00
Brian Paul
0cebd5822a
added _mesa_realloc()
2003-04-08 02:22:41 +00:00
Brian Paul
b8ca0172e7
scalar source reg can be a scalar or vector literal
2003-04-07 23:12:00 +00:00
Brian Paul
071a4ddd92
initialize attribute vectors to 4 components
2003-04-07 23:07:50 +00:00
Brian Paul
4cef881e1f
Demo of per-pixel lighting with a fragment program.
2003-04-07 23:05:50 +00:00
Brian Paul
14995b3d3b
minor parser fixes, program print-out fixes
2003-04-07 14:58:58 +00:00
Brian Paul
670c8780f7
fix typo
2003-04-07 14:57:27 +00:00
Brian Paul
0e7f2952fe
fix color array mixup
2003-04-07 14:54:01 +00:00
Keith Whitwell
e3dd0a4e7f
Don't unset FLUSH_STORED_VERTICES in _tnl_execute_cassette as this may
...
break driver callbacks.
2003-04-07 14:53:28 +00:00
Brian Paul
69ffa43656
Added gcc-sl target and shared lib shell script (Philip Brown)
2003-04-07 14:45:52 +00:00
Keith Whitwell
33ce405e86
Pass 4th element correctly in loopback_VertexAttrib4svNV
2003-04-05 07:29:23 +00:00
Brian Paul
c0eebd723f
test glProgramNamedParameter4fNV()
2003-04-05 00:38:40 +00:00
Brian Paul
ce7f006e66
fragment program named constants and named program parameters basically work now
2003-04-05 00:38:09 +00:00
Brian Paul
738318bb75
Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height
...
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows
more flexiblity, like supporting larger, non-cubic 3D textures.
2003-04-04 17:17:50 +00:00
Brian Paul
b0e90cc839
more memory-related fixes
2003-04-03 21:01:33 +00:00
Brian Paul
7823388744
some texture compression odds & ends
2003-04-03 20:57:49 +00:00
Brian Paul
bb5ebf1724
simplify CEILF, FLOORF, FABSF stuff
2003-04-03 20:34:38 +00:00
Brian Paul
0983163fde
fix double-memory free in XMesaDestroyContext
2003-04-02 19:34:36 +00:00
Brian Paul
27f4484fb7
added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target()
2003-04-01 22:23:11 +00:00
Brian Paul
dd26d02889
clean-up current state initialization
2003-04-01 22:20:42 +00:00
Brian Paul
12fca20e1f
added GL_FRAGMENT_PROGRAM_NV (Alan Matsuoka)
2003-04-01 19:07:35 +00:00
Brian Paul
b852f048ee
minor initialization fixes
2003-04-01 18:57:36 +00:00