Brian Paul
2fbaddfa69
check for USE_MGL_NAMESPACE
19 years ago
Brian Paul
d2f80777e8
implement _mesa_GetShaderiv()
19 years ago
Brian Paul
3bef600024
implement _mesa_GetProgramiv()
19 years ago
Brian Paul
7e6701cef1
Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.
19 years ago
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.
19 years ago
Brian Paul
c64a062918
plug in 2.0, 2.1 functions
19 years ago
Brian Paul
39cc8e8a06
Added OpenGL 2.1 entrypoints.
19 years ago
Brian Paul
33748aaad8
Set DO_DEBUG=0
19 years ago
Brian Paul
3c1ce571ed
only enabled memcpy timing if DO_DEBUG=1
19 years ago
Brian Paul
d00ef005fe
replace CONFIG_H with MESA_CONFIG_H_INCLUDED
19 years ago
Brian Paul
9e4a06a482
added 1.3/1.4 function mangling
19 years ago
Brian Paul
07bec141ac
assorted updates for 6.5.2
19 years ago
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).
19 years ago
Brian Paul
e90e827824
reformat comments in Doxygen style
19 years ago
Brian Paul
4d5744e66d
reindent
19 years ago
Brian Paul
61fd687c74
Minor changes to get ready for OpenGL 2.1.
19 years ago
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.).
19 years ago
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().
19 years ago
Brian Paul
4b43054c4b
added fsligght
19 years ago
Brian Paul
24ea2c2cef
yet another deriviative of the fplight.c demo for OpenGL 2.0 shading language
19 years ago
Brian Paul
83a5c2bf63
Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.
19 years ago
Brian Paul
7a28779b2e
minor change in _mesa_ResizeBuffersMESA()
19 years ago
Brian Paul
fc69beecb6
include utils.h to silence warning
19 years ago
Brian Paul
ce55bbe9ef
s/GLuint/int/ to silence warnings
19 years ago
Brian Paul
7941474a21
casting, type changes to silence warnings
19 years ago
Brian Paul
15193e78c9
s/GLint/GLuint/ to fix sign warnings
19 years ago
Brian Paul
071db86299
fix typo, silence warnings
19 years ago
Brian Paul
dd0830228b
Fix GL_EXT_packed_depth_stencil crash, but shadowtex still broken
19 years ago
Brian Paul
05267501af
comment about a valgrind error
19 years ago
Brian Paul
71f71c2c8a
s/GLchan/GLubyte/ in debug code
19 years ago
Brian Paul
959571f835
init SecondaryRasterColor
19 years ago
Brian Paul
e441427f40
Added GL_STENCIL_BACK_WRITEMASK
19 years ago
Brian Paul
af864bb0da
check for shader extensions for OpenGL 2.0
19 years ago
Brian Paul
e812081253
Undo some of yesterday's ATI_separate_stencil changes. The ATI extension
doesn't exactly match OpenGL 2.0.
19 years ago
Brian Paul
d78f65cd6c
Fix fragment program fog problems found with Glean.
1. add PROGRAM_CONSTANT to switch() in src_vector().
2. use _mesa_append_fog_code() to handle fog options in i915ProgramStringNotify().
3. Re-enable some vertex attribute emit code that was previously disabled in i915ValidateFragmentProgram().
19 years ago
Brian Paul
67a101759e
Call _mesa_problem() from i915_program_error() so we get a nice error message.
19 years ago
Jerome Glisse
b6c2a6a0f2
Add requested size to r300RefillCurrentDmaRegion.
This way we no longuer have the fixed RADEON_BUFFER_SIZE.
Anyway function calling AllocDmaRegion should check if this
succeed and fail gracefuly if not (see bug 8348).
19 years ago
Brian Paul
94249ca333
remove GetBufferSize = NULL; assignment
19 years ago
Brian Paul
df5edb21f8
Fixes Glean vertex/fragment test failures. Those tests never called
glViewport so the viewport was 0 by 0 pixels.
19 years ago
Brian Paul
c97bc619d6
remove GetBufferSize code
19 years ago
Brian Paul
6f676f4871
always load frag prog state params for now (see comments)
19 years ago
Brian Paul
51b115d5ae
remove unneeded extern declaration of lockMutex
19 years ago
Brian Paul
29ed894633
bump driver date
19 years ago
Brian Paul
7a9c7c1133
Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we often
need to check for this condition before the later field has been computed.
Fixes logicop bug #8860 .
19 years ago
Brian Paul
abc73d9cba
new RGBA_LOGICOP_ENABLED() macro
19 years ago
Brian Paul
12fe1b3a58
s/_mesa_IsProgram2/_mesa_IsProgram/
19 years ago
Brian Paul
f49c0d0dfb
Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the
OpenGL 2.0 function of the same name.
19 years ago
Brian Paul
f961d394e3
OpenGL 2.0 entrypoints
19 years ago
Brian Paul
e71e4c9e47
run indent on the code
19 years ago
Brian Paul
036173e0d8
test OpenGL 2.0 stencil funcs
19 years ago