aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_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/+3
| | | | | | | | 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: drop border checkDave Airlie2011-12-051-5/+0
| | | | | | now that we strip borders off earlier. Signed-off-by: Dave Airlie <[email protected]>
* radeon: disable texobj state for 3d textureDave Airlie2011-11-111-0/+1
| | | | | | for 3d texture fallback, disable the texobj state. Signed-off-by : Dave Airlie <[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-1/+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.
* radeon: Remove set-but-unused log2depth variable.Eric Anholt2011-08-021-2/+1
| | | | r100 doesn't support 3D GL_EXT_texture3D.
* radeon: oops didn't need this logbase2 fnDave Airlie2011-01-191-15/+0
|
* radeon: calculate complete texture state inside TFP functionDave Airlie2011-01-191-3/+25
| | | | | | (really not sure why I'm doing this). This is a candidate for 7.9 and 7.10 branches.
* mesa: pass gl_format to _mesa_init_teximage_fields()Brian Paul2010-11-181-8/+10
| | | | | | | | | | | 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.
* radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2()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-5/+5
|
* 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.
* radeon/r200/r600: fix drivers for changes in ↵Alex Deucher2009-12-051-13/+2
| | | | 433f0a82f5a4696e6b0c4061f645485ec8079bb4
* r100: fix texture_from_pixmap and compiz.Dave Airlie2009-11-201-7/+10
| | | | | | | | r100 state emission has separate rect and non-rect states, if we are doing TFP for a TEXTURE_2D we shouldn't use the rect states as they won't get emitted properly. Signed-off-by: Dave Airlie <[email protected]>
* radeon: align for mipmap tree changesMaciej Cencora2009-11-171-13/+9
|
* radeon: add missing includeDave Airlie2009-10-311-0/+1
|
* radeon: use _mesa_get_current_tex_unitDave Airlie2009-10-311-1/+1
|
* 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.
* radeon: fix tx_table[] entryBrian Paul2009-10-011-1/+1
| | | | XXX need to still verify that the table entries are in correct order.
* mesa: remove gl_texture_image::IsCompressed fieldBrian Paul2009-10-011-1/+3
| | | | 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: oops remove debugging left on in previous patchDave Airlie2009-09-161-2/+0
|
* radeon: use txformat to decide to emit rect tex state.Dave Airlie2009-09-161-4/+8
| | | | This is more logical, and fixes a TFP issue.
* r100: Use shared debug code.Pauli Nieminen2009-08-311-4/+4
| | | | | | Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
* radeon: set texture in state properly.Dave Airlie2009-07-111-2/+4
| | | | make sure to turn off when no texture is used in hw
* 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
* 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: fix warningsDave Airlie2009-03-241-7/+0
|
* radeon/r200/r300: add support for new tfp interfaceDave Airlie2009-03-221-4/+16
| | | | also fixup old interface, gets rid of white boxes in compiz
* Merge remote branch 'main/master' into radeon-rewriteDave Airlie2009-03-201-12/+12
|\ | | | | | | | | | | | | | | | | 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-12/+12
| | | | | | | | 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: remove unused linesDave Airlie2009-03-101-3/+0
| |
* | radeon: use t->bo to figure out of settexbuffer override is in actionDave Airlie2009-03-051-1/+1
| |
* | radeon: settexbuffer supportDave Airlie2009-03-041-0/+111
| | | | | | | | This gets DRI2 compiz going
* | radeon/r200: drop dirty state from texture object + pp_txoffsetDave Airlie2009-02-171-9/+4
| | | | | | | | this is just more code cleanup for old dead code
* | radeon: fix not emitting texture state correctlyDave Airlie2009-02-171-0/+2
| | | | | | | | | | this is whole texture dirty bit is probably not needed with the current codebase, need to revisit
* | radeon: move YUV on first texunit check after hw state is setupDave Airlie2009-02-171-5/+4
| |
* | radeon: remove old cube codeDave Airlie2009-02-141-12/+1
| |
* | radeon/r200: fix set tex offset functionsDave Airlie2009-02-131-3/+1
| |
* | r100: remove debug codeDave Airlie2009-02-101-3/+0
| |