summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2010-03-08radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher
2010-03-08radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher
2010-03-07radeon: handle compressed sRGB texture formatsMaciej Cencora
2010-03-07radeon: move glGetTexImage handlers to seperate fileMaciej Cencora
2010-03-07radeon: Some possible improvements that I spoted in radeon_tiled_texture branch.Maciej Cencora
2010-03-07radeon: properly calculate rowstride for tiled imagesMaciej Cencora
2010-03-07radeon: minor refactoring of mipmap codeMaciej Cencora
2010-03-07radeon: add texture helper functionMaciej Cencora
2010-03-07radeon: add some debugging info to sw tiling/untiling functionsMaciej Cencora
2010-03-07radeon: add software untiling functionsMaciej Cencora
2010-03-07radeon: add tile size getterMaciej Cencora
2010-03-07radeon: added tiling functionsMaciej Cencora
2010-03-07radeon: no need to emit full state twice after flushMaciej Cencora
2010-03-07radeon: fallback to software in glCopyTexImage if blit isn't availableMaciej Cencora
2010-03-06dri: drop MINIGLX_SOURCES (2)George Sapountzis
2010-03-06dri: drop MINIGLX_SOURCESGeorge Sapountzis
2010-03-03radeon/r200/r300/r600: add check_blit vtbl functionAlex 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-03Remove stray defines of HAVE_RGBAIan 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-03mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan 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-03r600: add new rs880 pci idAlex Deucher
2010-03-03radeon/r200/r300/r600: fix blit BO buffer validationDave 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-01radeon: 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-02-27radeon: Assert pointer is not null before dereferencing.Vinson Lee
Add back an assert that was removed in commit cd5f167353f16fb4f5b349002625b704f3e23778.
2010-02-24radeon/r200: fix the state emission before kernel clearDave Airlie
this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-24radeon: fix bad state emission causes kernel to do bad depth clearDave Airlie
The kernel lets you clear depth without getting a depth offset from userspace, mesa used to emit state before clear, but that got lost in the refactoring, which made the kernel bug show up. Fix mesa driver to emit the state properly now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-20radeon: Silence compiler format warning.Vinson Lee
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-10dri: Fix copy-and-paste brain damage in previous commitIan Romanick
A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-10dri: Allow selective generation of accum. buffer configsIan Romanick
Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-10radeon: Fix printf formatings to match te values.Pauli Nieminen
2010-02-10radeon: Define EXT_framebuffer_object constants to match hw.Pauli Nieminen
This hides the assertion failure in glean/fbo test. Underlying problem when same texture is set twice to different attachments will cause assertion.
2010-02-09dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg
This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
2010-02-09radeon: Add some debug output for fbo supportPauli Nieminen
2010-02-08radeon: fix UMS since stp addition.Dave Airlie
UMS doesn't need the STP atom. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-07r100/r200/r300/r600: Set MaxCombinedTextureImageunits.Pauli Nieminen
Fixes glActiveTexture to set GL_INVALID_ENUM when trying to activate texture unit that is not available. piglit test case general/texunit passes now.
2010-02-06radeon: Add some debug output to texture function.\nPauli Nieminen
2010-02-06radeon: Use _mesa_next_pow_two_32 instead of own implementation.Pauli Nieminen
2010-02-06radeon: Add some debug output to miptree code.Pauli Nieminen
2010-02-06radeon: Remove the loop from stride size calculation.Pauli Nieminen
Changed stride size calculation to do the math by rounding the value instead of loop. r600 minimum stride is 256 which might might cause up to about 60 rounds of the loop.
2010-02-05r100: Add the polygon stipple state to the state list.Pauli Nieminen
This fixes glean paths test case.
2010-02-04radeon: Make debugging automaticaly increase logging verbosity for debug build.Pauli Nieminen
DEBUG preprocessor macro is set by configure script when --enable-debug is passed for configure. Radeon then just increase debugging verbosity if DEBUG is set in compile time.
2010-02-03mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez
This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-30radeon: Remove unnecessary headers.Vinson Lee
2010-01-28radeon: Silence "format" compiler warnings.Vinson Lee
2010-01-27radeon/r200/r300: don't clean non-emitted state.Dave Airlie
So if we don't actually emit an atom to the hw because we don't need it in the current state (e.g. lighting related atoms when lighting is off) then don't mark it as clean, because when lighting gets switched on we won't emit it at all. This fixes funky gears colors. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-27radeon: remove unused fileDave Airlie
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-23radeon: Remove unused variable.Vinson Lee