summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-02-03trace: Include the appropriate header instead of defining prototypes.José Fonseca
Avoids header when the header was included before.
2010-02-02gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca
2010-02-02gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca
util/u_simple_screen.h
2010-02-02gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca
Into os/os_thread.h and util/u_atomic.h respectively.
2010-02-02gallium: Make pipe_atomic a regular int32_t.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-02-01gallium: Use MSVC atomic intrinsics directly instead of the Windows header ↵José Fonseca
wrappers.
2010-02-01gallium: Remove unnecessary includes. Add others to compensate.José Fonseca
2010-02-01llvmpipe: Add missing includes.José Fonseca
2010-02-01i915: Add missing includes.José Fonseca
2010-02-01util: Add missing includes.José Fonseca
2010-02-01draw: Add missing includes.José Fonseca
2010-02-01gallium: Drop mutex-based pipe_atomic implementation.José Fonseca
First step to severe the dependency in OS abstractions from the Gallium interfaces.
2010-01-31st/dri: Remove duplicate type qualifier.Vinson Lee
2010-01-31i965g: Add missing va_end.Vinson Lee
2010-01-31r300g: Fix memory leak on memory allocation failure.Vinson Lee
2010-02-01nv04: Update to new nouveau_class.hMarcin Kościelnicki
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroyMarcin Slusarz
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01nv10, nv20: Fix build.Francisco Jerez
2010-01-30r300g: Silence uninitialized variable warning.Vinson Lee
2010-01-31egl: Initialize display configs with the display.Chia-I Wu
This changes _eglInitConfig to take the display as its argument.
2010-01-31egl: Initialize display resources with their display.Chia-I Wu
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
2010-01-30i915: Set bit field of length 1 light_twoside to unsigned.Vinson Lee
2010-01-31st/egl: Do not ignore configs without a renderable type.Chia-I Wu
Configs without a renderable type are still informative for programs such as eglinfo.
2010-01-31st/egl: Remove egl_g3d_get_current_context.Chia-I Wu
There is now _eglGetAPIContext that can return the current context of the given API.
2010-01-30Revert "r300g: Don't handle SHADOW_AMBIENT."Corbin Simpson
This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998. I was wrong. Who could have known? :3
2010-01-30r300g: Independent blend enables only work on r500.Corbin Simpson
2010-01-30r300g: Don't handle SHADOW_AMBIENT.Corbin Simpson
Bisected so that only this commit has to be reverted if I'm wrong. ...Pfft, like I'm ever wrong. :3
2010-01-30r300g: Fix comment on SHADOW_AMBIENT.Corbin Simpson
2010-01-30gallium-docs: Fix missing PIPE_CAPs.Corbin Simpson
Hmm, need to cross-ref those TGSI things. My work is never done... :3
2010-01-30r300g: Dual-source blending isn't possible, period.Corbin Simpson
2010-01-30r300g: Add alpha render targets.Mathias Fröhlich
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> Tested-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
2010-01-30st/egl: eglBindTexImage should bind to an OpenGL ES texture.Chia-I Wu
The spec says that it only works with OpenGL ES.
2010-01-30egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu
A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
2010-01-30gallium: fix blend state csoRoland Scheidegger
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.
2010-01-29gallium: document pipe_context::get_query_result()Brian Paul
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-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-28svga: Remove unnecessary headers.Vinson Lee
2010-01-28softpipe: Remove unnecessary header.Vinson Lee
2010-01-28llvmpipe: Remove unnecessary header.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-28st/xorg: Update to new libkms interface but be backwards compatibleJakob Bornecrantz
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-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.