Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-04 | st/mesa: return success/fail from guess_and_alloc_texture() | Brian Paul | |
Before we looked at stObj->pt to see if we may have run out of memory, but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY errors that could arise before. | |||
2010-05-04 | st/mesa: improved st_texture_image_copy() | Brian Paul | |
No longer need to search for the src mipmap level. Added assertions. Updated comments. Moved debug code into separate function. | |||
2010-05-04 | mesa/st: Fill in native program limits. | José Fonseca | |
In the lack of more fine grained capabilities in Gallium, assume that if the pipe driver supports GLSL then native limits match Mesa software limits. (cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c) | |||
2010-05-03 | gallium: move surface utility functions into u_surface.c | Brian Paul | |
This is a better place than in u_rect.c | |||
2010-05-03 | st/mesa: remove dead code | Brian Paul | |
2010-05-03 | st/mesa: remove unused needFlush parameter to st_finalize_texture() | Brian Paul | |
2010-05-03 | st/mesa: updated comments and fix some formatting in texture storage code | Brian Paul | |
2010-05-03 | st/mesa: rename srcImageStride -> srcRowStride and fix-up formatting | Brian Paul | |
2010-05-03 | st/mesa: consolidate and clean-up texture memory allocation code | Brian Paul | |
2010-05-03 | st/mesa: updated comments for st_texture_image_map() | Brian Paul | |
2010-05-03 | st/mesa: move some texture size calculation code | Brian Paul | |
2010-05-03 | st/mesa: remove old convolution-related vars and min pitch code | Brian Paul | |
2010-05-03 | st/mesa: remove unsupported convolution code | Brian Paul | |
2010-05-03 | st/mesa: updated comment | Brian Paul | |
2010-05-03 | st/mesa: remove dead code | Brian Paul | |
2010-05-03 | st/mesa: restore original last_layer comparison | Brian Paul | |
Commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 changed the original less-than test to a not-equal test. This was an effort to save some memory by switching the texture layout to a non-mipmapped layout when we mis-guessed about the original layout (thus saving some memory). However, this causes us to hit a new (apparently broken) code path when copying the old texture's data to the new texture. Simply undo this change for the time being until the other/new bug is fixed. Fixes fd.o bug 27933. | |||
2010-05-02 | Merge branch 'gles2-2' | Kristian Høgsberg | |
Conflicts: src/mesa/drivers/dri/common/dri_util.h | |||
2010-05-02 | st/mesa: Create context for API_OPENGL as first priority | Kristian Høgsberg | |
2010-04-28 | st/mesa: Move st_cb_drawtex.c to the mesa state tracker | Kristian Høgsberg | |
2010-04-22 | st/mesa: Use API-aware context constructor | Kristian Høgsberg | |
The mesa state tracker is currently the only place where we create a context and expect it to implement GLES1/2. Use the API-aware constructor to communicate this to core mesa. | |||
2010-04-21 | mesa/st: Translate a few more mesa/gallium formats. | José Fonseca | |
These endup used by Xvnc. | |||
2010-04-30 | st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures | Brian Paul | |
Previously, when we created a gallium texture for a corresponding Mesa texture we'd only allocate space for mipmap levels >= BaseLevel. This patch undoes that mechanism. This fixes a render-to-texture bug when rendering to level 0 when BaseLevel=1. Also, it makes sense to allocate the whole texture object memory when BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to progressively load/render mipmaps. Eventually, the app almost always fills in the level=0 mipmap image. Finally, the texture image code is bit easier to understand now. | |||
2010-04-29 | st/mesa: remove unused/disabled code | Brian Paul | |
2010-04-20 | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | |
2010-04-20 | Merge branch 'gallium-index-bias' | José Fonseca | |
2010-04-28 | st/mesa: move/improve Mesa GPU program debugging | Brian Paul | |
Print the program (plus its parameters) before calling st_translate_mesa_program() in case we die in that function. | |||
2010-04-28 | st/mesa: add missing debug entry for DEBUG_CONSTANTS | Brian Paul | |
2010-04-28 | Merge branch '7.8' | Brian Paul | |
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c | |||
2010-04-28 | st/mesa: fix incorrect RowStride computation | Brian Paul | |
Fixes incorrect stride when getting a compressed tex image. | |||
2010-04-28 | st/mesa: fill in stImage->level in st_generate_mipmap() | Brian Paul | |
Before, this field was always zero for all the new mipmap levels. Fixes problems with glGetTexImage() from a generated mipmap. | |||
2010-04-27 | mesa: move/rename is_depth_or_stencil_format() | Brian Paul | |
Put it with other, similar functions. | |||
2010-04-27 | st/mesa: rename var and update st_choose_format() comments | Brian Paul | |
2010-04-27 | st/mesa: call is_format_supported() for compressed formats | Brian Paul | |
These compressed format switch cases shouldn't be hit if we don't support the compressed texture extensions, but let's be safe and ask the driver if they're supported as we do in other cases. | |||
2010-04-27 | st/mesa: 80-column wrapping | Brian Paul | |
2010-04-27 | st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formats | Brian Paul | |
2010-04-27 | st/mesa: fix strides in (de)compress_image() functions | Brian Paul | |
Mipmap generation for compressed textures works now. | |||
2010-04-26 | st_api: Remove st_module | Jakob Bornecrantz | |
The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API. | |||
2010-04-23 | st/mesa: checkpoint WIP: mipmap generation for compressed textures | Brian Paul | |
Something is wrong with the images strides when compressing/decompressing images... | |||
2010-04-23 | st/mesa: minor improvements in fallback_generate_mipmap() | Brian Paul | |
2010-04-23 | st/mesa: remove unneeded #includes and add/update comments | Brian Paul | |
2010-04-23 | st/mesa: clean-up: use st_context() everywhere | Brian Paul | |
2010-04-23 | st/mesa: re-do binding flags in st_ChooseTextureFormat(), again | Brian Paul | |
Try to specify render target bindings flags first. If that fails, try again with just sampler view binding. Note that we try to create the texture resource with render target binding flags later when we allocate the texture. Then, in FBO validation, we check if we can actually render to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT. Changes suggested by Jose. | |||
2010-04-23 | st/mesa: replace 'usage' with 'bindings' | Brian Paul | |
2010-04-23 | st/mesa: replace 'usage' with 'bindings' to be consistent | Brian Paul | |
Plus, update comments and formatting. | |||
2010-04-23 | st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures | Brian Paul | |
2010-04-23 | st/mesa: get rid of default_deep_rgba_format() | Brian Paul | |
This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago. | |||
2010-04-23 | mesa/st: Remove dead members. | José Fonseca | |
2010-04-22 | st/mesa: assert that binding flags are properly set for drawing surfaces | Brian Paul | |
2010-04-22 | st/mesa: fix binding flags in st_ChooseTextureFormat() | Brian Paul | |
See comment for more info. | |||
2010-04-22 | st/mesa: consolidate code for finding supported formats | Brian Paul | |