Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-04 | dri/nouveau: Try to keep client buffers smaller than the scratch VBO length. | Francisco Jerez | |
2010-03-04 | dri/nouveau: Pack client arrays as they're copied to the real BO. | Francisco Jerez | |
2010-03-04 | i915: Enable texture tiling by default. | Eric Anholt | |
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. | |||
2010-03-04 | i915: Fix up i830 for tiled drawing offsets. | Eric Anholt | |
Corresponds to b87406e55f029d29594ae76a4b39a4fe1007fe4f. | |||
2010-03-04 | DRI: Put back missing break-statement | Ian Romanick | |
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> | |||
2010-03-04 | r300: make blit code work on swtcl machines. | Dave Airlie | |
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> | |||
2010-03-04 | r300_blit: initialise whole fp structure to 0 | Dave Airlie | |
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> | |||
2010-03-03 | radeon/r200/r300/r600: add check_blit vtbl function | Alex Deucher | |
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> | |||
2010-03-03 | Remove stray defines of HAVE_RGBA | Ian Romanick | |
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> | |||
2010-03-03 | mesa: Remove ClearIndex and IndexMask from device-driver interface | Ian Romanick | |
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> | |||
2010-03-03 | DRI: Remove support for color-index visuals | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-03 | DRI/swrast: Remove color-index support from DRI swrast driver | Ian Romanick | |
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 | i915: Use x,y drawing offsets instead of changing buffer offsets. | Eric Anholt | |
This should fix rendering into mipmaps of tiled textures. | |||
2010-03-03 | i915: Tell the kernel when we actually need fence registers on our BOs. | Eric Anholt | |
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 | intel: Use drm_intel_bo_alloc_tiled for region allocs. | Eric Anholt | |
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 | i915: Don't do the pitch expansion for tiled buffers. | Eric Anholt | |
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 | intel: Use GTT mapping in the blit fallback path in case there's tiling. | Eric Anholt | |
2010-03-03 | i965: Fix up Sandybridge VS sizing. | Eric Anholt | |
2010-03-03 | r600: add new rs880 pci id | Alex Deucher | |
2010-03-03 | intel: Set InternalFormat for renderbuffers created from an EGLImage | Kristian Høgsberg | |
2010-03-03 | radeon/r200/r300/r600: fix blit BO buffer validation | Dave Airlie | |
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-02 | intel: passs correct context type to intel_prepare_render() call | Brian Paul | |
2010-03-02 | i965: include macros.h to get CLAMP macro | Brian Paul | |
2010-03-02 | r600: fix blender picking. | Dave Airlie | |
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 <airlied@redhat.com> | |||
2010-03-01 | radeon: Reduce number of radeon_bo_map calls that require kernel entry. | Pauli Nieminen | |
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. | |||
2010-03-01 | dri/nouveau: Combine the dummy texture more deterministically on nv0x. | Francisco Jerez | |
2010-03-01 | dri/nouveau: Fix up the ADD texture environment on nv0x. | Francisco Jerez | |
2010-03-01 | dri/nouveau: Add two stencil operation cases in nv04_state_raster.c. | Andrew Randrianasulu | |
Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||
2010-03-01 | dri/nouveau: Allow to render to XRGB8888 textures. | Andrew Randrianasulu | |
Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||
2010-02-27 | dri: Remove dead code. | Vinson Lee | |
2010-02-27 | dri: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-27 | i810: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-27 | mach64: Add asserts to check for null pointer dereferences. | Vinson Lee | |
2010-02-27 | mga: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-27 | r128: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-27 | r300: Add asserts to check for null pointer dereferences. | Vinson Lee | |
2010-02-27 | savage: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-27 | sis: Add assert to check function pointer is not null. | Vinson Lee | |
2010-02-27 | tdfx: Add asserts to check for null pointer dereferences. | Vinson Lee | |
2010-02-27 | unichrome: Assert that pointer is not null before dereferencing. | Vinson Lee | |
2010-02-27 | radeon: Assert pointer is not null before dereferencing. | Vinson Lee | |
Add back an assert that was removed in commit cd5f167353f16fb4f5b349002625b704f3e23778. | |||
2010-02-27 | dri: Assert pointer is not null before dereferencing. | Vinson Lee | |
2010-02-27 | r600: Assert pointer is not null before dereferencing. | Vinson Lee | |
2010-02-26 | r600: enable OQ on rv740 on drms with working pipe config | Alex Deucher | |
2010-02-26 | r600: fail to validate unsupported texture formats | Klaus Schnass | |
2010-02-26 | intel: Lookup requested renderbuffer in intel_create_image_from_renderbuffer | Kristian Høgsberg | |
Previously we'd use the current renderbuffer. | |||
2010-02-26 | r300/compiler: Assert that array index is not negative. | Vinson Lee | |
2010-02-25 | i965: Remove unnecessary headers. | Vinson Lee | |
2010-02-25 | i965: Try to hook up the Sandybridge URB_WRITE SEND message. | Eric Anholt | |
My units still hang when doing this if the VS is enabled. | |||
2010-02-25 | i965: Fix up the VUE handling for SNB, and hopefully clarify comments. | Eric Anholt | |