Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv30, nv40: unify nv[34]0_state_viewport.c | Luca Barbieri | 2010-03-15 | 9 | -51/+7 |
| | | | | The files are identical, except for an extra comment in nv30. | ||||
* | nv30, nv40: unify nv[34]0_query.c | Luca Barbieri | 2010-03-15 | 12 | -236/+42 |
| | | | | The files are identical except formatting. | ||||
* | nv30, nv40: unify nv[34]0_miptree.c | Luca Barbieri | 2010-03-15 | 9 | -264/+30 |
| | | | | | | | | | | | | | | | | The only difference between nv30 and nv40 is that nv30 allowed swizzling for more texture types. This patch preserves the existing behavior, using conditional code. Note however that this does not make sense, since all texture types can be swizzled on nv40 and probably on nv30 too. However, the handling of swizzled surfaces in the current 2D code is partially broken, so it's best not to touch this. A whole rewrite of the 2D code will be submitted, which will solve this problem. | ||||
* | nv30, nv40: unify nv[34]0_state_stipple.c | Luca Barbieri | 2010-03-15 | 9 | -48/+7 |
| | | | | | | | The files are identical, except for the fact that the nv40 version forgets to unreference the stateobj. Unified to the correct nv30 version. | ||||
* | nv30, nv40: unify identical nv[34]0_state_zsa.c | Luca Barbieri | 2010-03-15 | 9 | -56/+12 |
| | |||||
* | nv30, nv40: unify identical nv[34]0_state_scissor.c | Luca Barbieri | 2010-03-15 | 9 | -45/+7 |
| | |||||
* | nv30, nv40: unify identical nv[34]0_state_rasterizer.c | Luca Barbieri | 2010-03-15 | 10 | -39/+20 |
| | |||||
* | nv30, nv40: unify identical nv[34]0_state_blend.c | Luca Barbieri | 2010-03-15 | 9 | -56/+13 |
| | |||||
* | nv30, nv40: non-trivially unify nv[34]0_state_emit.c | Luca Barbieri | 2010-03-15 | 13 | -199/+75 |
| | | | | | | | | The files are the same except for swtnl support on nv40 and for texture cache flushing on nv40. Unify them, and use a macro to define 4 versions of render_states, for all combinations of nvfx and hwtnl/swtnl. | ||||
* | nv30, nv40: unify identical nv[34]0_transfer.c | Luca Barbieri | 2010-03-15 | 9 | -26/+26 |
| | |||||
* | nv30, nv40: unify identical nv[34]0_clear.c | Luca Barbieri | 2010-03-15 | 10 | -32/+10 |
| | |||||
* | nvfx: add nvfx directory to build system | Luca Barbieri | 2010-03-15 | 5 | -1/+33 |
| | | | | | | | Will be used to hold source files unified between nv30 and nv40. Eventually all nv30 and nv40 code will be moved there and the nv30 and nv40 directories will be removed. | ||||
* | nv30, nv40: add is_nv4x member to context and screen structs | Luca Barbieri | 2010-03-15 | 5 | -0/+11 |
| | | | | This will make it faster to check for nv40. | ||||
* | nv30, nv40: unify all structures and headers, except shaders | Luca Barbieri | 2010-03-15 | 51 | -1575/+1298 |
| | | | | | | | | | | | | | | | | | | | 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). | ||||
* | nouveau: s/rankine/eng3d/g; s/curie/eng3d/g | Luca Barbieri | 2010-03-15 | 32 | -289/+289 |
| | | | | | | | 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. | ||||
* | nv30: remove unused on_hw field and constant fp_reg_control field | Luca Barbieri | 2010-03-15 | 2 | -5/+1 |
| | | | | This makes nv30_state.h equivalent to nv40_state.h | ||||
* | nv40: use NV34TCL_ constants where available | Luca Barbieri | 2010-03-15 | 14 | -186/+186 |
| | | | | | | | | | | | 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. | ||||
* | r300g: Remove unnecessary headers. | Vinson Lee | 2010-03-14 | 2 | -3/+0 |
| | |||||
* | dri/common: mv __driUtilMessage to utils.c | George Sapountzis | 2010-03-15 | 6 | -31/+29 |
| | | | | allows to link with xmlconfig without dri_util, and has nothing drm-specific. | ||||
* | dri/swrast: add comment in case it's not clear | George Sapountzis | 2010-03-15 | 1 | -2/+2 |
| | |||||
* | dri/swrast: drop mtypes.h from dri_sw | George Sapountzis | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | dri/swrast: update copyright email | George Sapountzis | 2010-03-15 | 3 | -11/+3 |
| | |||||
* | dri/swrast: port to dri_sw (drawable) | George Sapountzis | 2010-03-15 | 4 | -22/+60 |
| | |||||
* | dri/swrast: port to dri_sw (context) | George Sapountzis | 2010-03-15 | 5 | -22/+58 |
| | |||||
* | dri/swrast: port to dri_sw | George Sapountzis | 2010-03-15 | 3 | -180/+100 |
| | |||||
* | dri: add dri_sw.c helper | George Sapountzis | 2010-03-15 | 2 | -0/+382 |
| | | | | | This is dri_util.c stripped from the drm-specific bits and will be used for both classic and gallium swrast_dri.so | ||||
* | trace: Remove unnecessary headers. | Vinson Lee | 2010-03-14 | 1 | -3/+0 |
| | |||||
* | svga: Remove unnecessary header. | Vinson Lee | 2010-03-14 | 1 | -2/+0 |
| | |||||
* | glapi: exec_malloc for dispatch stubs | George Sapountzis | 2010-03-14 | 6 | -8/+156 |
| | |||||
* | glapi: this one should be by THREAD | George Sapountzis | 2010-03-14 | 1 | -6/+4 |
| | |||||
* | glapi: more organize code by arch | George Sapountzis | 2010-03-14 | 1 | -4/+10 |
| | | | | | | It seems that x86-64 with tls will fail to compile or load due to a missining gl_dispatch_functions_start symbol. Not changing though, since this is how it used to be and cannot test. | ||||
* | glapi: organize arch-specific code by arch (2) | George Sapountzis | 2010-03-14 | 1 | -81/+73 |
| | |||||
* | glapi: organize arch-specific code by arch | George Sapountzis | 2010-03-14 | 1 | -19/+50 |
| | |||||
* | r300g: remove pipe_context from r300_screen | Marek Olšák | 2010-03-14 | 2 | -8/+0 |
| | |||||
* | softpipe: Remove unnecessary header. | Vinson Lee | 2010-03-13 | 1 | -1/+0 |
| | |||||
* | gallium: Respect user's CFLAGS for including X headers | Dan Nicholson | 2010-03-13 | 2 | -2/+4 |
| | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> | ||||
* | Use X_LIBS from pkg-config, instead of libdir, for locating libX11 | Jeff Smith | 2010-03-13 | 4 | -6/+10 |
| | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Dan Nicholson <[email protected]> | ||||
* | llvmpipe: Switch to PIPE_TEX_MIPFILTER_NONE when texture has no mipmaps. | José Fonseca | 2010-03-13 | 1 | -1/+5 |
| | |||||
* | r300g: add high quality anisotropic filtering for R5xx (disabled by default) | Marek Olšák | 2010-03-13 | 5 | -0/+27 |
| | | | | | Oh look, an undocumented feature. It's a nice tool for benchmarking texturing. | ||||
* | r300g: fix anisotropic filtering, fix macrotiling | Marek Olšák | 2010-03-13 | 1 | -2/+2 |
| | | | | Two bug fixes at the same time. :) | ||||
* | r300g: refrain from using immediate mode if it causes slowdown | Marek Olšák | 2010-03-13 | 3 | -2/+48 |
| | | | | | | | | | 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. | ||||
* | r300g: fix up function names | Marek Olšák | 2010-03-13 | 2 | -3/+2 |
| | |||||
* | radeon: add some debuging info for glCopyTex(Sub)Image | Maciej Cencora | 2010-03-13 | 1 | -1/+7 |
| | |||||
* | r300: blits for small dst pitch work just fine | Maciej Cencora | 2010-03-13 | 1 | -6/+0 |
| | |||||
* | radeon: fix gl format to mesa format mapping and add GL_BGRA formats | Maciej Cencora | 2010-03-13 | 1 | -7/+18 |
| | |||||
* | radeon: fix glCopyTex(Sub)Image | Maciej Cencora | 2010-03-13 | 1 | -2/+11 |
| | | | | Fallback to swrast for software renderbuffers | ||||
* | llvmpipe: Ensure the context is flushed before modifying textures. | José Fonseca | 2010-03-13 | 4 | -0/+102 |
| | |||||
* | llvmpipe: Don't use texture transfer internally. | José Fonseca | 2010-03-13 | 5 | -116/+150 |
| | | | | | | | 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. | ||||
* | llvmpipe: Obey rasterization rules. | José Fonseca | 2010-03-13 | 5 | -30/+40 |
| | | | | Replicates softpipe. | ||||
* | llvmpipe: setup_context -> lp_setup_context | José Fonseca | 2010-03-13 | 9 | -82/+82 |
| | | | | | Otherwise IDEs and debuggers have trouble distinguishing from softpipe's setup_context. |