summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-10-23mesa: Enable remap table in core.Chia-I Wu
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-19Merge branch 'mesa_7_6_branch' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa regenerated lex.yy.c
2009-10-16mesa: lift default symlinks target into Makefile.templateBrian Paul
Driver Makefiles can still add symlink dependencies/rules if needed.
2009-10-15Use the right pitch when rendering to a textureOwen Taylor
We need to get the pitch from the texture level we are rendering to, rather than just using the base texel width.
2009-10-15radeon: return EINVAL for 0 length buffers.Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-10Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-09radeon: fix scissor regressionAlex Deucher
fixes fdo bug 24248
2009-10-03radeon: Cope better with texture images with no miptrees.Michel Dänzer
Fixes crash with compiz magnifier plugin.
2009-09-24Merge branch 'mesa_7_6_branch'Pauli Nieminen
2009-09-24radeon: Fix scissors for r600 KMS.Pauli Nieminen
Radeon generic scissors code had problem that some of code was using exclusive and some inclusive bottom right corner. Only r600 driver is using exclusive coordinate so changed generic code to pass inclusive coordinate and r600 driver changes BR coordinate to be exclusive.
2009-09-24r600: various cleanupsAlex Deucher
- max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-24radeon: don't build non-r600 span code on r600Alex Deucher
2009-09-24r600: minor span cleanupsAlex Deucher
2009-09-24r600: add span support for 1D tilesAlex Deucher
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
2009-09-21radeon: update buffer map/unmap code for changes introduced in ↵Maciej Cencora
92033a9516942d7272ce4bf36ecd422009bbaf60 and 822c7964819ca1fcc270880d4ca8b3de8a4276d0
2009-09-21r600: various cleanupsAlex Deucher
- max texture size is 8k, but mesa doesn't support that at the moment. - attempt to set shader limits to what the hw actually supports - clean up some old r300 cruft - no need to explicitly disable irqs. This is fixed in the drm now. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-21radeon: update buffer map/unmap code for changes introduced in ↵Maciej Cencora
92033a9516942d7272ce4bf36ecd422009bbaf60 and 822c7964819ca1fcc270880d4ca8b3de8a4276d0
2009-09-21Merge branch 'mesa_7_6_branch'Michel Dänzer
2009-09-20Revert "mesa: move _mesa_meta_init/free() calls to core Mesa"Brian Paul
This reverts commit 651cffd626a82d9bf539437ca4bdf8ea4b396fab. The commit inadvertantly introduced a new gallium dependency on the meta code.
2009-09-20radeon: Fix legacy bo not to reuse dma buffers before refcount is 1.Pauli Nieminen
This should help detecting possible memory leaks with dma buffers and prevent possible visual corruption if data would be overwriten too early.
2009-09-20radeon: Fix typo in variable name.Pauli Nieminen
2009-09-20radeon: Improve WARN_ONCE macro to appear as single statement.Pauli Nieminen
Do-while makes macro safe to be used with if and for constructions. Also remove __LINE__ macro from variable name because scope is local to macro anyway.
2009-09-20radeon: Fix "verts" debugging enableNicolai Hähnle
Copy'n'paste apparently prevented the RADEON_VERTS flag from being enabled. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-19mesa: rename functions to be more consistant with rest of mesaBrian Paul
2009-09-19mesa: move _mesa_meta_init/free() calls to core MesaBrian Paul
2009-09-16radeon: cleanup compile defines mess.Dave Airlie
I inherited this and really it stayed around far too long, make it nice and simple.
2009-09-16radeon: oops remove debugging left on in previous patchDave Airlie
2009-09-16radeon: use txformat to decide to emit rect tex state.Dave Airlie
This is more logical, and fixes a TFP issue.
2009-09-15mesa: move generate mipmap callsBrian Paul
Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
2009-09-15radeon: don't build non-r600 span code on r600Alex Deucher
2009-09-15r600: minor span cleanupsAlex Deucher
2009-09-15Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-14r600: add span support for 1D tilesAlex Deucher
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
2009-09-11radeon: Remove structure allocation from iterator variable.Pauli Nieminen
dma_bo varaible is only used for iterating so allocating memory for it only causes memory leaks.
2009-09-10radeon: Change debugging code to use macros instead of inline functions.Pauli Nieminen
Variadic functions can't be inlined which makes debugging to have quite large function overead. Only aleternative method is to use variadic macros which are inlined so compiler can optimize debugging to minimize overhead.
2009-09-09radeon: Add more verbose error message for failed command buffer.Pauli Nieminen
2009-09-03mesa: change ctx->Driver.BufferData() to return GLboolean for success/failureBrian Paul
Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa.
2009-09-03radeon: pass internal format into the miptree.Dave Airlie
We need to figure out if the compression format changes. without this texcmp segfaults if you change format enough times.
2009-09-03radeon/dri2: add gl20 bits for r300/r600 just like dri1 doesDave Airlie
2009-09-01radeon: trim down #includesBrian Paul
2009-09-01radeon: use _mesa_meta_clear()Brian Paul
2009-09-02radeon: Fix OQ to set ful lstate as dirty too.Pauli Nieminen
2009-09-02radeon: Fix debug output to filter out less critical messages instead of ↵Pauli Nieminen
more critical.
2009-09-01radeon: fix r100/r200 polygon stipple under kmsDave Airlie
There really need to use state emits under kms, otherwise we end up with some dwords in the command buffer before we've ever emitted any useful state. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-01r100: fixup cubemap domainsDave Airlie
2009-09-01radeon: Fix null pointer reference in debug system if no context is bind.Pauli Nieminen
2009-08-31radeon: Add support for indenting debug output.Pauli Nieminen
Indetion can be used to make it easier to read debug code when sections of debug output are indented.
2009-08-31radeon: Add comment warning about not choosing critical debug level.Pauli Nieminen
2009-08-31radeon: Change default debug level to verbose.Pauli Nieminen
Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
2009-08-31radeon: Make OQ to use new style debugging.Pauli Nieminen