summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Remove stray defines of HAVE_RGBAIan Romanick2010-03-0312-12/+0
| | | | | | | 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 <[email protected]>
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-039-70/+0
| | | | | | | | 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 <[email protected]>
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-037-18/+9
| | | | | | | | 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 <[email protected]>
* DRI: Remove support for color-index visualsIan Romanick2010-03-031-10/+5
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa/xlib: Remove support for color-index renderingIan Romanick2010-03-033-318/+153
| | | | Signed-off-by: Ian Romanick <[email protected]>
* osmesa: Remove support for color-index renderingIan Romanick2010-03-031-67/+11
| | | | Signed-off-by: Ian Romanick <[email protected]>
* fbdev: Remove support for color-index renderingIan Romanick2010-03-031-86/+36
| | | | Signed-off-by: Ian Romanick <[email protected]>
* DRI/swrast: Remove color-index support from DRI swrast driverIan Romanick2010-03-034-105/+27
| | | | | | | | | 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 <[email protected]>
* i915: Use x,y drawing offsets instead of changing buffer offsets.Eric Anholt2010-03-033-12/+41
| | | | This should fix rendering into mipmaps of tiled textures.
* i915: Tell the kernel when we actually need fence registers on our BOs.Eric Anholt2010-03-034-12/+49
| | | | | | 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.
* intel: Use drm_intel_bo_alloc_tiled for region allocs.Eric Anholt2010-03-031-28/+11
| | | | | | | 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.
* i915: Don't do the pitch expansion for tiled buffers.Eric Anholt2010-03-031-4/+4
| | | | | | | | 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.
* intel: Use GTT mapping in the blit fallback path in case there's tiling.Eric Anholt2010-03-031-15/+14
|
* i965: Fix up Sandybridge VS sizing.Eric Anholt2010-03-031-3/+5
|
* r600: add new rs880 pci idAlex Deucher2010-03-032-0/+2
|
* intel: Set InternalFormat for renderbuffers created from an EGLImageKristian Høgsberg2010-03-031-0/+1
|
* radeon/r200/r300/r600: fix blit BO buffer validationDave Airlie2010-03-034-18/+32
| | | | | | | | | 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 <[email protected]>
* intel: passs correct context type to intel_prepare_render() callBrian Paul2010-03-021-1/+1
|
* i965: include macros.h to get CLAMP macroBrian Paul2010-03-021-0/+1
|
* r600: fix blender picking.Dave Airlie2010-03-021-3/+15
| | | | | | | | | | This fixes the sw fallback for GL_SELECT picking modes. Fixes object picking blender + depthpick test http://bugs.freedesktop.org/show_bug.cgi?id=26419 Signed-off-by: Dave Airlie <[email protected]>
* radeon: Reduce number of radeon_bo_map calls that require kernel entry.Pauli Nieminen2010-03-011-3/+13
| | | | | | | | | | DMA buffers are often remapped many times for singel cs. To reduce number of mapping calls ending to kernel dma buffers are mapped when allocated and unmapped when full or in cs flush. This makes indifual mapping calls in other parts of code simple increment/decrement reference count which is faster than entering kernel. This improves Anholt's openarena benchmark from 36 fps to 44 fps.
* Remove now obsolete mesa_bzero symbol.Karl Schultz2010-03-011-1/+0
|
* dri/nouveau: Combine the dummy texture more deterministically on nv0x.Francisco Jerez2010-03-011-1/+4
|
* dri/nouveau: Fix up the ADD texture environment on nv0x.Francisco Jerez2010-03-012-2/+1
|
* dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.Andrew Randrianasulu2010-03-011-0/+4
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Allow to render to XRGB8888 textures.Andrew Randrianasulu2010-03-011-0/+2
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri: Remove dead code.Vinson Lee2010-02-272-36/+10
|
* dri: Add assert to check for null pointer dereference.Vinson Lee2010-02-271-0/+1
|
* i810: Add assert to check for null pointer dereference.Vinson Lee2010-02-271-0/+1
|
* mach64: Add asserts to check for null pointer dereferences.Vinson Lee2010-02-271-0/+3
|
* mga: Add assert to check for null pointer dereference.Vinson Lee2010-02-271-0/+1
|
* r128: Add assert to check for null pointer dereference.Vinson Lee2010-02-271-0/+1
|
* r300: Add asserts to check for null pointer dereferences.Vinson Lee2010-02-271-0/+2
|
* savage: Add assert to check for null pointer dereference.Vinson Lee2010-02-271-0/+1
|
* sis: Add assert to check function pointer is not null.Vinson Lee2010-02-271-0/+1
|
* tdfx: Add asserts to check for null pointer dereferences.Vinson Lee2010-02-272-0/+10
|
* unichrome: Assert that pointer is not null before dereferencing.Vinson Lee2010-02-271-0/+2
|
* radeon: Assert pointer is not null before dereferencing.Vinson Lee2010-02-271-0/+1
| | | | | Add back an assert that was removed in commit cd5f167353f16fb4f5b349002625b704f3e23778.
* dri: Assert pointer is not null before dereferencing.Vinson Lee2010-02-271-0/+1
|
* r600: Assert pointer is not null before dereferencing.Vinson Lee2010-02-271-0/+3
|
* r600: enable OQ on rv740 on drms with working pipe configAlex Deucher2010-02-261-3/+6
|
* r600: fail to validate unsupported texture formatsKlaus Schnass2010-02-261-16/+12
|
* intel: Lookup requested renderbuffer in intel_create_image_from_renderbufferKristian Høgsberg2010-02-261-1/+2
| | | | Previously we'd use the current renderbuffer.
* r300/compiler: Assert that array index is not negative.Vinson Lee2010-02-261-0/+2
|
* i965: Remove unnecessary headers.Vinson Lee2010-02-2510-25/+0
|
* i965: Try to hook up the Sandybridge URB_WRITE SEND message.Eric Anholt2010-02-251-7/+25
| | | | My units still hang when doing this if the VS is enabled.
* i965: Fix up the VUE handling for SNB, and hopefully clarify comments.Eric Anholt2010-02-251-25/+49
|
* i965: Don't set a nonexistent enable bit in several SNB state pointers.Eric Anholt2010-02-253-5/+5
| | | | | The modify bit is now usually in the instruction header. The exception is CC state pointers.
* i965: Lump SNB in with Ironlake for bigger VUEs.Eric Anholt2010-02-251-2/+2
| | | | This gets the VS to the point of accepting vertices. \o/
* i965: Fix the SNB VE valid bit.Eric Anholt2010-02-251-1/+1
| | | | So, when the docs say that 0 means enabled now? That's a lie.