summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-02-11mesa: Use the stdio wrappers.José Fonseca
snprint symbol does not exist in Windows.
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-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-10Missing: tgsi: Fix build -- rename Size to NrTokens.Patrice Mandin
2009-02-10mesa: Compare formats using nominal bytes per pixel.José Fonseca
This is a temporary fix which works for the formats we care so far. The real fix would be abandon the concept "nominal bytes per pixel" entirely in Mesa, and use macropixels instead, as done in gallium interfaces already.
2009-02-10gallium: Fixups for driCreateConfigs MSAA support.Michel Dänzer
Add the MSAA samples array or make sure its contents are initialized.
2009-02-09mesa: add x86/rtasm/x86sse.c to fix linux-x86 buildBrian Paul
2009-02-09mesa: fixes for srgb formatsRoland Scheidegger
swizzling in fetch/store srgba/sargb functions fixed (consistent with equivalent non-srgb formats now).
2009-02-09fix _mesa_get_teximage for srgb texturesRoland Scheidegger
2009-02-09mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state changeBrian Paul
Avoid a little bit of unneeded state validation and fixes a bug where the texture complete flags was set to false, but we didn't signal _NEW_TEXTURE. Fixes piglit tex1d-2dborder failure.
2009-02-09mesa: add no-change testing for a few more texture parametersBrian Paul
2009-02-09swrast: use ASSIGN_4V() macroBrian Paul
2009-02-09mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()Brian Paul
2009-02-09mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()Brian Paul
2009-02-09i965: need to disable current shader, if any, in intel_clear_tris()Brian Paul
Fixes bad background in all the progs/glsl/ tests.
2009-02-09re-add MSAA supportBrian Paul
(cherry picked from commit f7d80aa00611917bc8ce637136d982b151b8f44f) This also involved adding the new MSAA fields to driCreateConfigs(). Also, re-add prog_instructions->Sampler field for i965 driver. Will have to revisit that.
2009-02-09mesa: build/use libmesagallium.a for gallium buildsBrian Paul
This contains the core mesa code but excludes things not needed for gallium such as tnl/, swrast/, swrast_setup/, etc.
2009-02-09mesa: added new linux-gallium and linux-gallium-debug configsBrian Paul
Also, remove gallium-related things from configs/default. They're in linux-gallium now. So the default builds are the same as they have been for Mesa/master.
2009-02-09mesa: prefix #includes with main/Brian Paul
2009-02-09swrast: fix typo: s/drapix/drawpix/Brian Paul
2009-02-09mesa: remove old 'sources' file in favor of 'sources.mak'Brian Paul
2009-02-09mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul
Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
2009-02-09mesa: rework _mesa_reference_framebuffer() to look like ↵Brian Paul
_mesa_reference_renderbuffer() _mesa_unreference_framebuffer() is deprecated since _mesa_reference_framebuffer(ptr, NULL) can be used instead.
2009-02-07mesa: minor fixes to incomplete texture debug codeBrian Paul
2009-02-07mesa: debug code for printing info about textures, writing teximages to diskBrian Paul
2009-02-07mesa: code refactoring: move texcombine code into update_tex_combine()Brian Paul
2009-02-07mesa: minor clean-ups, remove unneeded conditionalBrian Paul
2009-02-07mesa: fix logic error in computing enableBits in update_texture_state()Brian Paul
If we had a vertex shader but no fragment shader (i.e. fixed function) we didn't get the right enabled texture targets. Fixes blank/white texture problem.
2009-02-06mesa: fix tnl->render_inputs_bitset setup for fragment program texcoordsBrian Paul
Handle the case where there's no per-vertex texcoords but the fragment shader needs texcoords. Fixes piglit shaders/fp-generic/dph test.
2009-02-06swrast: return (0,0,0,1) when sampling incomplete textures, not (0,0,0,0)Brian Paul
Fixes piglit shaders/fp-incomplete-tex test.
2009-02-06glsl: new MESA_GLSL env var for GLSL debugging featuresBrian Paul
Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug builds. MESA_GLSL will work both in debug and non-debug builds. Also add facility to dump glUniform() calls to stdout.
2009-02-06mesa: tweak output of _mesa_write_shader_to_file()Brian Paul
Enclose GPU code in comments to the file can be re-fed back into GLSL compiler.
2009-02-06Revert "mesa: meaningless whitespace change to see if git's working (ignore)"Brian Paul
This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day...
2009-02-06mesa: meaningless whitespace change to see if git's working (ignore)Brian Paul
2009-02-07radeon: remove include that breaks build in !OLD_PACKET pathDave Airlie
this path isn't enabled by default in any case.
2009-02-04glsl: use _slang_var_swizzle() in a few places to simplify the code.Brian Paul