summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* i915: Set bit field of length 1 light_twoside to unsigned.Vinson Lee2010-01-301-1/+1
|
* 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.
* 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
* 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]>
* 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: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu2010-01-301-2/+2
| | | | | A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
* 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.
* gallium: document pipe_context::get_query_result()Brian Paul2010-01-292-3/+14
|
* 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.
* 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.
* 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
|
* r300g: Clean up blend masks, change caps.Corbin Simpson2010-01-283-13/+18
| | | | | progs/tests/drawbuffers should work, except I can't test it. GG new shader parser. GG.
* gallium-docs: Minor grammar, need to talk about dual-source blends.Corbin Simpson2010-01-282-3/+12
|
* gallium-docs: Clean up constantbuf info a bit.Corbin Simpson2010-01-281-23/+24
| | | | | Hmm, does this belong in context, next to set_constant_buffer? Maybe a paragraph in shaders might be useful.
* gallium-docs: Add PIPE_CAP info.Corbin Simpson2010-01-282-0/+67
|
* st/xorg: Update to new libkms interface but be backwards compatibleJakob Bornecrantz2010-01-282-0/+8
|
* Merge commit 'origin/perrtblend'Roland Scheidegger2010-01-2853-405/+523
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
| * gallium: remove PIPE_CAP_S3TC, and add PIPE_CAP_DUAL_SOURCE_BLENDRoland Scheidegger2010-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | 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).
| * nv50: supports independent blend enablesChristoph Bumiller2010-01-262-17/+41
| |
| * gallium: add the new PIPE_CAP blend bits to more driversRoland Scheidegger2010-01-267-0/+28
| | | | | | | | some drivers will complain if they don't know the cap bit
| * r300g: Per-MRT blending is not supported.Corbin Simpson2010-01-261-0/+3
| |
| * softpipe: enable new blend functionalityRoland Scheidegger2010-01-252-18/+21
| | | | | | | | works with tests/drawbuffers2
| * st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasksRoland Scheidegger2010-01-251-0/+5
| | | | | | | | uses the new gallium per-rt blend functionality
| * vega: don't enable blending if not necessaryRoland Scheidegger2010-01-253-6/+4
| | | | | | | | | | In some places blending was enabled even though it wasn't necessary. Also remove a (bogus) reenabling of color writes, which wasn't really used.
| * xorg: do not enable unnecessary blending for xvRoland Scheidegger2010-01-251-1/+1
| |
| * trace: adapt to blend changesRoland Scheidegger2010-01-251-11/+21
| |
| * svga: adapt to blend changesRoland Scheidegger2010-01-251-9/+9
| |
| * softpipe: adapt to blend changesRoland Scheidegger2010-01-252-30/+31
| |
| * nouveau: adapt drviers to blend changesRoland Scheidegger2010-01-256-57/+57
| |
| * r300g: adapt to blend changesRoland Scheidegger2010-01-251-11/+11
| |
| * i965g: adapt to blend changesRoland Scheidegger2010-01-251-11/+11
| |
| * i915g: adapt to blend changesRoland Scheidegger2010-01-251-14/+14
| |
| * cell: adapt to blend changesRoland Scheidegger2010-01-252-34/+34
| |
| * llvmpipe: adapt to blend changesRoland Scheidegger2010-01-251-35/+37
| |
| * st/python: adapt to blend changesRoland Scheidegger2010-01-257-40/+40
| |
| * vega: adapt to blend changesRoland Scheidegger2010-01-256-76/+70
| |
| * xorg: adapt to blend changesRoland Scheidegger2010-01-253-17/+17
| |
| * gallium: fix cast for size calc of pipe_blend_stateRoland Scheidegger2010-01-251-1/+1
| |
| * docs: enhance blend documentationRoland Scheidegger2010-01-211-3/+36
| |
| * docs: clean up sampler descriptionRoland Scheidegger2010-01-212-4/+8
| |
| * gallium: adapt util code to blend changesRoland Scheidegger2010-01-213-3/+3
| |