summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Revert "mesa: Remove pointless comparison of unsigned integer with a ↵Vinson Lee2010-03-041-4/+9
| | | | | | | | | | | | | | negative constant." This reverts commit a05fdbcb719ac64e6be842372813f0f4ca2f4f93. Removing the comparison is wrong. The comparison with -1 should be changed to another value (probably PROGRAM_UNDEFINED) along with another change in the shader assembler. Conflicts: src/mesa/shader/prog_execute.c
* intel: Remove non-kernel-exec-fencing support.Eric Anholt2010-03-0419-638/+94
| | | | | | | Shaves 60k off the driver from removing the broken spans code. This means we now require 2.6.29, which seems fair given that it's a year old and we've removed support for non-KMS already in the last release of 2D.
* intel: Remove the unused s8 spans code. Not hit during no_rast piglit.Eric Anholt2010-03-041-59/+1
| | | | Shaves 5.5k off of the driver.
* Fix comparison of unsigned value against < 0.Michel Dänzer2010-03-051-1/+1
|
* dri/nouveau: Remove some CI remnants.Francisco Jerez2010-03-046-12/+0
|
* dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.Andrew Randrianasulu2010-03-041-0/+1
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Enable GL_EXT_stencil_wrap.Andrew Randrianasulu2010-03-041-3/+4
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Add GL_EXT_stencil_wrap for nv04.Andrew Randrianasulu2010-03-041-0/+4
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.Francisco Jerez2010-03-041-1/+1
|
* dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.Francisco Jerez2010-03-041-0/+26
|
* dri/nouveau: Pack client arrays as they're copied to the real BO.Francisco Jerez2010-03-041-12/+32
|
* i915: Enable texture tiling by default.Eric Anholt2010-03-041-8/+3
| | | | | | | | | This now passes piglit testcases, and shows performance improvements on openarena. Blit-heavy apps may see degradation, but the expectation is that the common case of 3D rendering will see significant wins. This regresses gen-teximage on my 855, and no piglit tests on my 945.
* i915: Fix up i830 for tiled drawing offsets.Eric Anholt2010-03-042-10/+36
| | | | Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f.
* DRI: Put back missing break-statementIan Romanick2010-03-041-0/+1
| | | | | | | | The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts it back. Signed-off-by: Ian Romanick <[email protected]>
* Revert "mesa: Fix unsigned comparison."Vinson Lee2010-03-041-1/+1
| | | | | | This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d. This patch is incorrect.
* glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee2010-03-041-1/+1
|
* mesa: Fix unsigned comparison.Vinson Lee2010-03-041-1/+1
|
* glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee2010-03-041-1/+1
|
* glsl: Return NULL on _slan_gen_asm error path on non-debug builds.Vinson Lee2010-03-041-0/+1
| | | | | Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on.
* glsl: Add assert to check input to strcmp.Vinson Lee2010-03-041-0/+1
|
* mesa: Add asserts to check inputs to memcpy.Vinson Lee2010-03-041-0/+2
|
* r300: make blit code work on swtcl machines.Dave Airlie2010-03-041-5/+18
| | | | | | | | Only tested this on my rv530 with R300_NO_TCL=1, but it works there at least. It would be nice to fix the tex_offset by chaning the vertex program on tcl to read from offset 6 but this isn't really necessary. Signed-off-by: Dave Airlie <[email protected]>
* r300_blit: initialise whole fp structure to 0Dave Airlie2010-03-041-0/+1
| | | | | | | at least on the r500 we get a lockup unless I do this, the compiler seems to fail to compile and we just get a null fp. Signed-off-by: Dave Airlie <[email protected]>
* Fix unmatched parenthesis introduce by previous commitsIan Romanick2010-03-033-3/+3
| | | | | | | | I wasn't careful enough when removing support for GCC versions earlier than 3.3.0. I could have sworn that I compile tested before pushing, but apparently not. FAIL. Signed-off-by: Ian Romanick <[email protected]>
* Remove support for GCC older than 3.3.0 from generated sourcesIan Romanick2010-03-032-2/+2
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Remove support for GCC older than 3.3.0 from generator scriptsIan Romanick2010-03-033-4/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-034-11/+7
| | | | Signed-off-by: Ian Romanick <[email protected]>
* radeon/r200/r300/r600: add check_blit vtbl functionAlex Deucher2010-03-0314-15/+93
| | | | | | | | | Check if the native blit formats are supported, if not, attempt to use an alternate format. Skip 3, >4 bpp as per comments from mcencora on irc. Signed-off-by: Alex Deucher <[email protected]>
* Remove stray defines of HAVE_RGBAIan Romanick2010-03-0312-12/+0
| | | | | | | Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: Remove color-index support from t_dd_unfilled.hIan Romanick2010-03-031-79/+38
| | | | | | | | The code removal and the re-indent were done together for this one because the cause of the affected code blocks is much, much smaller than in t_dd_tritmp.h. Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: White-space / indentation fixes after previous commitIan Romanick2010-03-031-150/+146
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: Remove color-index support from t_dd_tritmp.hIan Romanick2010-03-031-121/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove unused RasterIndex fieldIan Romanick2010-03-032-2/+0
| | | | | | | With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Always return default value for CURRENT_RASTER_INDEXIan Romanick2010-03-032-5/+5
| | | | | | | Since there is no color-index rendering, it is impossible to update this value. Just return the initial setting and be happy. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick2010-03-035-15/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-0311-77/+0
| | | | | | | | These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_logicop_ci_spanIan Romanick2010-03-032-33/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_logicop_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove _mesa_add_color_index_renderbuffersIan Romanick2010-03-032-62/+0
| | | | | | | After all the recent color-index visual support removal, _mesa_add_color_index_renderbuffers is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove checks of Visual.rgbMode in Get pathsIan Romanick2010-03-032-10/+10
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove checks of Visual.rgbModeIan Romanick2010-03-038-119/+48
| | | | | | This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-039-33/+15
| | | | | | | | Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <[email protected]>
* tnl: Remove color-index TNL supportIan Romanick2010-03-035-261/+39
| | | | Signed-off-by: Ian Romanick <[email protected]>
* DRI: Remove support for color-index visualsIan Romanick2010-03-031-10/+5
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast_setup: Remove more color-index rendering supportIan Romanick2010-03-033-155/+79
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove color-index rendering support from s_spantemp.hIan Romanick2010-03-031-15/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa/xlib: Remove support for color-index renderingIan Romanick2010-03-033-318/+153
| | | | Signed-off-by: Ian Romanick <[email protected]>
* osmesa: Remove support for color-index renderingIan Romanick2010-03-031-67/+11
| | | | Signed-off-by: Ian Romanick <[email protected]>
* fbdev: Remove support for color-index renderingIan Romanick2010-03-031-86/+36
| | | | Signed-off-by: Ian Romanick <[email protected]>
* DRI/swrast: Remove color-index support from DRI swrast driverIan Romanick2010-03-034-105/+27
| | | | | | | | | It appears that color-index rendering wasn't actually supported anyway. swrastFillInModes did not previously create an color-index configs, so it doesn't seem like there would be any way to get a color-index visual. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove SPAN_INDEXIan Romanick2010-03-031-7/+6
| | | | | | Also adjust the bits that appear after it to fill in the gap. Signed-off-by: Ian Romanick <[email protected]>