summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-04-19gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul
When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
2010-04-14softpipe: Fix division by zeroArpad Borsos
This can be triggered by running the cairo tests using the gl backend and softpipe. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-11i915g: Fix assert.Vinson Lee
2010-04-05softpipe: index the correct blend/mask state indexBrian Paul
Need to check pipe_blend_state::independent_blend_enable to determine which render target/index to use when checking blend enable and colormask state. This is part of the fix for piglit/fbo-drawbuffers
2010-03-27i965g: Add brw_winsys_debug.c to SCons build.Vinson Lee
2010-03-27identity: Add id_drm.c to SCons build.Vinson Lee
This was missed in commit f7cbaae13d67c55abe81ac230de37f564365099f. (cherry picked from commit 02ee7c29502966dffa44243bfc8c20c15907b880)
2010-03-23softpipe: comments, re-formatting, etcBrian Paul
2010-03-23softpipe: add special cases for all Z compare modes for 16-bit Z bufferBrian Paul
We had fast paths for PIPE_FUNC_LESS and LEQUAL before. To satisfy OpenGL invariance rules, all depth compare modes should produce the same fragment Z values. Fixes progs/demos/singlebuffer.c
2010-03-19r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák
Fixing RGBA 4ub vertex colors.
2010-03-17cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATEBrian Paul
With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is.
2010-03-17cell: be more conservative in cell_is_format_supported()Brian Paul
This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 which changed the depth/stencil format we were trying to use.
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-08softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()Brian Paul
Before, we only cleared the flags for the active tiles (the ones inside the framebuffer bound). The problem is if we later bound a different, larger surface to the tile cache we'd have some stale clear-flags still set (and mistakenly clear some tiles in the new surface). Fixes fd.o bug 26932.
2010-03-05llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul
2010-03-05llvmpipe: add pipe_thread_wait() callsBrian Paul
Wait for threads to exit before cleaning up per-thread data. Fixes hang on context destruction with glean makeCurrent test. See fd.o bug 26536.
2010-03-05softpipe: implement PIPE_TEX_WRAP_CLAMP_TO_EDGE for unorm texture samplingBrian Paul
CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing.
2010-03-04softpipe: minor tweaks to texture filtering codeBrian Paul
2010-03-04llvmpipe: new commentBrian Paul
2010-03-04r300g: Fix indexbuf upper limits.Corbin Simpson
Wine tends to pessimistically use ~0 for its max index, but r300s only can go up to 2^24-1, causing the kernel checker to freak out. Civ4 is marginally improved now. Still crashes, but not as bad.
2010-03-03llvmpipe: Store the original triangle coordinates in the debug build.José Fonseca
For debugging purposes only.
2010-03-03llvmpipe: Ensure context is flushed when destroying shaders.José Fonseca
2010-03-03r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support.José Fonseca
2010-03-03llvmpipe: Linux is no longer a dependency. Llvmpipe builds and runs fine on ↵José Fonseca
windows too.
2010-03-03llvmpipe: Centralize LLVM initialization.José Fonseca
2010-03-03llvmpipe: Update for lp_bld_init.h rename.José Fonseca
2010-03-02r300g: Use a macro to consolidate general state handling.Corbin Simpson
My God, I've reinvented R300_STATECHANGE. Forgive me. :C
2010-03-02nv50: fix RT formats after format rename fixesChristoph Bumiller
Getting rid of the evil pre-processor magic, but not changing our internal format naming convention (at least for now).
2010-03-02nouveau: Rename pipe formats.José Fonseca
These format uses were being hiden by pre-processor magic and were missed in the previous search'n'replace.
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
2010-03-02llvmpipe: remove some ifdefsKeith Whitwell
No longer any need to protect expensive asserts with #ifdef DEBUG.
2010-03-02llvmpipe: reorganize transfer usageKeith Whitwell
Move transfer creation and mapping to the "scene" object, and out of the rasterizer. The rasterizer operates on already-mapped framebuffers only, and no longer needs a screen or context pointer. The scene object has access to a pipe_context, and this reorg prepares for moving transfer functionality from the screen to the context.
2010-03-02Merge branch 'gallium-no-rhw-position'Michal Krol
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
2010-03-02svga: Rename pipe formats.José Fonseca
2010-03-02softpipe: Rename pipe formats.José Fonseca
2010-03-02r300: Rename pipe formats.José Fonseca
2010-03-02i915g: Add assert to check for null pointer dereference.Vinson Lee
2010-03-01nouveau: Rename pipe formats.José Fonseca
2010-03-01llvmpipe: Rename pipe formats.José Fonseca
2010-03-01i965: Rename pipe formats.José Fonseca
2010-03-01i915g: Rename pipe formats.José Fonseca
2010-03-01cell: Rename pipe formats.José Fonseca
2010-03-01r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca
PIPE_FORMAT_R8G8B8A8_SNORM already listed.
2010-03-01softpipe: Advertise PIPE_FORMAT_R8G8B8A8_SNORM instead.José Fonseca
2010-03-01r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca
2010-03-01i915g: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca
2010-03-01r300: Save viewport and clip states before invoking blitter.Michal Krol
2010-03-01r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.José Fonseca
This format is not actually used by any state tracker. Probably the reverse notation was mean, which would make it identical to PIPE_FORMAT_X8B8G8R8_SNORM.
2010-03-01llvmpipe: Don't mention deprecated drivers=trace option.José Fonseca
Now trace always built.
2010-02-28r300g: atomize texture and sampler statesMarek Olšák
2010-02-28r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)Marek Olšák
Formerly known as vertex_format_state. These two are completely unrelated when using HWTCL and decoupling them makes the design less SWTCL-centric. When bypass_vs_clip_and_viewport gets removed, the PSC setup will no longer be a derived state. This change shouldn't make unbreaking SWTCL harder.