summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-03-04glsl: Add assert to check input to strcmp.Vinson Lee
2010-03-04mesa: Add asserts to check inputs to memcpy.Vinson Lee
2010-03-04r300: make blit code work on swtcl machines.Dave Airlie
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 <airlied@redhat.com>
2010-03-04r300_blit: initialise whole fp structure to 0Dave Airlie
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 <airlied@redhat.com>
2010-03-03Fix unmatched parenthesis introduce by previous commitsIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0 from generated sourcesIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0 from generator scriptsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0Ian Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03radeon/r200/r300/r600: add check_blit vtbl functionAlex Deucher
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 <alexdeucher@gmail.com>
2010-03-03Remove stray defines of HAVE_RGBAIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03mesa/tnl_dd: Remove color-index support from t_dd_unfilled.hIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03mesa/tnl_dd: White-space / indentation fixes after previous commitIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa/tnl_dd: Remove color-index support from t_dd_tritmp.hIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove unused RasterIndex fieldIan Romanick
With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Always return default value for CURRENT_RASTER_INDEXIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_logicop_ci_spanIan Romanick
After all the recent color-index rendering removal, _swrast_logicop_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove _mesa_add_color_index_renderbuffersIan Romanick
After all the recent color-index visual support removal, _mesa_add_color_index_renderbuffers is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove checks of Visual.rgbMode in Get pathsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove checks of Visual.rgbModeIan Romanick
This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove support for creating color-index visualsIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03tnl: Remove color-index TNL supportIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03DRI: Remove support for color-index visualsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast_setup: Remove more color-index rendering supportIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove color-index rendering support from s_spantemp.hIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa/xlib: Remove support for color-index renderingIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03osmesa: Remove support for color-index renderingIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03fbdev: Remove support for color-index renderingIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03DRI/swrast: Remove color-index support from DRI swrast driverIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-03swrast: Remove SPAN_INDEXIan Romanick
Also adjust the bits that appear after it to fill in the gap. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_read_index_spanIan Romanick
After all the recent color-index rendering removal, _swrast_read_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_mask_ci_spanIan Romanick
After all the recent color-index rendering removal, _swrast_mask_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_fog_ci_span and associated codeIan Romanick
After all the recent color-index rendering removal, _swrast_fog_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_write_index_span and associated codeIan Romanick
After all the recent color-index rendering removal, _swrast_write_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove remaining color-index state tracking infrastructureIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for ReadPixels from a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for Clear into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering antialiased lines into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering antialiased triangles into a ↵Ian Romanick
color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering lines into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering points into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering triangles into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for Bitmap into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_write_zoomed_index_span and associated codeIan Romanick
After removing support for CopyPixels and DrawPixels involving color-index buffers, _swrast_write_zoomed_index_span is no longer used. Removed it and all the support for COLOR_INDEX formats in zoom_span. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for CopyPixels to / from a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for DrawPixels into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03i915: Use x,y drawing offsets instead of changing buffer offsets.Eric Anholt
This should fix rendering into mipmaps of tiled textures.
2010-03-03i915: Tell the kernel when we actually need fence registers on our BOs.Eric Anholt
This improves tiled texture performance of OA on my 945 from 25.3fps to 29.0fps, whereas untiled is 28.2fps, by avoiding stalls for fence register changes.
2010-03-03intel: Use drm_intel_bo_alloc_tiled for region allocs.Eric Anholt
This moves the logic for how to align pitches, heights, and sizes of objects to one central location. Fixes rendering with texture tiling on i915. Note that current libdrm is required for the change for I915_TILING_NONE pitch alignment.