summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-13Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-13llvmpipe: Obey rasterization rules.José Fonseca
Replicates softpipe.
2010-03-13llvmpipe: setup_context -> lp_setup_contextJosé Fonseca
Otherwise IDEs and debuggers have trouble distinguishing from softpipe's setup_context.
2010-03-13nv50: fixup after gallium-context-transfers mergeXavier Chantry
2010-03-13python: Temporarily disable python state tracker until transfers are done by ↵José Fonseca
contexts It requires changes not ony to the state tracker but to the python scripts too.
2010-03-13st/egl: Cache the pipe surface used in flush_frontbuffer.Chia-I Wu
It is very likely that the same surface will be flushed again and again. Caching the surface should reduce the overhead of surface creation.
2010-03-12mklib: Fix amd64 builds on Solaris when using Sun compilersAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-03-12r300g: Forcibly sanitize max index.Corbin Simpson
Not perfect, but the kernel should shut up now.
2010-03-12Revert "st/mesa: Always recalculate invalid index bounds."Corbin Simpson
This reverts commit 50876ddaaff72a324ac45e255985e0f84e108594. Per ML discussion.
2010-03-12gallivm: cube map sampling works nowBrian Paul
2010-03-12gallivm: fix bugs in nested if/then/else codegenBrian Paul
Quite a bit a hair pulling was involved...
2010-03-12gallivm: support non-vector float in lp_build_sgn()Brian Paul
2010-03-12i965: Clarify the roles of emit_pixel_xy(), emit_delta_xy(), emit_wpos_xy().Eric Anholt
2010-03-12i965: Clarify that DELTAXY always occurs for both X and Y.Eric Anholt
2010-03-12i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, MOV, MOV.Eric Anholt
2010-03-12i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV.Eric Anholt
2010-03-12i965: Fix up VS DP4 sequences to avoid dependency control.Eric Anholt
This is recommended by the B-Spec. I wasn't able to measure any difference in ETQW.
2010-03-12i965: When doing a swizzled kill pixel, don't do redundant channel compares.Eric Anholt
This was obvious when looking at the compiled output of ETQW's shaders.
2010-03-12i965: Use the SEL instruction to implement MIN and MAX.Eric Anholt
Saves an instruction over doing conditional moves.
2010-03-12svga: Fix up for context transfers.Michel Dänzer
2010-03-12st/xorg: Remove flushes no longer necessary thanks to context transfers.Michel Dänzer
2010-03-12glx/single2.c: Don't call __builtin_expect on non-gnu compilersAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-03-12Merge branch '7.8'Michel Dänzer
2010-03-12vmwgfx/dri: Fix SCons build.Michel Dänzer
2010-03-12st/dri: Always try to set up R5G6B5 configs.Michel Dänzer
Allows compiz to work in depth 16. The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth buffers, for colour buffers the only requirement is that the format matches the drawable depth, which we can't check here. (cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)
2010-03-12r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher
fixes fdo bug 27043
2010-03-12dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add programs to .gitignore in redbookJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add programs to .gitignore in xdemosJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add -L$(libdir) for xdemos and egl so that the right libX11 is foundJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
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-12cso: Remove set/save/restore_vertex_sampler_textures().Michal Krol
2010-03-12st/mesa: Associate a sampler view with an st texture object.Michal Krol
Lazily create a sampler view when the texture is being bound for the first time.
2010-03-12cso: Add entry points for vertex/fragment sampler views.Michal Krol
2010-03-12st/xorg: context transfersKeith Whitwell
2010-03-12gallium: fix BGRA vertex color swizzlesMarek Olšák
The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??) Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit fixes the pipe format and removes obvious workarounds in util/translate. Tested with: softpipe, llvmpipe, r300g. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-03-12st/mesa: Always recalculate invalid index bounds.Corbin Simpson
These should always be sanitized before heading towards the pipe driver, and if the calling function explicitly marked them as invalid, we need to regenerate them. Allows r300g to properly pass a bit more of Wine's d3d9 testing without dropping stuff on the floor.
2010-03-12st/mesa: Update debug infos.Corbin Simpson
Still commented out, of course.
2010-03-12r300g: Properly clamp index limits.Corbin Simpson
Make the kernel even less likely to barf on us.
2010-03-12Merge commit 'origin/gallium-context-transfers-2'Keith Whitwell
2010-03-12mesa: fix linux-dri and autogen builds since sw-api-2 mergeKeith Whitwell
2010-03-11radeon: Fix memory leaks from early return.Vinson Lee
2010-03-11llvmpipe: Remove unnecessary header.Vinson Lee
2010-03-11gallivm: checkpoint WIP cubemap codeBrian Paul
2010-03-11gallivm: added lp_build_sum_vector()Brian Paul
2010-03-11softpipe: further tighen up sample_cube()Brian Paul
The code can fairly easily be translated to llvm...
2010-03-11softpipe: tighten up the code in sample_cube()Brian Paul
2010-03-11st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/Brian Paul
2010-03-11gallivm: enable 3D texture samplingBrian Paul
2010-03-11progs/demos: added 'f' key to toggle filtering mode in stex3d.cBrian Paul