Stephane Marchesin
0850289d8c
Add the GL_LIGHING enable
2006-11-11 11:25:08 +00:00
Stephane Marchesin
f82bc9110b
Some work on nv30 state, heavily based on jkolb's work
2006-11-11 00:00:45 +00:00
Ian Romanick
466d4a1dd0
Added information about added GLX_SGI_make_current_read support
2006-11-10 21:11:39 +00:00
Ian Romanick
ded5517bd5
Bump driver date.
2006-11-10 21:06:23 +00:00
Ian Romanick
5c38472152
Refactor savageXMesaSet{Back,Front}ClipRects.
...
Refactor savageXMesaSetBackClipRects and savageXMesaSetFrontClipRects
into a single new routine called savageXMesaSetClipRects. This allows
a few cleanups in the code.
2006-11-10 18:57:30 +00:00
Ian Romanick
6e2c952537
Enable GLX_SGI_make_current_read.
...
Eliminate use of deprecated GetBufferSize interface. Keep framebuffer
state associated with the read-drawable and the draw-drawable up to
date.
Tested with progs/demos/wincopy.
2006-11-10 18:47:22 +00:00
Brian Paul
0a3a1c6ae9
fix -noprefix option for Solaris (bug 7722)
2006-11-10 12:47:56 +00:00
Dave Airlie
2862316309
Fix up texture compression at least Get and TexImage, not too sure about
...
how to fix SubTexImage with compressed textures
2006-11-10 00:32:35 +00:00
Ian Romanick
d7815f5913
Implement GLX_SGI_make_current_read
...
Discontinue use of the old GetBuffeSize interface. Track both the
current read-drawable and the current draw-drawable. After moving
some context state to via_rednerbuffer, GLX_SGI_make_current_read can
be enabled.
The extension works, but the wincopy test prodcues a black window for
the destination window. After messing around with the window and
looking at the code, I believe the problem is in the handling of
buffer swap requests on a drawable that isn't the current draw-drawable.
2006-11-10 00:14:30 +00:00
Ian Romanick
3ce4adaa8f
Remove unnecessary setting of GetBufferSize to NULL.
2006-11-09 22:28:09 +00:00
Adam Jackson
c6f1d4c3a0
Fix some && (logical) that should clearly have been & (bitwise).
2006-11-09 20:47:22 +00:00
Dave Airlie
4bb39f5899
remove drm stuff from libGL, this is now in libdrm 2.3.0
2006-11-08 22:25:52 +00:00
Stephane Marchesin
20802a7b69
Commit a small nitpick
2006-11-07 17:37:22 +00:00
Roland Scheidegger
0ddd50c8ae
fix vp lockups due to incorrectly set up / emitted attrib inputs.
2006-11-05 23:13:19 +00:00
Roland Scheidegger
aee30f3f9d
fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp inputs.
2006-11-05 22:21:11 +00:00
Brian Paul
831d13bc42
reindent
2006-11-05 15:30:41 +00:00
Stephane Marchesin
e2b4d9b317
Architect the DRI :
...
- make use of the autogenerated nouveau_reg.h file
- add object creation to the DRI
- some work on screen and context creation
2006-11-05 13:46:48 +00:00
Jerome Glisse
e330a69ee5
Add sin instruction to fragment program.
...
There is a bug somewhere in fragment program.
tri-cos and tri-sin show the bug. Also we
should not emit multiple time the same constant.
for sin,cos,lit have to fix that.
2006-11-05 00:47:27 +00:00
Jerome Glisse
0056ea5417
Add cos instruction and remove left over debug.
2006-11-04 23:50:27 +00:00
Brian Paul
120584a1e6
Fix for glGetVertexAttribfvNV, bug 8883
2006-11-04 17:31:45 +00:00
Brian Paul
adf3a64b03
fix error msg
2006-11-04 17:31:21 +00:00
Brian Paul
590b557b10
fix for glGetVertexAttribfvARB, bug 8883
2006-11-04 17:28:38 +00:00
Brian Paul
64d952c92c
#define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set.
2006-11-03 23:43:14 +00:00
Brian Paul
c9365b7ca4
Fix _mesa_IsProgram() and _mesa_IsShader()
2006-11-03 23:32:30 +00:00
Brian Paul
2fbaddfa69
check for USE_MGL_NAMESPACE
2006-11-03 23:28:36 +00:00
Brian Paul
d2f80777e8
implement _mesa_GetShaderiv()
2006-11-03 22:23:47 +00:00
Brian Paul
3bef600024
implement _mesa_GetProgramiv()
2006-11-03 22:15:43 +00:00
Brian Paul
7e6701cef1
Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.
2006-11-03 21:51:58 +00:00
Brian Paul
2659ee9dfb
Use inlined uniform() helper function in all the glUniform*() function to
...
reduce duplicated code.
Finish up _program_ReadUniform() for non-float types.
Implement _mesa_GetUniformivARB().
Simplify the _program_WriteUniform() function a bit.
2006-11-03 21:30:16 +00:00
Brian Paul
c64a062918
plug in 2.0, 2.1 functions
2006-11-03 20:25:44 +00:00
Brian Paul
39cc8e8a06
Added OpenGL 2.1 entrypoints.
2006-11-03 20:20:28 +00:00
Brian Paul
33748aaad8
Set DO_DEBUG=0
2006-11-03 19:55:01 +00:00
Brian Paul
3c1ce571ed
only enabled memcpy timing if DO_DEBUG=1
2006-11-03 19:54:40 +00:00
Brian Paul
d00ef005fe
replace CONFIG_H with MESA_CONFIG_H_INCLUDED
2006-11-03 18:35:52 +00:00
Brian Paul
9e4a06a482
added 1.3/1.4 function mangling
2006-11-03 18:29:39 +00:00
Brian Paul
07bec141ac
assorted updates for 6.5.2
2006-11-03 17:43:20 +00:00
Brian Paul
bdb251bcbf
Added OpenGL 2.1 glUniformMatrix* functions.
...
Refactor the _mesa_UniformMatrix() functions to use a helper function.
Implement GetUniformfv function (might need more work someday).
2006-11-03 17:29:31 +00:00
Brian Paul
e90e827824
reformat comments in Doxygen style
2006-11-03 17:18:05 +00:00
Brian Paul
4d5744e66d
reindent
2006-11-03 16:50:22 +00:00
Brian Paul
61fd687c74
Minor changes to get ready for OpenGL 2.1.
2006-11-03 15:18:17 +00:00
Keith Whitwell
188a4db49c
Fix compiler warnings.
...
Add missing code for translating non-GLuint elements.
2006-11-03 13:04:08 +00:00
Roland Scheidegger
029d18cd3d
enable generic arrays for r200 hw vertex programs by assigning unused color and texture inputs to them. Not widely tested yet. This should eliminate all fallbacks due to vertex programs, except writes to back facing colors, or when exceeding a hw limit (12 temps, 12 attribs etc.).
2006-11-03 12:48:18 +00:00
Roland Scheidegger
c3da1501b8
need to call bind_arrays() in vbo_exec_DrawRangeElements.
2006-11-03 12:33:29 +00:00
Roland Scheidegger
25b2e50229
remove remaining traces of r200FlushVertices...
2006-11-03 12:30:55 +00:00
Roland Scheidegger
e7b71f6919
remove setting some driver funcs explicitly to NULL, as they are no longer set up later. Thix fixes a segfault in _mesa_Bitmap().
2006-11-03 02:07:34 +00:00
Brian Paul
4b43054c4b
added fsligght
2006-11-03 00:16:12 +00:00
Brian Paul
24ea2c2cef
yet another deriviative of the fplight.c demo for OpenGL 2.0 shading language
2006-11-03 00:04:06 +00:00
Brian Paul
83a5c2bf63
Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.
2006-11-02 23:58:27 +00:00
Brian Paul
7a28779b2e
minor change in _mesa_ResizeBuffersMESA()
2006-11-02 23:56:08 +00:00
Brian Paul
fc69beecb6
include utils.h to silence warning
2006-11-02 23:43:22 +00:00