aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_span.c
Commit message (Collapse)AuthorAgeFilesLines
* r300: fix reads and writes for MESA_FORMAT_S8Z24 bufferMaciej Cencora2009-11-171-2/+3
| | | | Regression was introduced by texformat-rework branch merge.
* r600: More span breakage fixes.Michel Dänzer2009-11-171-0/+12
| | | | | At least now the compiler doesn't complain about implicitly declared functions anymore...
* r600: Attempt to fix span breakage introduced by big endian fixes.Michel Dänzer2009-11-171-0/+8
| | | | | | Only compile tested; I happened to notice people on IRC reporting .../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2
* radeon: Depth/stencil span code fixes for big endian.Michel Dänzer2009-11-171-24/+24
| | | | Fixes e.g. text in progs/demos/arbocclude.
* radeon: Fix software fallbacks with KMS on big endian.Michel Dänzer2009-11-171-0/+63
|
* r600: fix depth span macros for format changesAlex Deucher2009-10-221-4/+4
|
* radeon: fix some renderbuffer format bugsBrian Paul2009-10-221-3/+3
|
* radeon: get rid of z24s8 <-> s8z24 conversions in span codeBrian Paul2009-10-211-26/+8
| | | | | Can just use s8z24 everywhere. Note: the WRITE_DEPTH macro for R600 may need to be fixed.
* radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24Brian Paul2009-10-211-2/+2
| | | | | Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
* mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul2009-10-081-10/+10
| | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
* radeon: cleanup compile defines mess.Dave Airlie2009-09-161-31/+31
| | | | | I inherited this and really it stayed around far too long, make it nice and simple.
* radeon: don't build non-r600 span code on r600Alex Deucher2009-09-151-1/+5
|
* r600: minor span cleanupsAlex Deucher2009-09-151-4/+3
|
* r600: add span support for 1D tilesAlex Deucher2009-09-141-0/+220
| | | | | | | | | | | 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*
* radeon: Fix all compiler warnings.Pauli Nieminen2009-08-251-0/+2
|
* radeon span: add r200 depth/stencil span read/writingDave Airlie2009-08-071-13/+111
| | | | | | this should only really affect DRI2 since we mostly have a surface in DRI1. I don't think this is perfect yet, but it is a better start than nothing.
* radeon: update span reading micro tile codeDave Airlie2009-07-151-103/+67
| | | | tested on r500 with zreaddraw with Z buffer in all 3 modes
* radeon: r300 fix span reading for macro tiled buffers.Dave Airlie2009-07-151-6/+7
| | | | this uses the correct formula for macro tiled buffers for readback
* radeon: for tiling you really need to use GET/PUT VALUE not PTR.Dave Airlie2009-07-151-1/+5
| | | | since the surfaces aren't linear you can't just use GET_PTR
* radeon: Fix crash when rendering to incomplete texture and other formatsNicolai Hähnle2009-07-121-11/+40
| | | | | | | | | | | | It is possible to bind texture images of an incomplete mipmapped texture. Software fallbacks in this case incorrectly tried to mmap the entire texture. Additionally, add span functions for 1555 and 4444 formats. This fixes crashes in piglit's fbo-readpixels test; unfortunately, the test itself still fails - this needs to be investigated. Signed-off-by: Nicolai Hähnle <[email protected]>
* radeon: Wait for BO idle if necessary before mapping it.Michel Dänzer2009-07-031-0/+2
| | | | Fixes fighting between GPU and software rendering with TTM.
* radeon: add support for new ttmJerome Glisse2009-04-061-5/+7
|
* radeon: fix pixel readback for RGB8 testsDave Airlie2009-03-311-1/+5
|
* radeon/r200: fix glean failures on readPixSanity since EXT_DEPTH_STENCIL supportDave Airlie2009-03-311-5/+58
|
* radeon: fix readback problem for piglit testsDave Airlie2009-03-301-7/+10
|
* radeon/r200/r300: fix warningsDave Airlie2009-03-241-2/+1
|
* raedon/r200/r300: mega-FBO commits.Dave Airlie2009-03-231-35/+48
| | | | | | Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
* radeon: add xRGB span functionsDave Airlie2009-03-211-1/+11
| | | | same as ARGB need to add a parameter to get ptr32
* radeon: fixup last missing x_off/y_offDave Airlie2009-03-211-4/+4
|
* radeon/fbo: add x_off and y_off in correct placesDave Airlie2009-03-211-10/+10
|
* radeon: dPriv handling is now in cliprects codeDave Airlie2009-03-211-12/+0
|
* radeon: fixup span code for FBOsDave Airlie2009-03-211-11/+36
|
* radeon: fix up span function settingDave Airlie2009-03-211-1/+7
|
* radeon/r200/r300: make build with out libdrm_radeon installed for nowDave Airlie2009-02-121-2/+0
|
* radeon: renaming and headers cleanupDave Airlie2009-02-121-2/+224
|
* radeon/r200/r300: merge span code into single shared fileDave Airlie2009-02-111-26/+38
|
* radeon/r200/r300: fix span code for depth reading.Dave Airlie2009-02-111-15/+13
| | | | makes the maskedClear test work
* radeon: make compile again.Dave Airlie2009-02-041-114/+22
| | | | Not tested but ripped out lots of stuff unneeded anymore time to test later
* r200: clear is working at least - not much elseDave Airlie2009-01-201-14/+11
|
* radeon/r200/r300: attempt to move lock to common codeDave Airlie2009-01-141-4/+2
|
* radeon/r200/r300: initial attempt to convert to common context codeDave Airlie2009-01-141-3/+6
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-1/+1
| | | | Makefile.template
* dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646Xiang, Haihao2008-08-051-0/+4
|
* r300: Further reduced the radeon_span.c diff.Oliver McFadden2007-05-091-2/+49
|
* r300: Further reduced the diff between radeon_span.[ch].Oliver McFadden2007-05-091-0/+3
|
* r300: Indented both copies of radeon_span.[ch] in preparation for merging.Oliver McFadden2007-05-091-90/+73
|
* Further clean-up and simplification of the span-related functions.Brian Paul2005-09-041-27/+21
|
* replace GET_SRC_PTR, GET_DST_PTR with GET_PTRBrian Paul2005-09-041-7/+4
|
* use new InitStencil/DepthPointer functionsBrian Paul2005-09-031-21/+6
|
* Finish up some of the gl_renderbuffer work.Brian Paul2005-09-011-87/+54
| | | | | | | Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function.