aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
Commit message (Collapse)AuthorAgeFilesLines
* mesa: choose texture format in core mesa, not driversBrian Paul2009-10-251-3/+1
| | | | | | Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
* mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul2009-10-081-4/+6
| | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
* drivers: don't include texformat.hBrian Paul2009-10-052-2/+0
| | | | And remove other unneeded #includes while we're at it.
* mesa: remove gl_texture_image::IsCompressed fieldBrian Paul2009-10-011-1/+1
| | | | Use _mesa_is_format_compressed() instead.
* mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-4/+4
| | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
* mesa/drivers: use _mesa_get_format_bytes()Brian Paul2009-09-271-1/+1
|
* radeon: cleanup compile defines mess.Dave Airlie2009-09-161-2/+1
| | | | | I inherited this and really it stayed around far too long, make it nice and simple.
* radeon: fix r100/r200 polygon stipple under kmsDave Airlie2009-09-013-1/+31
| | | | | | | | 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 <[email protected]>
* r200: emit cube for kms correctly + fix tex emit resetDave Airlie2009-09-012-2/+4
| | | | CS checker found some issues.
* r200: emit max vtx info for index buffer.Dave Airlie2009-09-013-0/+12
| | | | We need this for the CS bounds checking.
* r200: Convert r200 to use new style debug code.Pauli Nieminen2009-08-3112-106/+73
| | | | Only very few places where realy converted so there isa lot of to do.
* radeon: Add common debugging functions.Pauli Nieminen2009-08-312-0/+2
| | | | | | | | | | 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.
* radeon: Fix swtcl emit pediction.Pauli Nieminen2009-08-291-5/+14
| | | | | | 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.
* r100/r200: Bring back old PolygonStripple for DRI1.Pauli Nieminen2009-08-284-5/+7
| | | | DRI1 didn't have support for command buffer emit for stripple.
* r100/r200: Share PolygonStripple code.Pauli Nieminen2009-08-281-31/+1
|
* r200: Fix piglit paths test.Pauli Nieminen2009-08-282-11/+17
| | | | | Polygon stipple has to go to command buffer because special ioctl is disabled. Piglit doesn't like HyperZ warning so disable it for kms.
* radeon: fix scissors harder.Dave Airlie2009-08-281-2/+2
| | | | this makes gnome-shell work on r300 for me
* radeon/r200/r300: Fix swtcl prediction to work after primitie change.Pauli Nieminen2009-08-271-12/+25
| | | | | Swtcl calls flush everytime primitive changes so prediction has to made again after flushing.
* radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.Pauli Nieminen2009-08-271-3/+19
| | | | | We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
* radeon/r100/r200: actually init the OQ support properlyDave Airlie2009-08-261-0/+1
|
* radeon/r200: OQ support for r200 in theory.Dave Airlie2009-08-263-0/+30
| | | | this is an untested port of the r100 OQ code
* r200: Add scissor to state atom list.Pauli Nieminen2009-08-268-78/+115
| | | | Scissors are jsut one of states that we have to emit so it should be in state list
* r200: Addd missing parameter to debug output.Pauli Nieminen2009-08-251-1/+1
|
* r200: Fix commit size prediction.Pauli Nieminen2009-08-251-1/+4
| | | | Scissor are emited for every primitive so fix that in prediction.
* radeon: Fix all compiler warnings.Pauli Nieminen2009-08-253-9/+10
|
* radeon/r200/r300/r600: Warn if we emit more than prediction was.Pauli Nieminen2009-08-251-5/+16
| | | | | | 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.
* radeon: Improve state emit code.Pauli Nieminen2009-08-212-2/+2
| | | | Trying to make understanding code easier with small refactoring and renaming.
* r200: Make swtcl use state size prediction for flush.Pauli Nieminen2009-08-211-1/+1
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r200: Remove unnecessery Elts from r200 context.Pauli Nieminen2009-08-212-6/+2
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r200: Remove unnecessary calls to rcommonEnsureCmdBufSpace.Pauli Nieminen2009-08-211-5/+0
| | | | | | Calling EnsureCmdBufSpace is not required because rendering pipeline has to quarentee free space. Signed-off-by: Pauli Nieminen <[email protected]>
* r200: Fix atom->check call to return emit size for atom.Pauli Nieminen2009-08-211-158/+301
| | | | | | | This patch makes render emit size prediction count the corect maximum emit size for state. Signed-off-by: Pauli Nieminen <[email protected]>
* r200: Prevent flush in middle of rendering.Pauli Nieminen2009-08-212-3/+59
| | | | | | | | | | | 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 <[email protected]>
* radeon/r200: Add -Wall to default build flags like it is in r300/r600Pauli Nieminen2009-08-211-1/+2
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r200: make use of DMA buffers for Elts a lot better.Dave Airlie2009-08-181-11/+5
| | | | | | | 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.
* r200: Fix missing offset from elt buffer pointer.Pauli Nieminen2009-08-181-1/+1
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* radeon: Optimize memory handling for dma operations.Pauli Nieminen2009-08-182-4/+11
| | | | | | | | | | 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 <[email protected]>
* radeon/r200: fix build after OQ commitsDave Airlie2009-08-183-1/+4
|
* radeon: remove RADEON_DEBUG_BO stuffAlex Deucher2009-08-171-6/+0
| | | | | This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
* r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen2009-08-121-0/+12
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r200: fix scissor emission for r200 under kmsDave Airlie2009-08-071-18/+24
|
* r200: emit colorpitchDave Airlie2009-08-051-2/+2
|
* r200: fix off-by-one errors causing 6th texture unit to not workRoland Scheidegger2009-08-051-2/+2
| | | | | both for normal and cube textures, this fixes demos/multiarb (with 6 enabled texture units) and fixes #23142.
* r200: fix compiler warning (unused var)Roland Scheidegger2009-08-051-2/+0
|
* Track Radeon driver symlinks in Git.Michel Dänzer2009-07-2133-62/+32
|
* R200: fix build when RADEON_DEBUG_BO is setAlex Deucher2009-07-171-0/+6
|
* intel/radeon: add common metaops code.Dave Airlie2009-07-151-6/+1
| | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
* radeon: Differentiate 16 bpp destination formats.Michel Dänzer2009-07-141-1/+10
| | | | | | Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
* radeon: Invert front face winding when rendering to FBO.Michel Dänzer2009-07-141-0/+4
| | | | | | Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
* radeon/r200: fix color masking under dri2Dave Airlie2009-07-141-7/+18
| | | | Need to retrieve the bits from the rrb not from screen struct
* r200: fix makefileDave Airlie2009-07-061-1/+1
|