Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-15 | nv30, nv40: add is_nv4x member to context and screen structs | Luca Barbieri | |
This will make it faster to check for nv40. | |||
2010-03-15 | nv30, nv40: unify all structures and headers, except shaders | Luca Barbieri | |
This patch unifies nv[34]0_screen.h, nv[34]0_context.h and nv[34]0_state.h The unified files are put in a new "nvfx" directory. nv30_context.h and nv40_context.h still exist to hold the function prototypes and include nvfx_context.h nv[34]0_screen.h and nv[34]0_state.h are deleted, replaced by the unified versions. nv40 includes some extra fields for swtnl and user clip planes support. These fields will be unused on nv30 until that functionality gets added to it too (by unification with nv40). | |||
2010-03-15 | nouveau: s/rankine/eng3d/g; s/curie/eng3d/g | Luca 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-15 | nv30: remove unused on_hw field and constant fp_reg_control field | Luca Barbieri | |
This makes nv30_state.h equivalent to nv40_state.h | |||
2010-03-15 | nv40: use NV34TCL_ constants where available | Luca 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-14 | r300g: Remove unnecessary headers. | Vinson Lee | |
2010-03-14 | trace: Remove unnecessary headers. | Vinson Lee | |
2010-03-14 | svga: Remove unnecessary header. | Vinson Lee | |
2010-03-14 | r300g: remove pipe_context from r300_screen | Marek Olšák | |
2010-03-13 | softpipe: Remove unnecessary header. | Vinson Lee | |
2010-03-13 | gallium: Respect user's CFLAGS for including X headers | Dan 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-13 | llvmpipe: Switch to PIPE_TEX_MIPFILTER_NONE when texture has no mipmaps. | José Fonseca | |
2010-03-13 | r300g: 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-13 | r300g: fix anisotropic filtering, fix macrotiling | Marek Olšák | |
Two bug fixes at the same time. :) | |||
2010-03-13 | r300g: refrain from using immediate mode if it causes slowdown | Marek 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-13 | r300g: fix up function names | Marek Olšák | |
2010-03-13 | llvmpipe: Ensure the context is flushed before modifying textures. | José Fonseca | |
2010-03-13 | llvmpipe: 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-13 | llvmpipe: Obey rasterization rules. | José Fonseca | |
Replicates softpipe. | |||
2010-03-13 | llvmpipe: setup_context -> lp_setup_context | José Fonseca | |
Otherwise IDEs and debuggers have trouble distinguishing from softpipe's setup_context. | |||
2010-03-13 | nv50: fixup after gallium-context-transfers merge | Xavier Chantry | |
2010-03-13 | python: 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-13 | st/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-12 | r300g: Forcibly sanitize max index. | Corbin Simpson | |
Not perfect, but the kernel should shut up now. | |||
2010-03-12 | gallivm: cube map sampling works now | Brian Paul | |
2010-03-12 | gallivm: fix bugs in nested if/then/else codegen | Brian Paul | |
Quite a bit a hair pulling was involved... | |||
2010-03-12 | gallivm: support non-vector float in lp_build_sgn() | Brian Paul | |
2010-03-12 | svga: Fix up for context transfers. | Michel Dänzer | |
2010-03-12 | st/xorg: Remove flushes no longer necessary thanks to context transfers. | Michel Dänzer | |
2010-03-12 | Merge branch '7.8' | Michel Dänzer | |
2010-03-12 | vmwgfx/dri: Fix SCons build. | Michel Dänzer | |
2010-03-12 | st/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-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-12 | st/xorg: context transfers | Keith Whitwell | |
2010-03-12 | gallium: fix BGRA vertex color swizzles | Marek 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-12 | r300g: Properly clamp index limits. | Corbin Simpson | |
Make the kernel even less likely to barf on us. | |||
2010-03-12 | Merge commit 'origin/gallium-context-transfers-2' | Keith Whitwell | |
2010-03-11 | llvmpipe: Remove unnecessary header. | Vinson Lee | |
2010-03-11 | gallivm: checkpoint WIP cubemap code | Brian Paul | |
2010-03-11 | gallivm: added lp_build_sum_vector() | Brian Paul | |
2010-03-11 | softpipe: further tighen up sample_cube() | Brian Paul | |
The code can fairly easily be translated to llvm... | |||
2010-03-11 | softpipe: tighten up the code in sample_cube() | Brian Paul | |
2010-03-11 | gallivm: enable 3D texture sampling | Brian Paul | |
2010-03-11 | gallivm/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-11 | llvmpipe: fix comment typo | Brian Paul | |
2010-03-11 | gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h | Brian Paul | |
2010-03-11 | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | |
2010-03-11 | gallivm: fix some bugs on the 1D texture paths | Brian Paul | |
2010-03-11 | st/mesa: don't enable extensions which aren't actually supported | Roland 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-11 | cell: adapt to context texture transfers (untested) | Roland Scheidegger | |