Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-16 | mesa: added another check in check_gen_mipmap() | Brian Paul | |
We don't need to call ctx->Driver.GenerateMipmap() if we're updating a texture level >= MAX_LEVEL. | |||
2009-11-02 | mesa: make _mesa_get_current_tex_objec() public | Brian Paul | |
2009-10-30 | mesa: better error message | Brian Paul | |
2009-10-29 | mesa: move, clean-up _mesa_print_texture() | Brian Paul | |
2009-10-29 | mesa: fix some tests in subtexture_error_check2() | Brian Paul | |
Don't use hard-coded compressed block sizes. Update comments and error strings. | |||
2009-10-28 | Merge branch 'texformat-rework' | Brian Paul | |
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 | |||
2009-10-27 | mesa: consolidate _mesa_CompressedTexSubImage[123]DARB() functions | Brian Paul | |
2009-10-27 | mesa: consolidate CompressedTexSubImage1/2/3DARB() error checking | Brian Paul | |
2009-10-27 | mesa: simplify teximage code with get_current_tex_object() | Brian Paul | |
2009-10-25 | mesa: choose texture format in core mesa, not drivers | Brian Paul | |
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. | |||
2009-10-25 | mesa: fix-up error checking related to compressed texture block size | Brian Paul | |
2009-10-25 | mesa: clean-up, simplify compressed texture size checking | Brian Paul | |
2009-10-05 | mesa: don't include texformat.h | Brian Paul | |
2009-10-05 | mesa: lift _mesa_set_fetch_functions() calls out of drivers | Brian Paul | |
Call it from in the main Mesa glTexImage functions. | |||
2009-10-01 | mesa: removed gl_texture_image::CompressedSize field | Brian Paul | |
Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size. | |||
2009-10-01 | mesa: remove gl_texture_image::IsCompressed field | Brian Paul | |
Use _mesa_is_format_compressed() instead. | |||
2009-09-30 | mesa: replace gl_texture_format with gl_format | Brian Paul | |
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. | |||
2009-09-24 | mesa/main: Make FEATURE_convolve follow feature conventions. | Chia-I Wu | |
As shown in mfeatures.h, this allows users of convolve.h to work without knowing if the feature is available. | |||
2009-09-21 | mesa: add some debug info to teximage.c | Maciej Cencora | |
2009-09-15 | mesa: move generate mipmap calls | Brian Paul | |
Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it. | |||
2009-09-15 | mesa: remove last of gotos | Brian Paul | |
2009-09-15 | mesa: more goto removal | Brian Paul | |
2009-09-15 | mesa: remove some gotos | Brian Paul | |
This will make some subsequent changes easier... | |||
2009-08-13 | mesa: add extension checks in _mesa_max_texture_levels() | Brian Paul | |
2009-08-13 | mesa: use _mesa_get_current_tex_unit() in more places | Brian Paul | |
2009-08-13 | mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c | Brian Paul | |
2009-08-13 | mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c | Brian Paul | |
All the glGetTexImage code is in one file now. | |||
2009-08-12 | mesa: use _mesa_is_bufferobj() | Brian Paul | |
2009-08-05 | mesa/main: Add functions to clear and dirty texture objects. | Chia-I Wu | |
This commit adds a function to clear a texture object such that there is no image data associated with it, and a function to dirty it so that it will be re-tested for completeness. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-04 | mesa: more glGetTexImage() error checking consolidation, new assertion | Brian Paul | |
2009-07-30 | mesa: re-enable _mesa_source_buffer_exists() call | Brian Paul | |
Somehow this code wound up inside a comment a while back. | |||
2009-07-30 | mesa: get_current_tex_unit() helper function | Brian Paul | |
2009-07-30 | mesa: refactor glGetTexImage error checking code | Brian Paul | |
2009-07-30 | mesa: simplify _mesa_select_tex_image() | Brian Paul | |
2009-07-30 | mesa: simplify _mesa_set_tex_image() | Brian Paul | |
2009-06-19 | Always free image offsets memory when re-initializing texture image fields. | Michel Dänzer | |
Fixes leak running compiz with direct rendering. | |||
2009-05-01 | mesa: fix state validation bug for glCopyTex[Sub]Image() | Brian Paul | |
We need to make sure the framebuffer state is up to date to make sure we read pixels from the right buffer when doing a texture image copy. | |||
2009-03-28 | mesa: add new signed rgba texture format | Roland Scheidegger | |
This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own. | |||
2009-03-17 | mesa: update/fix doxygen comments | Vinson Lee | |
2009-03-12 | mesa: override_internal_format() function for debug/test purposes (disabled) | Brian Paul | |
2009-03-12 | mesa: improve some error messages | Brian Paul | |
2009-03-12 | mesa: add support for ATI_envmap_bumpmap | Roland Scheidegger | |
add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly) | |||
2009-02-21 | mesa: use an array for current texture objects | Brian Paul | |
Use loops to consolidate lots of texture object code. | |||
2009-02-10 | Merge commit 'origin/gallium-master-merge' | Brian Paul | |
This is the big merge of the gallium-0.2 branch into master. gallium-master-merge was just the staging area for it. Both gallium-0.2 and gallium-master-merge are considered closed now. Conflicts: progs/demos/Makefile src/mesa/main/state.c src/mesa/main/texenvprogram.c | |||
2009-02-10 | mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more ↵ | Brian Paul | |
consistant with other flags | |||
2009-02-09 | mesa: merge gallium-0.2 into gallium-master-merge | Brian Paul | |
Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c | |||
2009-02-04 | mesa: minor error msg improvement | Brian Paul | |
2009-01-30 | mesa: simplify the _mesa_get_proxy_tex_image() function | Brian Paul | |
2009-01-30 | mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D() | Brian Paul | |
Fixes failed assertion / segfault for particular proxy texture tests. | |||
2009-01-29 | mesa: fix a render to texture FBO validation bug | Brian Paul | |
When glTexImage() is called we need to re-validate any FBOs that point to the texture (i.e. render-to-texture) since changing the texture's size/format will effect FBO completeness. We don't keep a list of all FBOs rendering into each texture (which would be a bit messy) so we check all FBOs in existance. To optimize this, the gl_texture_object->_RenderToTexture flag is used to avoid checking textures that have never been used as renderbuffers. So, we only walk over all FBOs (there's usually only a few) when glTexImage() modifies a RTT texture. Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode. |