Commit Graph

31772 Commits

Author SHA1 Message Date
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
Keith Whitwell 0c616da241 llvmpipe: remove some ifdefs
No longer any need to protect expensive asserts with #ifdef DEBUG.
2010-03-02 15:03:09 +00:00
Keith Whitwell 5fe2ce28b6 llvmpipe: reorganize transfer usage
Move transfer creation and mapping to the "scene" object, and out of
the rasterizer.  The rasterizer operates on already-mapped
framebuffers only, and no longer needs a screen or context pointer.

The scene object has access to a pipe_context, and this reorg prepares
for moving transfer functionality from the screen to the context.
2010-03-02 15:03:09 +00:00
Brian Paul 8417528e3a intel: passs correct context type to intel_prepare_render() call 2010-03-02 07:50:15 -07:00
Brian Paul cb099c2ecf i965: include macros.h to get CLAMP macro 2010-03-02 07:47:56 -07:00
Brian Paul 5f40a7aed1 glx: replace assertion with conditional
See fd.o bug 26832.
2010-03-02 07:38:15 -07:00
José Fonseca 8598cebf43 progs/gallium/unit: Add test cases for single precision floats. 2010-03-02 12:47:16 +00:00
José Fonseca 77d9e93901 progs/gallium/unit: Add test cases for Nx16 and Nx32 integer formats. 2010-03-02 12:40:09 +00:00
Michal Krol 4ca70c489b Merge branch 'gallium-no-rhw-position'
Conflicts:
	src/gallium/drivers/r300/r300_blit.c
	src/gallium/drivers/r300/r300_emit.c
	src/gallium/drivers/r300/r300_state_derived.c
2010-03-02 13:35:30 +01:00
José Fonseca 915bbc8b0b progs/gallium/unit: Add more test cases. 2010-03-02 11:30:46 +00:00
José Fonseca 7a31bed4b1 util: Tweak comment for D3D10-like formats. 2010-03-02 11:30:23 +00:00
José Fonseca 4e1aa4a812 progs/gallium/python: Rename pipe formats. 2010-03-02 10:22:35 +00:00
José Fonseca 3b67f87970 gallium/unit: Rename pipe formats. 2010-03-02 10:22:35 +00:00
José Fonseca 496aa4793a rbug: Rename pipe formats. 2010-03-02 10:21:55 +00:00
José Fonseca 4028fab892 gdi: Rename pipe formats. 2010-03-02 10:21:55 +00:00
José Fonseca 907d5611b2 drm/nouveau: Rename pipe formats. 2010-03-02 10:21:55 +00:00