summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-03-15nouveau: s/rankine/eng3d/g; s/curie/eng3d/gLuca Barbieri
Result of running: perl -i -p -e 's/rankine/eng3d/g; s/curie/eng3d/g;' nv[34]0/*.[ch] This will allow to more easily unify nv30 and nv40.
2010-03-15nv30: remove unused on_hw field and constant fp_reg_control fieldLuca Barbieri
This makes nv30_state.h equivalent to nv40_state.h
2010-03-15nv40: use NV34TCL_ constants where availableLuca Barbieri
It was decided to just use the NV34TCL_ constants for constants common between nv30 and nv40, and deprecate the NV40TCL_ versions. This patch changes the nv40 driver to use NV34TCL_ constants for common functionality. This reduces differences between nv30 and nv40 to ease further unification.
2010-03-14r300g: Remove unnecessary headers.Vinson Lee
2010-03-14trace: Remove unnecessary headers.Vinson Lee
2010-03-14svga: Remove unnecessary header.Vinson Lee
2010-03-14r300g: remove pipe_context from r300_screenMarek Olšák
2010-03-13softpipe: Remove unnecessary header.Vinson Lee
2010-03-13gallium: Respect user's CFLAGS for including X headersDan Nicholson
This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-13llvmpipe: Switch to PIPE_TEX_MIPFILTER_NONE when texture has no mipmaps.José Fonseca
2010-03-13r300g: add high quality anisotropic filtering for R5xx (disabled by default)Marek Olšák
Oh look, an undocumented feature. It's a nice tool for benchmarking texturing.
2010-03-13r300g: fix anisotropic filtering, fix macrotilingMarek Olšák
Two bug fixes at the same time. :)
2010-03-13r300g: refrain from using immediate mode if it causes slowdownMarek Olšák
E.g. when mapping buffers could flush CS or cause waiting for a busy buffer. The side effect of this is it also fixes progs/demos/arbocclude however a separate fix should be proposed to address this issue in other cases it might occur.
2010-03-13r300g: fix up function namesMarek Olšák
2010-03-13llvmpipe: Ensure the context is flushed before modifying textures.José Fonseca
2010-03-13llvmpipe: Don't use texture transfer internally.José Fonseca
Now that transfers are context objects their sideeffects must happen in order when used by the state tracker, but that synchronization must be bypassed when used inside the driver, or it would cause infinite recursion.
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-12r300g: Forcibly sanitize max index.Corbin Simpson
Not perfect, but the kernel should shut up now.
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-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-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-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
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-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-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-11gallivm: enable 3D texture samplingBrian Paul
2010-03-11gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]'Brian Paul
The stride depends on the mipmap level. Rename to row_stride to distinguish from img_stride for 3D textures. Fixes incorrect texel addressing in small mipmap levels.
2010-03-11llvmpipe: fix comment typoBrian Paul
2010-03-11gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.hBrian Paul
2010-03-11gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if neededBrian Paul
2010-03-11gallivm: fix some bugs on the 1D texture pathsBrian Paul
2010-03-11st/mesa: don't enable extensions which aren't actually supportedRoland Scheidegger
don't enable APPLE_client_storage, TDFX_texture_compression_FXT1, EXT_cull_vertex, NV_vertex_program, NV_vertex_program1_1 - the latter two might work somewhat with some luck. Also don't enable ARB_imaging.
2010-03-11cell: adapt to context texture transfers (untested)Roland Scheidegger
2010-03-11gallium: remove pipe_context member from pipe_transferKeith Whitwell
There was very little use for this beyond permitting the pipe_context::tex_transfer_destroy() function to omit the pipe_context argument. This change adds the pipe_context argument into tex_transfer_destroy() so that it looks like other pipe_context functions, and removes the pipe_context pointer from pipe_transfer.
2010-03-11gallivm: include tgsi_dump.h to silence warningBrian Paul