summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-26radeon: avoid page flip code in DRI2Dave Airlie
2009-02-26radeon: enable DRI2 for r100Dave Airlie
2009-02-26radeon: move CB/ZB state init into emit codeDave Airlie
This removes the use of the sarea for this stuff so makes DRI2 easier and emits the CB/ZB info in the correct place
2009-02-26r300: fixup texture state emission for kms pathDave Airlie
2009-02-26r300: don't call page flip on DRI2Dave Airlie
2009-02-26r300: don't flush VAP too often.Dave Airlie
Flush the VAP the first time for each state atom we upload new VAP data
2009-02-25r300: drop r300Flush for the generic oneDave Airlie
2009-02-24r300: fix bo ref/unref, plugs DRI handle leaksDave Airlie
2009-02-23r300: fixup old setTexOffset DRI1 extensionDave Airlie
2009-02-23radeon: add more debug info to the flush debugDave Airlie
2009-02-23r300: revert back autostate change on cacheflush emitDave Airlie
2009-02-23r300: use OUT_BATCH_REGVAL in a few more placesDave Airlie
2009-02-23r300: set u to 0 so debug logs are easier to readDave Airlie
2009-02-23radeon: stabilise r300 driver like the F10 mesa bufmgrDave Airlie
For some reason flushs caused by this CS needs flush hook, caused the chip to lockup on r300 under compiz, whereas the F10 driver was rock solid.
2009-02-23radeon: add some debugging for flush ioctlsDave Airlie
2009-02-23radeon: make state atom print like old r300 codeDave Airlie
2009-02-23radeon: fixup legacy bo/cs out of VRAM waiting.Dave Airlie
This is similiar to the code from the F10 r300 bufmgr
2009-02-18r300: make DRI2 not crash on compiz startDave Airlie
2009-02-18radeon: move device param id check ifndefDave Airlie
2009-02-17radeon: initialise swapped objects pointerDave Airlie
2009-02-17radeon: legacy texMem interface fixups.Dave Airlie
The texmem.c interface is wildly messed up it really wants to own the objects so let it, pain in the ass but this code should work a lot better now
2009-02-17Revert "dri/radeon: export a function to cleanup a texture object."Dave Airlie
This reverts commit 5325f8624093bb1ec30d581b4ff64218ceab99f9.
2009-02-17radeon/r200: drop legacy texture heap codeDave Airlie
2009-02-17radeon/r200: fixup texturing aging callsDave Airlie
2009-02-17radeon: fixup destroy texture object exit path and update LRUDave Airlie
the destroy path was doing bad things with structure names, make it do less bad things, use container_of instead
2009-02-17radeon: remove leftover debugDave Airlie
2009-02-17radeon/r200: drop dirty state from texture object + pp_txoffsetDave Airlie
this is just more code cleanup for old dead code
2009-02-17r200: align with r100 codeDave Airlie
2009-02-17radeon: fix not emitting texture state correctlyDave Airlie
this is whole texture dirty bit is probably not needed with the current codebase, need to revisit
2009-02-17radeon: steal miptree optimisation from intel codebaseDave Airlie
This replaces a miptree if it won't distrub anything else.
2009-02-17radeon: move YUV on first texunit check after hw state is setupDave Airlie
2009-02-17dri/radeon: export a function to cleanup a texture object.Dave Airlie
The radeon legacy code want to cleanup not free the texture obj, so export a function to do that and wrap it.
2009-02-16radeon: fix texcompress2 test.Dave Airlie
this makes compressed subimages work properly.
2009-02-16radeon: fix compressed tex subimage unpack parameterDave Airlie
2009-02-15radeon: add cflags to decide whether to link libdrm_radeon or not.Dave Airlie
You don't need libdrm_radeon for the legacy driver to build, only for the experimental mm/cs paths.
2009-02-14radeon-common: Fix crash in glGetTexImageNicolai Haehnle
Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14r300: Fix crash in cubemap tree creationNicolai Haehnle
The mip tree creation would crash if the first baselevel image to be uploaded was not the positive-x image. Found with Sauerbraten, also added a regression test to Piglit. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14r300: Redirect constant TEX coordinatesNicolai Haehnle
R3xx/R5xx fragment program texture constants must come from a hardware register instead of the constant file, so we redirect if necessary during the native rewrite phase. The symptoms of this bug started appearing when the Mesa fixed function texenvprogram code started using STATE_CURRENT_ATTRIB constants for texture coordinates when the corresponding attributes were constant across all vertices. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-14r300: Fix R300_CMD_SCRATCH on big endian.Michel Dänzer
2009-02-14radeon: remove unused radeon_compat.cDave Airlie
2009-02-14r200: fixup cube emit debugDave Airlie
2009-02-14r200: fix another cmdbuf sizing issueDave Airlie
2009-02-14radeon: check for valid bo in release arraysDave Airlie
2009-02-14radeon: remove old cube codeDave Airlie
2009-02-14radeon/r300: fix warningsDave Airlie
2009-02-14radeon: add initial cubemap support appears to workDave Airlie
2009-02-13radeon/r200: make setTexOffset work againDave Airlie
2009-02-13radeon/r200: fix set tex offset functionsDave Airlie
2009-02-13radeon: revert unneeded change to texturing codeDave Airlie
2009-02-13radeon: fix compressed texture upload on all radeonsDave Airlie
tested on r200, texcmp works. May need more verification