summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix TexParameter functionsRoland Scheidegger2009-04-021-62/+86
| | | | | | | | | premature return in TexParameterf caused mesa to never call Driver.TexParameter breaking drivers relying on this (fix bug #20966). While here, also fix using ctx->ErrorValue when deciding to call Driver.TexParameter. Errors are sticky and uncleared errors thus would cause this to no longer get called. Since we thus need return value of set_tex_parameter[if] can also optimize this to only call when value changed.
* mesa: don't call ctx->Driver.ReadPixels() if width or height is zeroBrian Paul2009-04-021-0/+3
|
* mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zeroBrian Paul2009-04-021-24/+28
|
* glsl: fix segfault in linker when vertex or fragment shader was missingBrian Paul2009-04-021-9/+14
|
* progs: IgnoresJakob Bornecrantz2009-04-023-0/+7
|
* python/regress: Do not generate HTML summary for vertex shader test.Michal Krol2009-04-021-15/+0
|
* glx: MakeCurrent fixes.Thomas Hellstrom2009-04-022-9/+44
| | | | | | | | | | 1) If MakeContextCurrent is called with (NULL, None, None), Don't send the request to the X server if the current context is direct. 2) Return BadMatch in some error cases according to the glx spec. 3) If MakeContextCurrent is called for a context which is current in another thread, return BadAccess according to the glx spec. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* dri glx: Fix dri_util::driBindContextThomas Hellstrom2009-04-021-18/+14
| | | | | | | | | | | 1) Don't error-check here. It's done in glx makeCurrent. 2) Allow ctx and the dri drawables to be NULL for future use. This is currently blocked in glx makeCurrent. 3) Avoid updating dri drawables unless they are completely uninitialized. Since the updating was done outside of the lock, the driver need to verify and redo it anyway. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* dri glx: Propagate driver MakeCurrent errors.Thomas Hellstrom2009-04-021-2/+1
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* python/regress: Do not create zbuf for vertex shader test.Michal Krol2009-04-021-8/+1
|
* python/regress: Add more vertex shader test cases.Michal Krol2009-04-0210-0/+146
|
* swrast: remove unused integer lerp functionsBrian Paul2009-04-011-43/+1
|
* mesa: get rid of gl_texture_object::_BorderChanBrian Paul2009-04-012-5/+0
|
* dri: use BorderColor instead of _BorderChanBrian Paul2009-04-0113-51/+102
|
* swrast: remove old texture_apply() code; always use texture combine codeBrian Paul2009-04-013-403/+22
|
* swrast: fix bad optimization checkBrian Paul2009-04-011-1/+2
|
* swrast: remove unused parameterBrian Paul2009-04-011-6/+1
|
* swrast: minor improvements, clean-ups in texcombine codeBrian Paul2009-04-011-9/+8
|
* mesa: simplify ycbcr->rgb conversion codeBrian Paul2009-04-011-32/+14
|
* mesa: convert more texture fetch functions to return GLfloatBrian Paul2009-04-012-107/+94
|
* mesa: switch texel fetch functions from GLchan to GLfloatBrian Paul2009-04-012-280/+266
|
* swrast: use float4_array typedef to simplify the code a bitBrian Paul2009-04-011-54/+71
|
* mesa: texture combine clean-upsBrian Paul2009-04-015-112/+108
| | | | | | Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
* swrast: refactor depth/shadow sampling codeBrian Paul2009-04-011-262/+271
|
* swrast: general clean-up of texture combine codeBrian Paul2009-04-011-246/+161
|
* swrast: do texture sampling/combining in floating pointBrian Paul2009-04-018-779/+512
| | | | | The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
* demos: added progs/glsl/linktest.c to test linking of separate compilation unitsBrian Paul2009-04-012-0/+265
|
* glsl: implement compiling/linking of separate compilation unitsBrian Paul2009-04-016-23/+139
| | | | | | | | | A shader program may consist of multiple shaders (source code units). If we find there are unresolved functions after compiling the unit that defines main(), we'll concatenate all the respective vertex or fragment shaders then recompile. This isn't foolproof but should work in most cases.
* mesa: use correct tex unit lod bias for TXB instructionBrian Paul2009-04-011-2/+2
|
* swrast: fix glDrawBuffer(GL_FRONT_AND_BACK)Brian Paul2009-04-011-2/+8
| | | | We weren't putting the right colors into the back buffer in this mode.
* mesa: fix a recursive display list problemBrian Paul2009-04-011-1/+1
| | | | | | | | | | | | | This fixes an issue when compiling glCallList() into another display list when the mode is GL_COMPILE_AND_EXECUTE. Before, the call to glCallList() called _mesa_save_CallList() which called neutral_CallList() which then called _mesa_save_CallList() again. In the end, the parent display list contained two calls to the child display list instead of one. Let's be on the lookout for regressions caused by this change for a while before we cherry-pick this elsewhere.
* r300-gallium: Translate vertex shader magic numbers.Corbin Simpson2009-04-011-13/+51
|
* r300-gallium: Fix compiler warnings.Corbin Simpson2009-04-012-13/+13
| | | | | | "const" is the right keyword, but I can't do that without adding a bunch of really annoying and ugly const casts everywhere, and frankly, that's really stupid, so instead, just don't make them const.
* r300-gallium: Add vertex shader for surface_copy.Corbin Simpson2009-04-012-11/+37
|
* util: Fix x86_64 build.José Fonseca2009-04-011-1/+1
|
* util: Lookup symbol names from addresses.José Fonseca2009-04-015-1/+308
| | | | | | Nice for stack backtraces. Windows-only for now.
* tgsi: Fix structure members initialisation.Michal Krol2009-04-011-116/+116
|
* python/regress: Add vertex shader LRP test.Michal Krol2009-04-012-0/+15
|
* python/regress: Add vertex shader FRC test.Michal Krol2009-04-012-0/+17
|
* glsl: fix texgen state variable tokens in emit_statevars()Brian Paul2009-04-011-8/+16
| | | | | This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays. See bug 20986.
* mesa: minor tweaks in append_token() for printing state var stringsBrian Paul2009-04-011-8/+8
|
* tgsi: Lookup alternate instruction mnemonics when parsing tgsi text.Michal Krol2009-04-011-1/+21
|
* tgsi: Provide alternate instruction mnemonics in tgsi info.Michal Krol2009-04-012-29/+31
|
* tgsi/doc: Fix typo.Michal Krol2009-04-011-1/+1
|
* python/regress: Add vertex shader EX2 test.Michal Krol2009-04-012-0/+19
|
* python/regress: Add vertex shader DST test.Michal Krol2009-04-012-0/+12
|
* python/regress: Fix vertex shader XPD test.Michal Krol2009-04-011-2/+2
|
* python/regress: Indent.Michal Krol2009-04-018-0/+30
|
* python/regress: Add vertex shader test for XPD.Michal Krol2009-04-012-0/+9
|
* python/regress: Rename test files from *.txt to *.sh -- won't be .gitignored.Michal Krol2009-04-018-1/+1
|