summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r600: Remove unnecessary headers.Vinson Lee2010-01-3011-24/+0
|
* r300: Remove unnecessary headers.Vinson Lee2010-01-301-2/+0
|
* r200: Remove unnecessary headers.Vinson Lee2010-01-309-24/+0
|
* r128: Remove unnecessary headers.Vinson Lee2010-01-309-20/+0
|
* egl: Remove code blocks that are commented out.Chia-I Wu2010-01-314-113/+4
| | | | | | They are either unit tests or to demonstrate how functions are supposed to be used. The unit test is outdated and it should be better to take a look at any of the working drivers to see how a function is used.
* progs/egl: Update eglinfo to display more attributes.Chia-I Wu2010-01-312-11/+21
| | | | | Add config caveat, bind-to-texture, and renderable type. Remove double buffer and stereo attributes.
* st/egl: Do not ignore configs without a renderable type.Chia-I Wu2010-01-311-6/+6
| | | | | Configs without a renderable type are still informative for programs such as eglinfo.
* st/egl: Remove egl_g3d_get_current_context.Chia-I Wu2010-01-311-16/+4
| | | | | There is now _eglGetAPIContext that can return the current context of the given API.
* intel: Remove unnecessary headers.Vinson Lee2010-01-306-8/+0
|
* i965: Remove unnecessary headers.Vinson Lee2010-01-303-3/+0
|
* i915: Remove unnecessary headers.Vinson Lee2010-01-302-2/+0
|
* intel: Respect texture tiling when doing a PBO blit teximage upload.Eric Anholt2010-01-301-1/+2
| | | | Bug #26008. Fixes piglit pbo-teximage-tiling-2.
* Revert "r300g: Don't handle SHADOW_AMBIENT."Corbin Simpson2010-01-301-0/+6
| | | | | | This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998. I was wrong. Who could have known? :3
* intel: Fix inverting of inversion test for windows in glClear cleanup.Eric Anholt2010-01-301-2/+2
| | | | Bug #26290.
* r300g: Independent blend enables only work on r500.Corbin Simpson2010-01-302-5/+16
|
* r300g: Don't handle SHADOW_AMBIENT.Corbin Simpson2010-01-301-6/+0
| | | | | | Bisected so that only this commit has to be reverted if I'm wrong. ...Pfft, like I'm ever wrong. :3
* r300g: Fix comment on SHADOW_AMBIENT.Corbin Simpson2010-01-301-3/+2
|
* gallium-docs: Fix missing PIPE_CAPs.Corbin Simpson2010-01-302-4/+18
| | | | Hmm, need to cross-ref those TGSI things. My work is never done... :3
* r300g: Dual-source blending isn't possible, period.Corbin Simpson2010-01-302-6/+9
|
* r300g: Add alpha render targets.Mathias Fröhlich2010-01-302-2/+15
| | | | | Signed-off-by: Corbin Simpson <[email protected]> Tested-by: Mathias Fröhlich <[email protected]>
* progs/es1: Add bindtex.Chia-I Wu2010-01-303-17/+14
| | | | | It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the OpenGL version is removed.
* st/egl: eglBindTexImage should bind to an OpenGL ES texture.Chia-I Wu2010-01-301-4/+2
| | | | The spec says that it only works with OpenGL ES.
* egl: Remove my_strdup.Chia-I Wu2010-01-301-17/+2
| | | | There is already _eglstrdup for the main library's use.
* egl: Remove unused VisibleRefCount.Chia-I Wu2010-01-301-3/+0
|
* egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu2010-01-304-18/+18
| | | | | A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
* egl: Clean up header inclusions.Chia-I Wu2010-01-3024-21/+28
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* gallium: fix blend state csoRoland Scheidegger2010-01-303-37/+20
| | | | | | | if independent blend state was disabled, only the data from first rt was stored, however the comparison used the full state, hence there never was a match and always a new object was created. Fixes a huge performance drop with llvmpipe due to recompilation.
* progs/demos: new image dissolve demoBrian Paul2010-01-293-0/+160
| | | | | Dissolve between two images using a random pattern in the stencil buffer and a varying stencil ref value.
* gallium: document pipe_context::get_query_result()Brian Paul2010-01-292-3/+14
|
* Merge commit 'lb2/arb_fragment_coord_conventions'Keith Whitwell2010-01-2927-14/+357
|\
| * softpipe: support all TGSI fragment coord conventions (v4)Luca Barbieri2010-01-294-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * st/mesa: Gallium support for ARB_fragment_coord_conventions (v4)Luca Barbieri2010-01-292-3/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * tgsi: add caps for fragment coord conventions (v3)Luca Barbieri2010-01-2915-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * tgsi: add properties for fragment coord conventions (v3)Luca Barbieri2010-01-296-6/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * mesa: don't expose GL_ARB_fragment_coord_conventions until the GLSL part is doneLuca Barbieri2010-01-291-1/+2
| | | | | | | | | | | | | | | | 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.
* | docs: Mark what I've been up to.Corbin Simpson2010-01-291-1/+3
| | | | | | | | Brian, feel free to split/revert if you disagree.
* | progs/tests: added a few more files to .gitignoreBrian Paul2010-01-291-0/+3
| |
* | tnl: check that state is validated before drawingBrian Paul2010-01-291-0/+3
| | | | | | | | | | | | | | | | (cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2) Conflicts: src/mesa/tnl/t_draw.c
* | st/mesa: check that state is validated before drawingBrian Paul2010-01-291-0/+3
| | | | | | | | | | | | | | | | (cherry picked from commit 4d1234e22242529c8d85f5ef0cf826af41a91570) Conflicts: src/mesa/state_tracker/st_draw.c
* | vbo: fix missing state validation bugsBrian Paul2010-01-291-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | mesa: do state validation in _mesa_valid_to_render()Brian Paul2010-01-292-9/+4
| | | | | | | | | | | | | | | | | | ...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)
* | docs: Fixed Windows build for 7.7.1Brian Paul2010-01-291-0/+1
| | | | | | | | (cherry picked from commit a0518e66b2960d3bab386985e24ccbc9c51abf97)
* | windows: assorted build fixesBrian Paul2010-01-294-16/+20
| | | | | | | | | | | | | | These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2 but weren't applied. (cherry picked from commit 82c76cd16f35f4d903f49761af7eb28a755ad299)
* | glx: fix possible memory leaks in dri2CreateScreen()Rodolfo Ribeiro Gomes2010-01-291-5/+8
| | | | | | | | Original patch fixed up by Brian Paul.
* | mesa: Warn when indices are out of bounds, but do not skip the draw in debug ↵Brian Paul2010-01-291-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* | another gcc 4.2.x check for mstackrealignAlan Hourihane2010-01-291-1/+4
|/
* glu/sgi: Remove unnecessary headers.Vinson Lee2010-01-2811-13/+0
|
* svga: Remove unnecessary headers.Vinson Lee2010-01-282-2/+0
|
* softpipe: Remove unnecessary header.Vinson Lee2010-01-281-1/+0
|
* llvmpipe: Remove unnecessary header.Vinson Lee2010-01-281-1/+0
|