summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
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
2009-08-31radeon: Add gcc attribute to enable pritnf format warnings.Pauli Nieminen
2009-08-31r100: Use shared debug code.Pauli Nieminen
Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
2009-08-31radeon: Add common debugging functions.Pauli Nieminen
These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight.
2009-08-31r600: add missing r7xx pci idAlex Deucher
2009-08-29radeon: Fix swtcl emit pediction.Pauli Nieminen
Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation.
2009-08-28radeon: Fix scissors for dri1.Pauli Nieminen
DRI1 has to set scissors in framebuffer coordinates.
2009-08-28r100/r200: Bring back old PolygonStripple for DRI1.Pauli Nieminen
DRI1 didn't have support for command buffer emit for stripple.
2009-08-28r100/r200: Share PolygonStripple code.Pauli Nieminen
2009-08-28radeon: fix scissors harder.Dave Airlie
this makes gnome-shell work on r300 for me
2009-08-27radeon/r200/r300: Fix swtcl prediction to work after primitie change.Pauli Nieminen
Swtcl calls flush everytime primitive changes so prediction has to made again after flushing.
2009-08-27radeon: fix scissor calcs.Dave Airlie
For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes.
2009-08-27radeon: fix max indx/vertex emission due to state checkerDave Airlie
2009-08-27radeon: Fix loop en condition so debug output doesn't flood meaningless values.Pauli Nieminen
2009-08-27radeon: Make RADEON_CMDBUF more fine grained.Pauli Nieminen
2009-08-27radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.Pauli Nieminen
We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
2009-08-26radeon/r100/r200: actually init the OQ support properlyDave Airlie
2009-08-26radeon: add r100 OQ support with kms.Dave Airlie
This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs.
2009-08-26r200: Add scissor to state atom list.Pauli Nieminen
Scissors are jsut one of states that we have to emit so it should be in state list
2009-08-25radeon/r600: Fix remaining warnings when building 64 bit binary.Pauli Nieminen
2009-08-25radeon: Fix all compiler warnings.Pauli Nieminen
2009-08-25Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict