summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-29progs/demos: new image dissolve demoBrian Paul
Dissolve between two images using a random pattern in the stencil buffer and a varying stencil ref value.
2010-01-29gallium: document pipe_context::get_query_result()Brian Paul
2010-01-29Merge commit 'lb2/arb_fragment_coord_conventions'Keith Whitwell
2010-01-29docs: Mark what I've been up to.Corbin Simpson
Brian, feel free to split/revert if you disagree.
2010-01-29progs/tests: added a few more files to .gitignoreBrian Paul
2010-01-29tnl: check that state is validated before drawingBrian Paul
(cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2) Conflicts: src/mesa/tnl/t_draw.c
2010-01-29st/mesa: check that state is validated before drawingBrian Paul
(cherry picked from commit 4d1234e22242529c8d85f5ef0cf826af41a91570) Conflicts: src/mesa/state_tracker/st_draw.c
2010-01-29vbo: fix missing state validation bugsBrian Paul
Commit 2708ddfb06a36d8568e2aa130bf1f7d551fcd309 caused a few regressions. We need to check/validate state after calling bind_arrays() because it might set the _NEW_ARRAYS flag if the varying VP inputs change. The symptom of this problem was some attribute arrays being ignored (or interpreted as constant-valued) in glDrawRangeElements or glMultiDrawElements. A follow-on patch will add some additional asserts to try to catch this kind of thing in the future. (cherry picked from commit 3cba779e16935f7c3a0bfd8af48bd5e015068e96)
2010-01-29mesa: do state validation in _mesa_valid_to_render()Brian Paul
...rather than checking/validating before all the calls to _mesa_valid_to_render() and valid_to_render(). The next patch will actually fix some bugs... (cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
2010-01-29docs: Fixed Windows build for 7.7.1Brian Paul
(cherry picked from commit a0518e66b2960d3bab386985e24ccbc9c51abf97)
2010-01-29windows: assorted build fixesBrian Paul
These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2 but weren't applied. (cherry picked from commit 82c76cd16f35f4d903f49761af7eb28a755ad299)
2010-01-29glx: fix possible memory leaks in dri2CreateScreen()Rodolfo Ribeiro Gomes
Original patch fixed up by Brian Paul.
2010-01-29mesa: Warn when indices are out of bounds, but do not skip the draw in debug ↵Brian Paul
builds. The driver (or preferably the hardware) should handle out of bounds indices. If there are problems then it's better to detect those in the debug builds. (cherry picked from commit e3257912e006120f6ab611e77005eed1a464030a)
2010-01-29softpipe: support all TGSI fragment coord conventions (v4)Luca Barbieri
Changes in v4: - Rebase and modify for changes in previous patches Changes in v3: - Use positive caps instead of negative caps Changes in v2: - Now takes the fragment convention directly from the fragment shader Adds internal support for all fragment coord conventions to softpipe. This patch is not required for use with the current state trackers, but it allows softpipe to run any TGSI program and enhances performance.
2010-01-29st/mesa: Gallium support for ARB_fragment_coord_conventions (v4)Luca Barbieri
Changes in v4; - Implemented Brian Paul's style suggestions Changes in v3: - Use positive caps instead of negative ones Changes in v2: - Updated formatting The state tracker will use the TGSI convention properties if the hardware exposes the appropriate capability, and otherwise adjust WPOS itself. This will also fix some drivers that were previously broken due to their incorrect, inadvertent, use of conventions other than upper_left+half_integer.
2010-01-29tgsi: add caps for fragment coord conventions (v3)Luca Barbieri
Changes in v3: - Renumber caps to accomodate caps to add to master in the meantime - Document caps - Add unsupported caps to *_screen.c too Changes in v2: - Split for properties patch - Use positive caps instead of negative caps This adds 4 caps to indicate support of each of the fragment coord conventions. All drivers are also modifed to add the appropriate caps. Some drivers were incorrectly using non-Gallium-default conventions, and caps for them have them set so that they will behave correctly after the later state tracker patches. This drivers are softpipe/llvmpipe (uses integer rather than half integer) and pre-nv50 Nouveau (uses lower left rather than upper left). Other drivers might be broken. With this patchset, fixing them is only a matter of exposing the appropriate caps that match the behavior of the existing code. Drivers are encouraged to support all conventions themselves for better performance, and this feature is added to softpipe in a later patch.
2010-01-29tgsi: add properties for fragment coord conventions (v3)Luca Barbieri
Changes in v3: - Documented the new properties - Added comments for property values - Rebased to current master Changes in v2: - Caps are added in a separate, subsequent patch This adds two TGSI fragment program properties that indicate the fragment coord conventions. The properties behave as described in the extension spec for GL_ARB_fragment_coord_conventions, but the default origin in upper left instead of lower left as in OpenGL. The syntax is: PROPERTY FS_COORD_ORIGIN [UPPER_LEFT|LOWER_LEFT] PROPERTY FS_COORD_PIXEL_CENTER [HALF_INTEGER|INTEGER] The names have been chosen for consistency with the GS properties and the OpenGL extension spec. The defaults are of course the previously assumed conventions: UPPER_LEFT and HALF_INTEGER.
2010-01-29mesa: don't expose GL_ARB_fragment_coord_conventions until the GLSL part is doneLuca Barbieri
Exposing it was incorrect, as the GLSL part of the extension is missing. We still keep the ARB_fragment_coord_conventions field, so that the ARBfp parser can know whether to accept or reject the keywords.
2010-01-29another gcc 4.2.x check for mstackrealignAlan Hourihane
2010-01-28glu/sgi: Remove unnecessary headers.Vinson Lee
2010-01-28svga: Remove unnecessary headers.Vinson Lee
2010-01-28softpipe: Remove unnecessary header.Vinson Lee
2010-01-28llvmpipe: Remove unnecessary header.Vinson Lee
2010-01-28egl: Remove unnecessary headers.Vinson Lee
2010-01-28progs/tests: Remove unnecessary headers.Vinson Lee
2010-01-28progs/glsl: Fix bump GLSL compilation error on Mac OS.Vinson Lee
2010-01-28progs/glsl: Remove unused variable in bump.c.Vinson Lee
2010-01-28progs/glsl: Remove unnecessary header from samplers.c.Vinson Lee
2010-01-28r300g: Clean up blend masks, change caps.Corbin Simpson
progs/tests/drawbuffers should work, except I can't test it. GG new shader parser. GG.
2010-01-28gallium-docs: Minor grammar, need to talk about dual-source blends.Corbin Simpson
2010-01-28gallium-docs: Clean up constantbuf info a bit.Corbin Simpson
Hmm, does this belong in context, next to set_constant_buffer? Maybe a paragraph in shaders might be useful.
2010-01-28gallium-docs: Add PIPE_CAP info.Corbin Simpson
2010-01-28intel: Set the region's tiling to none when attaching a PBO to a region.Eric Anholt
Note that when detaching the PBO from the region and making a new BO for the region, we don't make it tiled even if the region originally was. Fixes piglit pbo-teximage-tiling.
2010-01-28i915: Remove unused initial and current state, now that there's nothing else.Eric Anholt
2010-01-28intel: Remove long-disabled meta readpixels, and associated meta support.Eric Anholt
2010-01-28st/xorg: Update to new libkms interface but be backwards compatibleJakob Bornecrantz
2010-01-28define own embedded target and cleanup previous commit.Alan Hourihane
2010-01-28Don't define HAVE_POSIX_MEMALIGN for embedded target.Alan Hourihane
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-28gallium: remove PIPE_CAP_S3TC, and add PIPE_CAP_DUAL_SOURCE_BLENDRoland Scheidegger
there's no point in keeping deprecated PIPE_CAPS around since there's no stable interface (yet). Reuse the enum for PIPE_CAP_DUAL_SOURCE_BLEND. Drivers advertizing this will accept the pipe blendfactors with SRC1 in them and be able to do dual source blending (src color from pixel shader output 0, and blendfactor with SRC1 will come from output 1, only one render target may be bound when using any of these blend factors).
2010-01-28add PIPE_SUBSYSTEM_EMBEDDED when embedded platform usedAlan Hourihane
2010-01-28tgsi: Constants declared with ureg_DECL_constant() are one-dimensional.Michal Krol
This is to maintain backward compatibility with drivers that don't support arrays of constant buffers.
2010-01-28tgsi: Add ureg_property_gs_output_prim/max_vertices().Michal Krol
2010-01-28docs: Implement constant buffer CAPs.Michal Krol
2010-01-28softpipe: Report some sane values for constant buffer CAP queries.Michal Krol
2010-01-28gallium: Add CAPs for constant buffers.Michal Krol
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28regress: Add vertex shaders tests for constant buffers.Michal Krol
2010-01-28gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol
2010-01-28regress: Add fragment shader test for one-dimensional constant buffers.Michal Krol