summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/r600_texstate.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-081-20/+20
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
| * r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas2010-01-061-2/+4
| | | | | | | | | | | | R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
| * r600: float texture component orderingPierre Ossman2010-01-061-20/+20
| | | | | | | | | | | | | | The ordering of texture components was backwards for the floating point textures. Signed-off-by: Pierre Ossman <pierre@ossman.eu>
* | r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas2010-01-051-2/+4
| | | | | | | | | | | | R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
* | r600: support depth compare functions & shadow_ambientAndre Maasikas2010-01-051-0/+34
| |
* | radeon/r200/r600: fix drivers for changes in ↵Alex Deucher2009-12-051-12/+1
|/ | | | 433f0a82f5a4696e6b0c4061f645485ec8079bb4
* r600: align for mipmap tree changesMaciej Cencora2009-11-181-23/+14
|
* r600: remove duplicate lineAlex Deucher2009-10-301-1/+0
|
* r600: fill in some missing tex formatsAlex Deucher2009-10-301-0/+46
| | | | | | | | | This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
* Merge branch 'texformat-rework'Brian Paul2009-10-281-9/+6
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * 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.
| * radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24Brian Paul2009-10-211-3/+3
| | | | | | | | | | Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
| * drivers: don't include texformat.hBrian Paul2009-10-051-1/+0
| | | | | | | | And remove other unneeded #includes while we're at it.
| * mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-2/+2
| | | | | | | | | | | | 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.
* | Merge branch 'mesa_7_6_branch' of ↵Alex Deucher2009-10-191-2/+10
|\ \ | |/ |/| | | | | | | git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa regenerated lex.yy.c
| * r600: Fix size calculation for 24 bit depthRobert Noland2009-10-191-2/+6
| | | | | | | | | | | | | | | | size was being calculated based on 3 bytes per pixel with 24 bit depth instead of 4 bytes. This caused corruption in the bottom 25% of objects. This finishes fixing the menu/text corruption in compiz/kde4. Signed-off-by: Robert Noland <rnoland@2hip.net>
| * r600: fix tfp1 bo sizeAndre Maasikas2009-10-151-2/+6
| | | | | | | | | | | | | | | | Setting the wrong bo size resulting in an incomplete read cache flush when reading the texture. This fixes the compiz text corruption. [agd5f: take hw pitch alignment into account]
| * r600: check if textures are actually enabled before submissionAlex Deucher2009-09-241-1/+1
| | | | | | | | noticed by taiu on IRC.
| * r600: fix ftp for dri1Alex Deucher2009-09-241-3/+4
| | | | | | | | We use t->bo for dri1 since r600 uses CS for dri1.
| * r600: don't setup hardware state if TFPDave Airlie2009-09-241-0/+4
| | | | | | | | | | | | | | if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
* | r600: check if textures are actually enabled before submissionAlex Deucher2009-09-091-1/+1
| | | | | | | | noticed by taiu on IRC.
* | r600: fix ftp for dri1Alex Deucher2009-09-091-3/+4
| | | | | | | | We use t->bo for dri1 since r600 uses CS for dri1.
* | r600: don't setup hardware state if TFPDave Airlie2009-09-091-0/+4
| | | | | | | | | | | | | | if we have a BO here it means TFP and we should have set it up already. tested by b0le on #radeon
* | r600: add support for EXT_texture_sRGBAlex Deucher2009-09-041-0/+43
|/
* r600: make sure the active vertex shader bo is re-added to persistent list.Alex Deucher2009-09-031-0/+7
|
* r600: make sure the active shader bo is re-added to persistent list.Dave Airlie2009-09-031-0/+8
|
* r600: Convert to shared debug code and add a few new debug messages.Pauli Nieminen2009-08-311-5/+3
| | | | There is only a few functions that have debugging enabled now.
* r600: make state emit more fine grainedAlex Deucher2009-08-221-0/+2
| | | | | Gives a nice speed boost in most apps since we only emit what state we need.
* r600: move full state to radeon state atomsAlex Deucher2009-08-221-0/+2
|
* radeon: Optimize memory handling for dma operations.Pauli Nieminen2009-08-181-1/+2
| | | | | | | | | | 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>
* r600: fix r600SetTexOffsetAlex Deucher2009-08-031-5/+7
| | | | | | | | | We need to properly set up a fake bo for the texture override, so add a new function to radeon_bo_legacy.c. This could probably be used on radeon/r200/r300 to unify the bo handling for texture override. compiz now works :)
* r600: fix mipmapsAlex Deucher2009-07-301-0/+5
| | | | redbook mipmap works
* r600: remove extraneous semicolonAlex Deucher2009-07-291-1/+1
|
* r600: fix texture pitch alignmentAlex Deucher2009-07-291-2/+4
| | | | fixes texwrap
* r600: minor fixesAlex Deucher2009-07-291-0/+13
| | | | | | - set MAX_LOD properly - min texel pitch is 8 texels - emit old command buffer when re-initing base state
* r600: fix _REV texture format component swizzlesAlex Deucher2009-07-271-30/+30
|
* r600: switch tex code to use SETfield macrosAlex Deucher2009-07-271-195/+308
| | | | for consistency with the rest of the code.
* R6xx/r7xx: warning fixesKevin DeKorte2009-07-171-0/+2
| | | | patch from Kevin DeKorte with some minor fixes from me.
* Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa ↵Alex Deucher2009-07-151-17/+22
| | | | | | | into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
* R6xx/r7xx: first pass at texture supportAlex Deucher2009-07-061-0/+795
| | | | texture bo setup isn't quite working yet
* R6xx/R7xx: remove unused filesRichard Li2009-04-211-476/+0
|
* Remove r500 stuffAlex Deucher2009-04-101-12/+0
|
* R6xx/R7xx: r300 -> r600 symbolsAlex Deucher2009-04-091-84/+84
|
* R600: initial copy of r300 codeAlex Deucher2009-04-081-0/+488