summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200
AgeCommit message (Collapse)Author
2009-10-04r200: remove subpixel offset from viewportFrederic Crozat
Fixes bug fdo 20340 for r200.
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-01r200: emit cube for kms correctly + fix tex emit resetDave Airlie
CS checker found some issues.
2009-09-01r200: emit max vtx info for index buffer.Dave Airlie
We need this for the CS bounds checking.
2009-08-31r200: Convert r200 to use new style debug code.Pauli Nieminen
Only very few places where realy converted so there isa lot of to do.
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-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-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-28r200: Fix piglit paths test.Pauli Nieminen
Polygon stipple has to go to command buffer because special ioctl is disabled. Piglit doesn't like HyperZ warning so disable it for kms.
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/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/r200: OQ support for r200 in theory.Dave Airlie
this is an untested port of the r100 OQ code
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-25r200: Addd missing parameter to debug output.Pauli Nieminen
2009-08-25r200: Fix commit size prediction.Pauli Nieminen
Scissor are emited for every primitive so fix that in prediction.
2009-08-25radeon: Fix all compiler warnings.Pauli Nieminen
2009-08-25radeon/r200/r300/r600: Warn if we emit more than prediction was.Pauli Nieminen
Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed.
2009-08-21radeon: Improve state emit code.Pauli Nieminen
Trying to make understanding code easier with small refactoring and renaming.
2009-08-21r200: Make swtcl use state size prediction for flush.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21r200: Remove unnecessery Elts from r200 context.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21r200: Remove unnecessary calls to rcommonEnsureCmdBufSpace.Pauli Nieminen
Calling EnsureCmdBufSpace is not required because rendering pipeline has to quarentee free space. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21r200: Fix atom->check call to return emit size for atom.Pauli Nieminen
This patch makes render emit size prediction count the corect maximum emit size for state. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21r200: Prevent flush in middle of rendering.Pauli Nieminen
Patch adds prediction functionthat tries to predict emit size to the smallest possible values that is quarenteed to be higher than worst case scenario in rendering pipeline. State emit size prediction code is in place but fix for emit sizes is included in next patch. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21radeon/r200: Add -Wall to default build flags like it is in r300/r600Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18r200: make use of DMA buffers for Elts a lot better.Dave Airlie
This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli.
2009-08-18r200: Fix missing offset from elt buffer pointer.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18radeon: Optimize memory handling for dma operations.Pauli Nieminen
We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18radeon/r200: fix build after OQ commitsDave Airlie
2009-08-17radeon: remove RADEON_DEBUG_BO stuffAlex Deucher
This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
2009-08-12r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-07r200: fix scissor emission for r200 under kmsDave Airlie
2009-08-05r200: emit colorpitchDave Airlie
2009-08-05r200: fix off-by-one errors causing 6th texture unit to not workRoland Scheidegger
both for normal and cube textures, this fixes demos/multiarb (with 6 enabled texture units) and fixes #23142.
2009-08-05r200: fix compiler warning (unused var)Roland Scheidegger
2009-07-21Track Radeon driver symlinks in Git.Michel Dänzer
2009-07-17R200: fix build when RADEON_DEBUG_BO is setAlex Deucher
2009-07-15intel/radeon: add common metaops code.Dave Airlie
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
2009-07-14radeon: Differentiate 16 bpp destination formats.Michel Dänzer
Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
2009-07-14radeon: Invert front face winding when rendering to FBO.Michel Dänzer
Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
2009-07-14radeon/r200: fix color masking under dri2Dave Airlie
Need to retrieve the bits from the rrb not from screen struct
2009-07-06r200: fix makefileDave Airlie
2009-07-06radeon/r200/r300: port to new space checking code in libdrmDave Airlie
This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
2009-07-02radeon/r200/r300: drop radeon renderbuffer private width/heightDave Airlie
half stealing the code without taking the intel regions
2009-06-29Revert "r200: make use of DMA buffers for Elts a lot better."Dave Airlie
This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3. Need to revisit where this is going wrong
2009-06-27radeon: Update .gitignoreNicolai Hähnle
Add all source files that are symlink'ed from common radeon code to the ignore list. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-06-26r200: make use of DMA buffers for Elts a lot better.Dave Airlie
This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop.
2009-06-26r200: only emit unitneeded texturesDave Airlie