aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_texstate.c
Commit message (Collapse)AuthorAgeFilesLines
* radeon/r200: make radeon_context subclass of gl_contextBrian Paul2012-10-051-7/+7
| | | | | radeon_context now contains a gl_context, rather than a pointer to one. This will allow some minor core Mesa clean-up.
* radeon&r200: Add support for ARB_sampler_objectsPauli Nieminen2012-08-011-1/+2
| | | | | | | | Preparation for the mandatory support of ARB_sampler_objects. I have tested this patch with rv280 only. Signed-off-by: Pauli Nieminen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* radeon: derive radeon_renderbuffer from swrast_renderbufferBrian Paul2012-01-241-3/+4
|
* mesa: remove unused _mesa_init_teximage_fields() target parameterBrian Paul2012-01-041-1/+1
| | | | | Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Yuanhan Liu <[email protected]>
* radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernelDave Airlie2011-10-301-5/+3
| | | | | | | | This drops all the old drmSupports* checks since KMS does them all, and it also drop R300_CLASS and R600_CLASS. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* radeon: Drop the DRI1 zero-copy TFP code.Eric Anholt2011-10-281-37/+0
|
* mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrastBrian Paul2011-10-231-1/+1
| | | | | | Only swrast and the drivers that fall back to swrast need these fields now. This removes the last of the fields related to software rendering from gl_texture_image.
* mesa: Remove all mention of MESA_FORMAT_CI8Ian Romanick2011-08-291-2/+0
| | | | | | | | | | | Nothing in Mesa supports color-index textures, and most of the other infrastructure that could allow such support has already been removed. This puts the final nail in the coffin. Also clean out some GL_COLOR_INDEX comments in formats.c. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* radeon: Remove set-but-unused variables in radeonSetTexBuffer2() variants.Eric Anholt2011-08-021-6/+0
| | | | These have been unused since 2009.
* r200: fix up some problems with TFP on r200Dave Airlie2011-01-201-5/+15
|
* mesa: pass gl_format to _mesa_init_teximage_fields()Brian Paul2010-11-181-8/+12
| | | | | | | | | | | This should prevent the field going unset in the future. See bug http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background. Also remove unneeded calls to clear_teximage_fields(). Finally, call _mesa_set_fetch_functions() from the _mesa_init_teximage_fields() function so callers have one less thing to worry about.
* r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-7/+7
|
* dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg2010-02-091-4/+4
| | | | | | This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
* r200: Fix LOD min/max emit.Pauli Nieminen2010-02-071-6/+29
| | | | | | Just emit minLod and maxLod to correct reisters. Fixes lodclamp and levelclamp test cases from piglit.
* radeon/r200/r600: fix drivers for changes in ↵Alex Deucher2009-12-051-13/+2
| | | | 433f0a82f5a4696e6b0c4061f645485ec8079bb4
* r200: align for mipmap tree changesMaciej Cencora2009-11-171-13/+8
|
* 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.
* drivers: don't include texformat.hBrian Paul2009-10-051-1/+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
|
* r200: emit cube for kms correctly + fix tex emit resetDave Airlie2009-09-011-0/+2
| | | | CS checker found some issues.
* r200: Convert r200 to use new style debug code.Pauli Nieminen2009-08-311-5/+5
| | | | Only very few places where realy converted so there isa lot of to do.
* radeon/r200/r300: drop radeon renderbuffer private width/heightDave Airlie2009-07-021-3/+3
| | | | half stealing the code without taking the intel regions
* R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXTAlex Deucher2009-05-131-1/+4
| | | | | | | | In r*00SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
* r300: remove unused debugging in set tex buffer pathsDave Airlie2009-04-281-1/+0
|
* r200: fix texture level for compiz caseJerome Glisse2009-04-121-2/+2
|
* radeon: go back and repick texture formats.Dave Airlie2009-04-011-1/+1
| | | | | This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
* radeon/r200/r300: set correct row stride for rbsDave Airlie2009-03-261-0/+1
|
* radeon/r200/r300: add support for new tfp interfaceDave Airlie2009-03-221-3/+16
| | | | also fixup old interface, gets rid of white boxes in compiz
* Merge remote branch 'main/master' into radeon-rewriteDave Airlie2009-03-201-19/+23
|\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/radeon_ioctl.c src/mesa/drivers/dri/radeon/radeon_screen.c
| * mesa: re-org texgen stateBrian Paul2009-02-211-19/+23
| | | | | | | | New gl_texgen struct allows quite a bit of code reduction.
* | radeon/r200/r300: cleanup some of the renderbuffer codeDave Airlie2009-03-191-1/+1
| |
* | radeon: use t->bo to figure out of settexbuffer override is in actionDave Airlie2009-03-051-0/+4
| |
* | r200: add set tex buffer supportDave Airlie2009-03-061-0/+104
| |
* | radeon/r200: drop dirty state from texture object + pp_txoffsetDave Airlie2009-02-171-20/+3
| | | | | | | | this is just more code cleanup for old dead code
* | r200: align with r100 codeDave Airlie2009-02-171-3/+2
| |
* | radeon/r200: fix set tex offset functionsDave Airlie2009-02-131-3/+1
| |
* | r200: update with changes from r100 driver for texture stateDave Airlie2009-02-131-2/+44
| |
* | r200/r300: get up to speed on renamed filesDave Airlie2009-02-121-2/+2
| |
* | r200r300: start merging span codeDave Airlie2009-01-221-253/+0
| |
* | radeon: fix 1D texturesDave Airlie2009-01-221-1/+2
| |
* | r200: fix cubemapsDave Airlie2009-01-221-9/+0
| |
* | r200/r300: port r200 texture handling to common codeDave Airlie2009-01-221-253/+137
| | | | | | | | we now get texrect + trivial textures working
* | radeon/r200/r300: initial attempt to convert to common context codeDave Airlie2009-01-141-10/+10
| |
* | radeon/r200: move more stuff closer together in contextDave Airlie2009-01-141-3/+3
| |
* | radeon/r200: start splitting out commonalities into separate headersDave Airlie2009-01-131-14/+14
|/
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-7/+7
| | | | Makefile.template
* r200: fix state submission issue causing bogus textures (bug 15730)Ove Kaaven2008-04-291-0/+6
|