Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-02 | mesa: raise max texture sizes to 16K | Brian Paul | |
This allows 16K x 16K 2D textures, for example, but we don't want to allow that for 3D textures. The new gl_constants::MaxTextureMBytes field is used to prevent allocating too large of texture image. This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3. Drivers can override this limit. The default is currently 1GB. Apps should use the proxy texture mechanism to determine the actual max texture size. | |||
2010-11-21 | mesa: fix get_texture_dimensions() for texture array targets | Brian Paul | |
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779 | |||
2010-11-18 | mesa: pass gl_format to _mesa_init_teximage_fields() | Brian Paul | |
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. | |||
2010-11-16 | mesa: reorder texture_error_check() params | Brian Paul | |
To better match other functions. | |||
2010-11-16 | mesa: 80-column wrapping | Brian Paul | |
2010-11-12 | mesa: consolidate assertions in teximage code | Brian Paul | |
2010-10-26 | mesa: rename function to _mesa_is_format_integer_color() | Brian Paul | |
Be a bit more clear about its operation. | |||
2010-10-25 | mesa: additional teximage error checks for GL_EXT_texture_integer | Brian Paul | |
2010-10-23 | mesa: simplify target_can_be_compressed() function | Brian Paul | |
2010-10-14 | mesa: remove post-convolution width/height vars | Brian Paul | |
These were left-over bits from when convolution was removed. | |||
2010-10-13 | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | |
2010-10-01 | mesa: Add ARB_texture_compression_rgtc as an alias for ↵ | Ian Romanick | |
EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT). | |||
2010-10-01 | ARB_texture_rg: Correct some errors in RED / RG internal format handling | Ian Romanick | |
Fixes several problems: The half-float, float, and integer internal formats depend on ARB_texture_rg and other extensions. RG_INTEGER is not a valid internal format. Generic compressed formats depend on ARB_texture_rg, not EXT_texture_compression_rgtc. Use GL_RED instead of GL_R. | |||
2010-09-23 | mesa: Remove EXT_convolution. | Eric Anholt | |
More optional code. | |||
2010-09-02 | mesa: Fix printf-like warnings. | Vinson Lee | |
2010-07-20 | mesa: call ctx->Driver.ChooseTextureFormat() only when necessary. | Brian Paul | |
When defining mipmap level 'L' and level L-1 exists and the new level's internalFormat matches level L-1's internalFormat, then use the same hw format. Otherwise, do the regular ctx->Driver.ChooseTextureFormat() call. This avoids a problem where we end up choosing different hw formats for different mipmap levels depending on how the levels are defined (glTexImage vs. glCopyTexImage vs. glGenerateMipmap, etc). The root problem is the ChooseTextureFormat() implementation in some drivers uses the user's glTexImage format/type parameters in the choosing heuristic. Later mipmap levels might be generated with different calls (ex: glCopyTexImage()) so we don't always have format/type info and the driver may choose a different format. For more background info see the July 2010 mesa-dev thread "Bug in _mesa_meta_GenerateMipmap" | |||
2010-07-15 | mesa: Add error path in compressed_texture_error_check. | Vinson Lee | |
Add error path for unhandled dimensions in compressed_texture_error_check. | |||
2010-07-07 | mesa: initial support for new GL 3.0 texture formats | Brian Paul | |
2010-07-05 | mesa: initial support for unnormalized integer texture formats | Brian Paul | |
As defined by GL_EXT_texture_integer. | |||
2010-05-11 | mesa: fix error message strings | Brian Paul | |
2010-05-02 | Merge branch 'gles2-2' | Kristian Høgsberg | |
Conflicts: src/mesa/drivers/dri/common/dri_util.h | |||
2010-05-02 | mesa: s/sprintf/_mesa_snprintf/ | Vinson Lee | |
2010-04-28 | mesa: Move support for paletted textures to main/teximage.c | Kristian Høgsberg | |
2010-04-23 | mesa: make is_compressed_format() non-static | Brian Paul | |
2010-04-23 | mesa: faster, simpler is_compressed_format() | Brian Paul | |
2010-04-15 | mesa: Add missing format specifiers in error strings. | Vinson Lee | |
2010-04-06 | mesa: Add OES_EGL_image to extension list. | Chia-I Wu | |
2010-02-24 | mesa: Fix SCons build. | Vinson Lee | |
2010-02-24 | core: Implement GL_OES_EGL_image entry points | Kristian Høgsberg | |
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-01-27 | mesa: fix int/uint comparison warnings | Brian Paul | |
Reported by Karl Schultz. | |||
2010-01-17 | mesa: Remove unnecessary header from teximage.c. | Vinson Lee | |
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. |