Sean D'Epagnier
6545ebbd8d
Modified config to use glut/fbdev, added demo and sample directories.
2006-08-05 08:55:10 +00:00
Sean D'Epagnier
288d4b6ebe
Modularized code into multiple files.
...
Added gamemode stubs, iconify support, joystick stubs.
Fixed color index mode, added 8 bit alpha blending, enabled cmaps even
with 15, 16, 24, and 32 depths as some fbdev drivers need this.
Fixed compiling with -ansi
Using SIGIO for keyboard input, so that vt switching is enabled even
if the program is locked.
Fixed numerous small bugs.
2006-08-05 08:24:29 +00:00
Brian Paul
0606ad45f6
fix typo, indentation
2006-08-04 22:09:43 +00:00
Karl Schultz
4818b0bea1
export new _mesa_* functions
2006-08-04 19:45:29 +00:00
Brian Paul
5c488dcab2
fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BIT
2006-08-04 13:41:25 +00:00
Claudio Ciccani
21dc092324
Handle GLUT_DEVICE_KEY_REPEAT,GLUT_OWN_JOYSTICK,GLUT_JOYSTICK_POLL_RATE in glutDeviceGet().
2006-08-04 12:43:33 +00:00
Claudio Ciccani
3ab2dd9f91
Moved glutDeviceGet() to events.c.
...
Implemented glutIgnoreKeyRepeat() and glutSetKeyRepeat().
2006-08-04 10:49:43 +00:00
Brian Paul
0a4be70368
more work for GL_EXT_texture_sRGB.
2006-08-04 03:44:53 +00:00
Brian Paul
2eb00b4388
use WRITE_MASK_* instead of 0x1, 0x2, etc
2006-08-03 17:10:45 +00:00
Brian Paul
3163542841
Added a check to prevent rebuilding Mesa with a different configuration
...
without first doing 'make realclean'.
2006-08-03 16:58:06 +00:00
Brian Paul
9c3876d7d8
New wrapper functions: _mesa_dlopen(), _mesa_dlsym(), _mesa_dlclose().
...
Eventually move them into imports.c
2006-08-03 03:59:20 +00:00
Brian Paul
6c071592ab
added GL_EXT_texture_sRGB
2006-08-03 03:23:05 +00:00
Brian Paul
8d214bc804
Initial work for GL_EXT_texture_sRGB.
2006-08-03 03:20:52 +00:00
Brian Paul
35fe7cfae4
fix link for Aqsis
2006-08-02 21:26:15 +00:00
Michal Krol
b60a3da43f
Enable vec4 extension for x86 back-end.
2006-08-02 14:51:24 +00:00
Michal Krol
1616f5b621
Change fragment shader to utilize faster vec4 operations.
2006-08-02 14:46:50 +00:00
Michal Krol
7a70391575
Add test for vec4 extension.
2006-08-02 14:45:24 +00:00
Michal Krol
3b5e02cc7c
Add vec4 extension.
2006-08-02 14:44:46 +00:00
Michal Krol
60ba2d88b3
Fix mmFindBlock function.
2006-08-02 14:22:06 +00:00
Michal Krol
365582dd6f
Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.
2006-08-01 20:07:31 +00:00
Brian Paul
cc738e004f
casts and assertions
2006-08-01 20:03:29 +00:00
Brian Paul
f05e7eba95
code to draw engine block
2006-08-01 20:03:05 +00:00
Michal Krol
90d7b9c9eb
Move GL_MESA_shader_debug from glext.h to gl.h.
2006-08-01 16:06:08 +00:00
Brian Paul
e724324894
renderbuffer fixes (Sean D'Epagnier)
2006-08-01 14:33:05 +00:00
Claudio Ciccani
9a4f15ee59
Fixed warnings.
2006-08-01 14:32:02 +00:00
Aapo Tahkola
689df543db
fix #6991
2006-07-31 23:21:50 +00:00
Brian Paul
667dd3c3e8
added glut fbdev files
2006-07-31 14:25:53 +00:00
Brian Paul
fe3242f00a
GLUT on fbdev driver. Sean D'Epagnier
2006-07-31 14:24:21 +00:00
Michal Krol
e8947a5fa0
Add support for GL_MESA_shader_debug.
2006-07-30 15:29:11 +00:00
Michal Krol
91dbc04d5e
Commit enums for GL_MESA_shader_debug.spec.
2006-07-30 15:19:19 +00:00
Michal Krol
32bf274f78
Program to convert .syn file to .h headers.
2006-07-30 14:48:01 +00:00
Claudio Ciccani
fc434622b3
Clear window's event mask before enabling handled events.
2006-07-30 14:47:51 +00:00
Michal Krol
4cc87c7248
Add support for GL_MESA_shader_debug.
2006-07-30 14:45:25 +00:00
Michal Krol
c26999fd2c
Fix dependencies.
2006-07-30 14:33:53 +00:00
Michal Krol
d2ac9ab6ee
More text.
2006-07-30 14:28:38 +00:00
Michal Krol
39dd5196e6
Optimize shaders.
...
Use frame counter.
2006-07-29 09:42:03 +00:00
Eric Anholt
0e6ef1b1cd
Fix build failure in the savage driver.
2006-07-28 21:30:14 +00:00
Jerome Glisse
32d61d0616
r300_emit.h cleanup.
...
Remove unused macro
Replace LOCAL_VAR, PREFIX*
Indent code
Remove radeon redundant CP type 3 packet
2006-07-27 22:51:14 +00:00
Brian Paul
a7722cb794
load SLANG_FRAGMENT_FIXED_SECONDARYCOLOR
2006-07-21 20:52:43 +00:00
Brian Paul
c28399baa7
just reindent
2006-07-21 20:49:20 +00:00
Brian Paul
a97492f4df
added arrayobj.[ch] files
2006-07-21 19:56:52 +00:00
Brian Paul
9d9d7b1dee
check for non-nill pwc in WMesaMakeCurrent(), bug 7585
2006-07-21 19:52:59 +00:00
Brian Paul
122629f279
Some structure renaming. Prefix vertex/fragment-related structs with
...
"gl_" to match other structs.
2006-07-20 16:49:57 +00:00
Brian Paul
459db7bd72
bump MESA_TINY to 1
2006-07-20 04:34:36 +00:00
Brian Paul
a623e008c6
move/update comments
2006-07-20 04:24:42 +00:00
Brian Paul
2f12458fb3
use ctx->Light.ShadeModel instead of ctx->_TriangleCaps
2006-07-20 04:17:11 +00:00
Brian Paul
a1a6ac4af4
Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel
2006-07-20 04:16:26 +00:00
Brian Paul
4e2de9531e
remove unused NEED_TWO_SIDED_LIGHTING() macro
2006-07-20 03:56:16 +00:00
Brian Paul
ad15866ef0
For glGetTexImage(), move the _mesa_validate_pbo_access() error check into
...
_mesa_GetTexImage() so it's not needed in the fallback or driver functions.
2006-07-19 16:13:15 +00:00
Brian Paul
0749e2723b
Several loops over the map1/2 evaluator arrays were incorrect.
...
There's only 16 evaluator maps. Define new _TNL_NUM_EVAL constant for
those loops.
Also, fix priority of GL_NV_vertex_program generic maps - they override the
conventional maps.
See bug 7564.
2006-07-19 15:28:29 +00:00