summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
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-02-25swrast: add 0.5 bias in tex_array_slice() per the specBrian Paul
2010-02-25swrast: the only wrap mode for selecting texture array slices is clampBrian Paul
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19mesa: replace _mesa_bzero() with memset()Brian Paul
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
2010-02-19Remove _mesa_memset in favor of plain memset.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-18swrast: fix left side clippingBrian Paul
Fixes bug 26623. Original patch was submitted by Mathias Frohlich and modified by Brian. (cherry picked from commit 7c34c237a2f6732b2c013543523617e375c1f534)
2010-02-13mesa: Fix compiler warningsKarl Schultz
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
2010-01-27swrast: s/FIXED_TO_FLOAT/FixedToFloat/Brian Paul
2010-01-27swrast: silence double->float assignment warningsBrian Paul
Reported by Karl Schultz.
2010-01-26swrast: Implement ARB_fragment_coord_conventions but don't enable.Eric Anholt
This brings swrast's support up to the state of gallium, and fixes the default center behavior of fragment.position.xy in piglit fp-arb-fragment-coord-conventions-none. The extension is not enabled currently because the GLSL part of the extension isn't supported, so piglit glsl-arb-fragment-coord-conventions-define fails as would any serious test of the GLSL part.
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu
2010-01-15swrast: add missing call to _swrast_depth_bounds_test()Brian Paul
We were calling this from the CI span function, but not the RGBA span function. I don't know of a test program for the GL_EXT_depth_bounds_test extension...
2010-01-15swrast: fix broken _swrast_depth_clamp_span()Brian Paul
The integer Z clamping range depends on the number of bits in the Z buffer because that's the scale factor used when we transform NDC coords by the viewport/depth range. Fixes fd.o bug #25972 but only for Z buffers up to a depth of 30 bits. Beyond that we get into messy integer overflow issues and things fall apart.
2010-01-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-13swrast: Remove unnecessary header from s_accum.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_atifragshader.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_bitmap.c.Vinson Lee
2010-01-13swrast: Remove unnecessary headers from s_copypix.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_depth.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_drawpix.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_feedback.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_fragprog.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header in s_lines.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_points.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_readpix.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_texcombine.c.Vinson Lee
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu
Conflicts: src/mesa/main/dd.h
2010-01-07swrast: fix color masking for glAccum(GL_RETURN)Brian Paul
Should fix fdo bug 25837.
2010-01-04mesa: make texture BorderColor a union of float/int/uintBrian Paul
When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-31swrast: add check for conditional renderingBrian Paul
2009-12-31swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul
When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
2009-12-29mesa: implement per-buffer color maskingBrian Paul
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().