mesa.git
14 years agovl: WIP DRI2 support in the winsys.
Younes Manton [Wed, 28 Apr 2010 23:51:10 +0000 (19:51 -0400)]
vl: WIP DRI2 support in the winsys.

14 years agost/xvmc: Mark exported funcs with PUBLIC.
Younes Manton [Sun, 25 Apr 2010 01:16:59 +0000 (21:16 -0400)]
st/xvmc: Mark exported funcs with PUBLIC.

14 years agovl: Adapt to dri changes.
Younes Manton [Sat, 24 Apr 2010 19:37:25 +0000 (15:37 -0400)]
vl: Adapt to dri changes.

14 years agovl: Get rid of pipe_video_surface on the nouveau side as well.
Younes Manton [Sat, 24 Apr 2010 17:52:47 +0000 (13:52 -0400)]
vl: Get rid of pipe_video_surface on the nouveau side as well.

14 years agovl: Fix up configure.ac/Makefile
Younes Manton [Sat, 24 Apr 2010 17:52:23 +0000 (13:52 -0400)]
vl: Fix up configure.ac/Makefile

14 years agovl: Do some subpicture validation.
Younes Manton [Sun, 18 Apr 2010 16:16:40 +0000 (12:16 -0400)]
vl: Do some subpicture validation.

14 years agovl: Add some query methods to pipe_video_context and use them.
Younes Manton [Sat, 13 Mar 2010 00:03:37 +0000 (19:03 -0500)]
vl: Add some query methods to pipe_video_context and use them.

14 years agovl: Remove pipe_video_surface hooks from pipe_screen as well.
Younes Manton [Fri, 12 Mar 2010 19:38:37 +0000 (14:38 -0500)]
vl: Remove pipe_video_surface hooks from pipe_screen as well.

14 years agovl: Don't wrap blocks in pipe_user_buffers.
Younes Manton [Fri, 12 Mar 2010 18:36:52 +0000 (13:36 -0500)]
vl: Don't wrap blocks in pipe_user_buffers.

Mallocing/free eat up a noticeable amount of CPU time for no
practical benefit.

14 years agovl: Use pipe_surface instead of pipe_texture in interfaces.
Younes Manton [Fri, 12 Mar 2010 17:37:19 +0000 (12:37 -0500)]
vl: Use pipe_surface instead of pipe_texture in interfaces.

14 years agovl: Get rid of pipe_video_surface.
Younes Manton [Fri, 12 Mar 2010 17:09:44 +0000 (12:09 -0500)]
vl: Get rid of pipe_video_surface.

14 years agogallium: Add common video format enums.
Younes Manton [Fri, 12 Mar 2010 15:43:29 +0000 (10:43 -0500)]
gallium: Add common video format enums.

14 years agoMerge remote branch 'origin/master' into pipe-video
Younes Manton [Sun, 7 Mar 2010 17:47:45 +0000 (12:47 -0500)]
Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/auxiliary/vl/Makefile
src/gallium/auxiliary/vl/SConscript
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h
src/gallium/drivers/nouveau/nouveau_winsys.h
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/include/pipe/p_video_state.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.h
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/g3dvl/nouveau/Makefile

14 years agovl: Subpicture/compositing fixes.
Younes Manton [Sat, 6 Mar 2010 04:26:03 +0000 (23:26 -0500)]
vl: Subpicture/compositing fixes.

14 years agovl: Add some basic debug output for XvMC.
Younes Manton [Sat, 6 Mar 2010 04:14:49 +0000 (23:14 -0500)]
vl: Add some basic debug output for XvMC.

Set the XVMC_DEBUG env var to:
0 for no extra output
1 for error output
2 for warning output
3 for tracing output

14 years agovl: Add switches to autoconf.
Younes Manton [Sat, 6 Mar 2010 04:11:05 +0000 (23:11 -0500)]
vl: Add switches to autoconf.

Pass 'xorg/xvmc' to --with-state-trackers to get the XvMC state tracker.
Pass --enable-gallium-g3dvl to enable the winsys.

14 years agoRevert "mesa: Remove pointless comparison of unsigned integer with a negative constant."
Vinson Lee [Fri, 5 Mar 2010 01:40:36 +0000 (17:40 -0800)]
Revert "mesa: Remove pointless comparison of unsigned integer with a 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

14 years agointel: Remove non-kernel-exec-fencing support.
Eric Anholt [Thu, 4 Mar 2010 23:47:19 +0000 (15:47 -0800)]
intel: Remove non-kernel-exec-fencing support.

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.

14 years agointel: Remove the unused s8 spans code. Not hit during no_rast piglit.
Eric Anholt [Thu, 4 Mar 2010 23:33:21 +0000 (15:33 -0800)]
intel: Remove the unused s8 spans code.  Not hit during no_rast piglit.

Shaves 5.5k off of the driver.

14 years agoFix comparison of unsigned value against < 0.
Michel Dänzer [Thu, 4 Mar 2010 23:15:40 +0000 (00:15 +0100)]
Fix comparison of unsigned value against < 0.

14 years agosoftpipe: minor tweaks to texture filtering code
Brian Paul [Thu, 4 Mar 2010 22:53:41 +0000 (15:53 -0700)]
softpipe: minor tweaks to texture filtering code

14 years agogallivm: implement texture border color, plus tweaks to some wrap modes
Brian Paul [Thu, 4 Mar 2010 22:50:19 +0000 (15:50 -0700)]
gallivm: implement texture border color, plus tweaks to some wrap modes

The progs/test/texwrap demo looks pretty good, but there are still some
tiny differences from softpipe.  There may be a sub-pixel texcoord
interpolation error somewhere.

There's some room for optimization.  Many of the wrap modes compute
intermediate values that are constant for the texture size (see the
min/max values).  These could be computed earlier and stored somewhere
for later use.

14 years agogallivm: added texture border_color field
Brian Paul [Thu, 4 Mar 2010 22:52:01 +0000 (15:52 -0700)]
gallivm: added texture border_color field

14 years agogallivm: added question/comment
Brian Paul [Thu, 4 Mar 2010 22:52:19 +0000 (15:52 -0700)]
gallivm: added question/comment

14 years agollvmpipe: new comment
Brian Paul [Thu, 4 Mar 2010 22:52:37 +0000 (15:52 -0700)]
llvmpipe: new comment

14 years agogallivm: comments
Brian Paul [Thu, 4 Mar 2010 22:49:39 +0000 (15:49 -0700)]
gallivm: comments

14 years agodri/nouveau: Remove some CI remnants.
Francisco Jerez [Thu, 4 Mar 2010 22:19:49 +0000 (23:19 +0100)]
dri/nouveau: Remove some CI remnants.

14 years agodri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.
Andrew Randrianasulu [Thu, 4 Mar 2010 22:15:47 +0000 (23:15 +0100)]
dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
14 years agodri/nouveau: Enable GL_EXT_stencil_wrap.
Andrew Randrianasulu [Mon, 1 Mar 2010 23:45:50 +0000 (23:45 +0000)]
dri/nouveau: Enable GL_EXT_stencil_wrap.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
14 years agodri/nouveau: Add GL_EXT_stencil_wrap for nv04.
Andrew Randrianasulu [Mon, 1 Mar 2010 23:58:17 +0000 (23:58 +0000)]
dri/nouveau: Add GL_EXT_stencil_wrap for nv04.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
14 years agodri/nouveau: Fix rb->DataType for z24s8 renderbuffers.
Francisco Jerez [Thu, 4 Mar 2010 20:40:47 +0000 (21:40 +0100)]
dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.

14 years agodri/nouveau: Try to keep client buffers smaller than the scratch VBO length.
Francisco Jerez [Thu, 4 Mar 2010 20:32:07 +0000 (21:32 +0100)]
dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.

14 years agodri/nouveau: Pack client arrays as they're copied to the real BO.
Francisco Jerez [Thu, 4 Mar 2010 20:27:11 +0000 (21:27 +0100)]
dri/nouveau: Pack client arrays as they're copied to the real BO.

14 years agoxdemos: add OML sync test
Jesse Barnes [Thu, 4 Mar 2010 21:14:59 +0000 (13:14 -0800)]
xdemos: add OML sync test

Add program to test glXSwapBuffersMscOML behavior.  Based on glsync.c.

14 years agor300g: Fix indexbuf upper limits.
Corbin Simpson [Thu, 4 Mar 2010 20:46:20 +0000 (12:46 -0800)]
r300g: Fix indexbuf upper limits.

Wine tends to pessimistically use ~0 for its max index, but r300s
only can go up to 2^24-1, causing the kernel checker to freak out.

Civ4 is marginally improved now. Still crashes, but not as bad.

14 years agogallivm: rework and implement more texture wrap modes
Brian Paul [Thu, 4 Mar 2010 17:51:31 +0000 (10:51 -0700)]
gallivm: rework and implement more texture wrap modes

All the texture wrap modes are now implemented for linear and nearest
sampling.

However, texture border color is not yet supported so some wrap modes
will produce int coords outside the texture bounds.  We'll get garbage
values insted of the texture border color for now.

14 years agogallivm: added lp_build_fract()
Brian Paul [Thu, 4 Mar 2010 17:50:26 +0000 (10:50 -0700)]
gallivm: added lp_build_fract()

14 years agogallivm: added lp_build_set_sign()
Brian Paul [Thu, 4 Mar 2010 16:45:34 +0000 (09:45 -0700)]
gallivm: added lp_build_set_sign()

14 years agogallivm: added lp_build_negate()
Brian Paul [Thu, 4 Mar 2010 15:36:26 +0000 (08:36 -0700)]
gallivm: added lp_build_negate()

14 years agogallivm: clarify unsigned vs. signed integer type construction
Brian Paul [Sat, 27 Feb 2010 00:44:10 +0000 (17:44 -0700)]
gallivm: clarify unsigned vs. signed integer type construction

The lp_int_type() function was creating an unsigned type.  So rename
that function to lp_uint_type() and create new lp_int_type() that
creates a signed type.

14 years agoi915: Enable texture tiling by default.
Eric Anholt [Wed, 3 Mar 2010 19:51:51 +0000 (11:51 -0800)]
i915: Enable texture tiling by default.

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.

14 years agoi915: Fix up i830 for tiled drawing offsets.
Eric Anholt [Wed, 3 Mar 2010 19:49:39 +0000 (11:49 -0800)]
i915: Fix up i830 for tiled drawing offsets.

Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f.

14 years agofix getprocaddress test
George Sapountzis [Thu, 4 Mar 2010 14:33:39 +0000 (16:33 +0200)]
fix getprocaddress test

14 years agoDRI: Put back missing break-statement
Ian Romanick [Thu, 4 Mar 2010 09:56:20 +0000 (01:56 -0800)]
DRI: Put back missing break-statement

The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally
removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d.  This puts
it back.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoRevert "mesa: Fix unsigned comparison."
Vinson Lee [Thu, 4 Mar 2010 09:51:50 +0000 (01:51 -0800)]
Revert "mesa: Fix unsigned comparison."

This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d.

This patch is incorrect.

14 years agoglsl: Remove unsigned greater than or equal zero comparison.
Vinson Lee [Thu, 4 Mar 2010 09:35:28 +0000 (01:35 -0800)]
glsl: Remove unsigned greater than or equal zero comparison.

14 years agomesa: Fix unsigned comparison.
Vinson Lee [Thu, 4 Mar 2010 09:24:44 +0000 (01:24 -0800)]
mesa: Fix unsigned comparison.

14 years agoglsl: Remove unsigned greater than or equal zero comparison.
Vinson Lee [Thu, 4 Mar 2010 09:10:44 +0000 (01:10 -0800)]
glsl: Remove unsigned greater than or equal zero comparison.

14 years agoglsl: Return NULL on _slan_gen_asm error path on non-debug builds.
Vinson Lee [Thu, 4 Mar 2010 08:58:36 +0000 (00:58 -0800)]
glsl: Return NULL on _slan_gen_asm error path on non-debug builds.

Exit the function early on the error path, instead of continuing, to
prevent a null pointer dereference later on.

14 years agoglsl: Add assert to check input to strcmp.
Vinson Lee [Thu, 4 Mar 2010 08:53:52 +0000 (00:53 -0800)]
glsl: Add assert to check input to strcmp.

14 years agomesa: Add asserts to check inputs to memcpy.
Vinson Lee [Thu, 4 Mar 2010 08:41:21 +0000 (00:41 -0800)]
mesa: Add asserts to check inputs to memcpy.

14 years agor300: make blit code work on swtcl machines.
Dave Airlie [Thu, 4 Mar 2010 05:49:57 +0000 (15:49 +1000)]
r300: make blit code work on swtcl machines.

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>
14 years agor300_blit: initialise whole fp structure to 0
Dave Airlie [Thu, 4 Mar 2010 05:08:26 +0000 (15:08 +1000)]
r300_blit: initialise whole fp structure to 0

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>
14 years agoRemove ffb and gamma from configs.
Vinson Lee [Thu, 4 Mar 2010 03:03:45 +0000 (19:03 -0800)]
Remove ffb and gamma from configs.

14 years agowgl: Fix mingw32 build.
Vinson Lee [Thu, 4 Mar 2010 02:20:01 +0000 (18:20 -0800)]
wgl: Fix mingw32 build.

This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.

14 years agoFix unmatched parenthesis introduce by previous commits
Ian Romanick [Thu, 4 Mar 2010 01:50:11 +0000 (17:50 -0800)]
Fix unmatched parenthesis introduce by previous commits

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>
14 years agoNote removal of pre-GCC 3.3.0 support in release notes.
Ian Romanick [Thu, 4 Mar 2010 00:43:13 +0000 (16:43 -0800)]
Note removal of pre-GCC 3.3.0 support in release notes.

14 years agoRemove support for GCC older than 3.3.0 from generated sources
Ian Romanick [Thu, 4 Mar 2010 00:15:42 +0000 (16:15 -0800)]
Remove support for GCC older than 3.3.0 from generated sources

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoRemove support for GCC older than 3.3.0 from generator scripts
Ian Romanick [Thu, 4 Mar 2010 00:03:24 +0000 (16:03 -0800)]
Remove support for GCC older than 3.3.0 from generator scripts

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoRemove support for GCC older than 3.3.0
Ian Romanick [Thu, 4 Mar 2010 00:02:45 +0000 (16:02 -0800)]
Remove support for GCC older than 3.3.0

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoAdd version check for GCC
Ian Romanick [Wed, 3 Mar 2010 23:59:37 +0000 (15:59 -0800)]
Add version check for GCC

Mesa now requires GCC 3.3.0 or later.  See the following thread from
the mesa3d-dev mailing list for more details:

http://marc.info/?t=126748568900005&r=1&w=2

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoradeon/r200/r300/r600: add check_blit vtbl function
Alex Deucher [Wed, 3 Mar 2010 21:12:22 +0000 (16:12 -0500)]
radeon/r200/r300/r600: add check_blit vtbl function

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>
14 years agoNote removal of color-index rendering in release notes.
Ian Romanick [Wed, 3 Mar 2010 13:30:14 +0000 (05:30 -0800)]
Note removal of color-index rendering in release notes.

14 years agoRemove stray defines of HAVE_RGBA
Ian Romanick [Sat, 27 Feb 2010 01:58:53 +0000 (17:58 -0800)]
Remove stray defines of HAVE_RGBA

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>
14 years agomesa/tnl_dd: Remove color-index support from t_dd_unfilled.h
Ian Romanick [Sat, 27 Feb 2010 01:54:59 +0000 (17:54 -0800)]
mesa/tnl_dd: Remove color-index support from t_dd_unfilled.h

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>
14 years agomesa/tnl_dd: White-space / indentation fixes after previous commit
Ian Romanick [Sat, 27 Feb 2010 01:45:27 +0000 (17:45 -0800)]
mesa/tnl_dd: White-space / indentation fixes after previous commit

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agomesa/tnl_dd: Remove color-index support from t_dd_tritmp.h
Ian Romanick [Sat, 27 Feb 2010 01:41:15 +0000 (17:41 -0800)]
mesa/tnl_dd: Remove color-index support from t_dd_tritmp.h

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agomesa: Remove unused RasterIndex field
Ian Romanick [Thu, 25 Feb 2010 03:29:53 +0000 (19:29 -0800)]
mesa: Remove unused RasterIndex field

With the preceeding changes, gl_current_attrib::RasterIndex is not
used.  Remove it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agomesa: Always return default value for CURRENT_RASTER_INDEX
Ian Romanick [Thu, 25 Feb 2010 03:28:04 +0000 (19:28 -0800)]
mesa: Always return default value for CURRENT_RASTER_INDEX

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>
14 years agomesa: Eliminate index parameter to _mesa_feedback_vertex
Ian Romanick [Thu, 25 Feb 2010 03:25:19 +0000 (19:25 -0800)]
mesa: Eliminate index parameter to _mesa_feedback_vertex

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agomesa: Remove ClearIndex and IndexMask from device-driver interface
Ian Romanick [Thu, 25 Feb 2010 03:12:30 +0000 (19:12 -0800)]
mesa: Remove ClearIndex and IndexMask from device-driver interface

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>
14 years agoswrast: Remove _swrast_logicop_ci_span
Ian Romanick [Thu, 25 Feb 2010 03:06:29 +0000 (19:06 -0800)]
swrast: Remove _swrast_logicop_ci_span

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>
14 years agomesa: Remove _mesa_add_color_index_renderbuffers
Ian Romanick [Thu, 25 Feb 2010 03:03:23 +0000 (19:03 -0800)]
mesa: Remove _mesa_add_color_index_renderbuffers

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>
14 years agomesa: Remove checks of Visual.rgbMode in Get paths
Ian Romanick [Thu, 25 Feb 2010 03:00:50 +0000 (19:00 -0800)]
mesa: Remove checks of Visual.rgbMode in Get paths

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agomesa: Remove checks of Visual.rgbMode
Ian Romanick [Thu, 25 Feb 2010 02:58:38 +0000 (18:58 -0800)]
mesa: Remove checks of Visual.rgbMode

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>
14 years agomesa: Remove support for creating color-index visuals
Ian Romanick [Thu, 25 Feb 2010 02:49:33 +0000 (18:49 -0800)]
mesa: Remove support for creating color-index visuals

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>
14 years agotnl: Remove color-index TNL support
Ian Romanick [Thu, 25 Feb 2010 02:24:07 +0000 (18:24 -0800)]
tnl: Remove color-index TNL support

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoDRI: Remove support for color-index visuals
Ian Romanick [Thu, 25 Feb 2010 02:23:19 +0000 (18:23 -0800)]
DRI: Remove support for color-index visuals

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast_setup: Remove more color-index rendering support
Ian Romanick [Thu, 25 Feb 2010 02:15:40 +0000 (18:15 -0800)]
swrast_setup: Remove more color-index rendering support

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove color-index rendering support from s_spantemp.h
Ian Romanick [Thu, 25 Feb 2010 01:48:27 +0000 (17:48 -0800)]
swrast: Remove color-index rendering support from s_spantemp.h

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agomesa/xlib: Remove support for color-index rendering
Ian Romanick [Thu, 25 Feb 2010 01:44:28 +0000 (17:44 -0800)]
mesa/xlib: Remove support for color-index rendering

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoosmesa: Remove support for color-index rendering
Ian Romanick [Thu, 25 Feb 2010 00:59:27 +0000 (16:59 -0800)]
osmesa: Remove support for color-index rendering

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agofbdev: Remove support for color-index rendering
Ian Romanick [Thu, 25 Feb 2010 00:51:40 +0000 (16:51 -0800)]
fbdev: Remove support for color-index rendering

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoDRI/swrast: Remove color-index support from DRI swrast driver
Ian Romanick [Thu, 25 Feb 2010 00:44:39 +0000 (16:44 -0800)]
DRI/swrast: Remove color-index support from DRI swrast driver

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>
14 years agoswrast: Remove SPAN_INDEX
Ian Romanick [Thu, 25 Feb 2010 00:34:21 +0000 (16:34 -0800)]
swrast: Remove SPAN_INDEX

Also adjust the bits that appear after it to fill in the gap.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove _swrast_read_index_span
Ian Romanick [Thu, 25 Feb 2010 00:11:43 +0000 (16:11 -0800)]
swrast: Remove _swrast_read_index_span

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>
14 years agoswrast: Remove _swrast_mask_ci_span
Ian Romanick [Thu, 25 Feb 2010 00:10:02 +0000 (16:10 -0800)]
swrast: Remove _swrast_mask_ci_span

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>
14 years agoswrast: Remove _swrast_fog_ci_span and associated code
Ian Romanick [Thu, 25 Feb 2010 00:07:11 +0000 (16:07 -0800)]
swrast: Remove _swrast_fog_ci_span and associated code

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>
14 years agoswrast: Remove _swrast_write_index_span and associated code
Ian Romanick [Thu, 25 Feb 2010 00:05:20 +0000 (16:05 -0800)]
swrast: Remove _swrast_write_index_span and associated code

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>
14 years agoswrast: Remove remaining color-index state tracking infrastructure
Ian Romanick [Thu, 25 Feb 2010 00:02:38 +0000 (16:02 -0800)]
swrast: Remove remaining color-index state tracking infrastructure

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for ReadPixels from a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:54:33 +0000 (15:54 -0800)]
swrast: Remove support for ReadPixels from a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for Clear into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:45:36 +0000 (15:45 -0800)]
swrast: Remove support for Clear into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for rendering antialiased lines into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:39:08 +0000 (15:39 -0800)]
swrast: Remove support for rendering antialiased lines into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for rendering antialiased triangles into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:26:48 +0000 (15:26 -0800)]
swrast: Remove support for rendering antialiased triangles into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for rendering lines into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:22:56 +0000 (15:22 -0800)]
swrast: Remove support for rendering lines into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for rendering points into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:20:11 +0000 (15:20 -0800)]
swrast: Remove support for rendering points into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for rendering triangles into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:17:30 +0000 (15:17 -0800)]
swrast: Remove support for rendering triangles into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove support for Bitmap into a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:15:01 +0000 (15:15 -0800)]
swrast: Remove support for Bitmap into a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
14 years agoswrast: Remove _swrast_write_zoomed_index_span and associated code
Ian Romanick [Wed, 24 Feb 2010 23:11:04 +0000 (15:11 -0800)]
swrast: Remove _swrast_write_zoomed_index_span and associated code

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>
14 years agoswrast: Remove support for CopyPixels to / from a color-index buffer
Ian Romanick [Wed, 24 Feb 2010 23:02:59 +0000 (15:02 -0800)]
swrast: Remove support for CopyPixels to / from a color-index buffer

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>