Ian Romanick
81fe9949ef
mesa/xlib: Remove support for color-index rendering
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:04 -08:00
Ian Romanick
641705f032
osmesa: Remove support for color-index rendering
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:04 -08:00
Ian Romanick
6f317253bf
fbdev: Remove support for color-index rendering
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:04 -08:00
Ian Romanick
718ff7e87b
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>
2010-03-03 12:37:04 -08:00
Ian Romanick
dc14ce9e36
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>
2010-03-03 12:37:04 -08:00
Ian Romanick
7ce12c9024
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>
2010-03-03 12:37:04 -08:00
Ian Romanick
0ca5729578
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>
2010-03-03 12:37:04 -08:00
Ian Romanick
b00362e51b
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>
2010-03-03 12:37:04 -08:00
Ian Romanick
c00282102a
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>
2010-03-03 12:37:04 -08:00
Ian Romanick
2b7911d37d
swrast: Remove remaining color-index state tracking infrastructure
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:04 -08:00
Ian Romanick
3fd8487ac6
swrast: Remove support for ReadPixels from a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
9e2d30e0b8
swrast: Remove support for Clear into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
e5ed4c45c6
swrast: Remove support for rendering antialiased lines into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
87b9f5a725
swrast: Remove support for rendering antialiased triangles into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
e6df80184b
swrast: Remove support for rendering lines into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
dbe901ceb0
swrast: Remove support for rendering points into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
0ed9c4bc7a
swrast: Remove support for rendering triangles into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
d05badba29
swrast: Remove support for Bitmap into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
ef0e02f93d
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>
2010-03-03 12:37:03 -08:00
Ian Romanick
e7e748cd04
swrast: Remove support for CopyPixels to / from a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
Ian Romanick
d82e1d7f95
swrast: Remove support for DrawPixels into a color-index buffer
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03 12:37:03 -08:00
José Fonseca
4053d33703
llvmpipe: Store the original triangle coordinates in the debug build.
...
For debugging purposes only.
2010-03-03 19:55:49 +00:00
José Fonseca
4d5dd82558
llvmpipe: Ensure context is flushed when destroying shaders.
2010-03-03 19:55:49 +00:00
Eric Anholt
b87406e55f
i915: Use x,y drawing offsets instead of changing buffer offsets.
...
This should fix rendering into mipmaps of tiled textures.
2010-03-03 11:33:37 -08:00
Eric Anholt
06d1472ffa
i915: Tell the kernel when we actually need fence registers on our BOs.
...
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-03 11:33:37 -08:00
Eric Anholt
179d2c0e0b
intel: Use drm_intel_bo_alloc_tiled for region allocs.
...
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.
2010-03-03 11:33:37 -08:00
Eric Anholt
07439cf617
i915: Don't do the pitch expansion for tiled buffers.
...
The weirdness that led to the bumping of pitch for those 512/1024
pixels is that in taking a 2x2 subspan or bilinear filtering we'd end
up hitting the same channel in 2 different pages, leading to lower
performance. With tiling, that doesn't occur, so we don't need to
waste the memory.
2010-03-03 11:33:37 -08:00
Eric Anholt
55e90e46e0
intel: Use GTT mapping in the blit fallback path in case there's tiling.
2010-03-03 11:33:37 -08:00
Eric Anholt
a3593833dc
i965: Fix up Sandybridge VS sizing.
2010-03-03 11:33:37 -08:00
George Sapountzis
3b8ff24554
glapi: minor cosmetic
2010-03-03 21:23:20 +02:00
George Sapountzis
8bd8aec81d
glapi: drop condvar
...
Seems unused and replaced by functionality in os module.
2010-03-03 21:23:20 +02:00
Alex Deucher
bdbf199a8c
r600: add new rs880 pci id
2010-03-03 14:09:53 -05:00
Kristian Høgsberg
4007342584
egl_dri2: Factor out DRI2 protocol bits from initialize.
2010-03-03 10:47:49 -05:00
Kristian Høgsberg
af3f1bb269
intel: Set InternalFormat for renderbuffers created from an EGLImage
2010-03-03 10:47:49 -05:00
José Fonseca
be1b7d1a04
progs/gallium/unit: Test (un)pack_4ub.
...
Most of them are failing.
2010-03-03 13:47:42 +00:00
José Fonseca
f7e403b129
gallium: Remove PIPE_FORMAT_R8G8B8X8_SNORM.
2010-03-03 13:08:23 +00:00
José Fonseca
a5b56c8153
util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information.
2010-03-03 13:08:08 +00:00
José Fonseca
c51f7a48cd
r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support.
2010-03-03 13:07:56 +00:00
José Fonseca
c2ba284386
progs/gallium/unit: Remove PIPE_FORMAT_R8G8B8X8_SNORM test cases.
2010-03-03 13:07:43 +00:00
José Fonseca
7b7b66781b
llvmpipe: Linux is no longer a dependency. Llvmpipe builds and runs fine on windows too.
2010-03-03 12:07:39 +00:00
José Fonseca
9f9b44222f
llvmpipe: Centralize LLVM initialization.
2010-03-03 12:02:26 +00:00
José Fonseca
a9e6da7b4c
gallivm: Centralize initialization. Fix stack alignment issues on Windows.
2010-03-03 12:02:26 +00:00
José Fonseca
f58ca9b02b
llvmpipe: Update for lp_bld_init.h rename.
2010-03-03 12:02:26 +00:00
José Fonseca
af36b050eb
gallivm: Rename lp_bld_misc -> lp_bld_init.
2010-03-03 12:02:26 +00:00
Dave Airlie
daf85c4608
radeon/r200/r300/r600: fix blit BO buffer validation
...
there is no need for these to be persistent since we flush the CS
at the end of the blit, and we don't reuse these buffers at all.
on my r600 the Wine DX9 test suite doesn't crash at least anymore.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-03 16:28:53 +10:00
Corbin Simpson
4cb7642ff3
r300g: Use a macro to consolidate general state handling.
...
My God, I've reinvented R300_STATECHANGE. Forgive me. :C
2010-03-02 19:14:09 -08:00
Christoph Bumiller
20443f969d
nv50: fix RT formats after format rename fixes
...
Getting rid of the evil pre-processor magic, but not changing our
internal format naming convention (at least for now).
2010-03-02 19:16:39 +01:00
José Fonseca
aaa2d548ed
nouveau: Rename pipe formats.
...
These format uses were being hiden by pre-processor magic and were
missed in the previous search'n'replace.
2010-03-02 17:26:40 +00:00
José Fonseca
2998cad9ce
Merge branch 'gallium-format-cleanup'
2010-03-02 16:00:34 +00:00
Zack Rusin
faf8215bae
llvmpipe: improve based on review from Jose and fix else clauses
...
else was broken in the outter most else statemants, plus the code
didn't need an inverted mask to compute the inverse of the current
condition.
2010-03-02 10:19:56 -05:00