summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-02-11gallium: const-correctness for u_linear.c functionsBrian Paul
2009-02-11gallium: silence warnings about void ptr arithmeticBrian Paul
2009-02-11mesa: refactor MATH_SOURCES, remove Mesa x86 codegen from gallium buildBrian Paul
Omit math/m_xform.c from gallium builds since it's not used and it's the one place we were pulling in the Mesa x86 codegen which collides with gallium's x86 codegen. Can now omit ASM_C_SOURCES from gallium build too.
2009-02-11mesa: get rid of _math_init()Brian Paul
Only VBO uses the evaluator code so call _math_init_eval() there. Only TNL uses the transform/translate code so call _math_init_transformation() and _math_init_translate9) there. This is a step toward resolving some symbol collisions between Mesa's and gallium's x86 codegen. Have VBO and TNL modules call _math_init_transformation()
2009-02-11Add external pixman CFLAGS after all internal include pathsDan Nicholson
With the pixman CFLAGS at the beginning of the command line, my build was picking up the glcore.h from glproto, which doesn't have any of the TFP fields in __GLcontextmodes. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-11nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned.Younes Manton
2009-02-11draw: Cap max vertices instead of failing assert.José Fonseca
2009-02-11glsl: allow setting arrays of samplers in set_program_uniform()Brian Paul
Arrays of sampler vars haven't been tested much and might actually be broken. Will need to be revisited someday. Another fix for bug 20056.
2009-02-11glsl: raise GL_INVALID_OPERATION for glUniform(location < -1)Brian Paul
location = -1 is silently ignored, but other negative values should raise an error. Another fix for bug 20056.
2009-02-11glsl: rework _mesa_get_uniform[fi]v() to avoid using a fixed size ↵Brian Paul
intermediate array
2009-02-11glsl: fix glUniform() array bounds error checkingBrian Paul
If too many array elements are specified, they're to be silently ignored (don't raise a GL error). Fixes another issue in bug 20056.
2009-02-11glsl: fix incorrect size returned by glGetActiveUniform() for array elements.Brian Paul
Fixes one of the issues in bug 20056.
2009-02-11Add install target for eglJohannes Engel
Signed-off-by: Johannes Engel <jcnengel@googlemail.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2009-02-11mesa: Use the stdio wrappers.José Fonseca
snprint symbol does not exist in Windows.
2009-02-11wgl: Add a few more stubs.José Fonseca
I wonder why we need this... It is only necessary for the MSVC build. MinGW does not require them.
2009-02-11mesa: Move statements after declarations.José Fonseca
2009-02-10intel: Add x8r8g8b8 visuals to DRI1 fbconfigs alongside a8r8gb8.Eric Anholt
This involved fixing driConcatConfigs to not return const (which had made a mess of a previous patch too).
2009-02-10sis: fix signedness warningsEric Anholt
2009-02-10trident: Fix signedness warning.Eric Anholt
2009-02-10tdfx: Fix begin/endquery for current API.Eric Anholt
2009-02-10intel: Don't do the extra MI_FLUSH in flushing except when doing glFlush().Eric Anholt
Everything other than "make sure the last rendering ends up visible on the screen" doesn't need that behavior.
2009-02-10intel: Speed up glDrawPixels(GL_ALPHA) by using an alpha texture format.Eric Anholt
2009-02-10intel: Fix some state leakage of {Client,}ActiveTexture in metaops.Eric Anholt
Found while debugging cairo-gl.
2009-02-10intel: don't crash when dri2 tells us about buffers we don't care about.Eric Anholt
2009-02-10dri2: Don't crash if the server returns more buffers than expected.Eric Anholt
2009-02-10dri2: Initialize variables for the getbuffers round-trip reduction.Eric Anholt
Missed setting the initial values which usually didn't hurt at runtime.
2009-02-10Merge commit 'origin/gallium-master-merge'Brian Paul
This is the big merge of the gallium-0.2 branch into master. gallium-master-merge was just the staging area for it. Both gallium-0.2 and gallium-master-merge are considered closed now. Conflicts: progs/demos/Makefile src/mesa/main/state.c src/mesa/main/texenvprogram.c
2009-02-10Merge commit 'origin/gallium-0.2' into gallium-master-mergeBrian Paul
2009-02-10mesa: remove the unused _mesa_UpdateTexEnvProgram() functionBrian Paul
2009-02-10mesa: another fix for program/texture state validationBrian Paul
This fixes a regression introduced in 46ae1abbac6837d051c10b2e8b57eab3d4958ff4 Break program validation into two steps, do part before texture state validation and do the rest after: 1. Determine Vertex/Fragment _Enabled state. 2. Update texture state. 3. Determine pointers to current Vertex/Fragment programs (which may involve generating new "fixed-function" programs). See comments in the code for more details of the dependencies.
2009-02-10intel: minor reformatting, commentsBrian Paul
2009-02-10mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more ↵Brian Paul
consistant with other flags
2009-02-10mesa: fix/change state validation order for program/texture stateBrian Paul
Program state needs to be updated before texture state since the later depends on the former. Fixes piglit texgen failure. The second time through the modes (press 't' three times) we disable the fragment program and return to conventional texture mode. State validation failed here because update_texture() saw stale fragment program state.
2009-02-10nouveau: nv40 swizzled mipmap fixes.Younes Manton
2009-02-10nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at ↵Patrice Mandin
the right places
2009-02-10nouveau: revert all my changes here, not the right wayPatrice Mandin
2009-02-10nouveau: stop with 0 dimensionPatrice Mandin
2009-02-10nouveau: we already have the right src offsetPatrice Mandin
2009-02-10nouveau: do not forget to half dimension.Patrice Mandin
2009-02-10nouveau: revert most parts of recent mipmap+swizzle stuff. We only need to ↵Patrice Mandin
find right src and dst offset for given mipmap level.
2009-02-10wgl: return before locking if stw_icd is NULLKeith Whitwell
2009-02-10Merge commit 'origin/gallium-0.2' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/state_trackers/wgl/icd/stw_icd.c
2009-02-10wgl: mutex-protect the shared stw_icd structKeith Whitwell
2009-02-10nouveau: dst offset is correctPatrice Mandin
2009-02-10pipebuffer: Drop reliance on pipe_winsys.José Fonseca
2009-02-10Missing: tgsi: Fix build -- rename Size to NrTokens.Patrice Mandin
2009-02-10nouveau: recalc sub width and height for each mipmap levelPatrice Mandin
2009-02-10mesa: Build both software rasterizers for debugJakob Bornecrantz
But put the gallium one in lib/gallium
2009-02-10gallium: Don't rebuild common drm codeJakob Bornecrantz
2009-02-10gallium: Install DRI drivers into lib/galliumJakob Bornecrantz