Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/mesa: move/improve Mesa GPU program debugging | Brian Paul | 2010-04-28 | 1 | -10/+11 |
| | | | | | Print the program (plus its parameters) before calling st_translate_mesa_program() in case we die in that function. | ||||
* | st/mesa: add missing debug entry for DEBUG_CONSTANTS | Brian Paul | 2010-04-28 | 1 | -0/+1 |
| | |||||
* | Merge branch '7.8' | Brian Paul | 2010-04-28 | 2 | -2/+7 |
|\ | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c | ||||
| * | st/mesa: fix incorrect RowStride computation | Brian Paul | 2010-04-28 | 1 | -1/+4 |
| | | | | | | | | Fixes incorrect stride when getting a compressed tex image. | ||||
| * | st/mesa: fill in stImage->level in st_generate_mipmap() | Brian Paul | 2010-04-28 | 1 | -1/+3 |
| | | | | | | | | | | Before, this field was always zero for all the new mipmap levels. Fixes problems with glGetTexImage() from a generated mipmap. | ||||
* | | mesa: move/rename is_depth_or_stencil_format() | Brian Paul | 2010-04-27 | 1 | -22/+1 |
| | | | | | | | | Put it with other, similar functions. | ||||
* | | st/mesa: rename var and update st_choose_format() comments | Brian Paul | 2010-04-27 | 1 | -47/+53 |
| | | |||||
* | | st/mesa: call is_format_supported() for compressed formats | Brian Paul | 2010-04-27 | 1 | -4/+20 |
| | | | | | | | | | | | | 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. | ||||
* | | st/mesa: 80-column wrapping | Brian Paul | 2010-04-27 | 1 | -14/+28 |
| | | |||||
* | | st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formats | Brian Paul | 2010-04-27 | 1 | -2/+20 |
| | | |||||
* | | st/mesa: fix strides in (de)compress_image() functions | Brian Paul | 2010-04-27 | 1 | -14/+2 |
| | | | | | | | | Mipmap generation for compressed textures works now. | ||||
* | | st_api: Remove st_module | Jakob Bornecrantz | 2010-04-26 | 2 | -18/+24 |
| | | | | | | | | | | | | 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. | ||||
* | | st/mesa: checkpoint WIP: mipmap generation for compressed textures | Brian Paul | 2010-04-23 | 1 | -10/+102 |
| | | | | | | | | | | Something is wrong with the images strides when compressing/decompressing images... | ||||
* | | st/mesa: minor improvements in fallback_generate_mipmap() | Brian Paul | 2010-04-23 | 1 | -10/+11 |
| | | |||||
* | | st/mesa: remove unneeded #includes and add/update comments | Brian Paul | 2010-04-23 | 1 | -9/+7 |
| | | |||||
* | | st/mesa: clean-up: use st_context() everywhere | Brian Paul | 2010-04-23 | 20 | -114/+138 |
| | | |||||
* | | st/mesa: re-do binding flags in st_ChooseTextureFormat(), again | Brian Paul | 2010-04-23 | 1 | -12/+17 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | st/mesa: replace 'usage' with 'bindings' | Brian Paul | 2010-04-23 | 1 | -12/+20 |
| | | |||||
* | | st/mesa: replace 'usage' with 'bindings' to be consistent | Brian Paul | 2010-04-23 | 1 | -10/+6 |
| | | | | | | | | Plus, update comments and formatting. | ||||
* | | st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures | Brian Paul | 2010-04-23 | 1 | -5/+7 |
| | | |||||
* | | st/mesa: get rid of default_deep_rgba_format() | Brian Paul | 2010-04-23 | 1 | -23/+1 |
| | | | | | | | | | | This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago. | ||||
* | | mesa/st: Remove dead members. | José Fonseca | 2010-04-23 | 1 | -1/+0 |
| | | |||||
* | | st/mesa: assert that binding flags are properly set for drawing surfaces | Brian Paul | 2010-04-22 | 1 | -0/+10 |
| | | |||||
* | | st/mesa: fix binding flags in st_ChooseTextureFormat() | Brian Paul | 2010-04-22 | 1 | -1/+14 |
| | | | | | | | | See comment for more info. | ||||
* | | st/mesa: consolidate code for finding supported formats | Brian Paul | 2010-04-22 | 1 | -92/+57 |
| | | |||||
* | | st/mesa: refactor depth/stencil format selection code | Brian Paul | 2010-04-22 | 1 | -12/+45 |
| | | |||||
* | | Merge branch '7.8' | Brian Paul | 2010-04-22 | 1 | -0/+4 |
|\| | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_format.c | ||||
| * | st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24 | Brian Paul | 2010-04-22 | 1 | -0/+4 |
| | | |||||
* | | mesa/st: Translate a few more mesa/gallium formats. | José Fonseca | 2010-04-21 | 2 | -5/+17 |
| | | | | | | | | These endup used by Xvnc. | ||||
* | | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 2 | -7/+7 |
|\ \ | |||||
| * | | mesa/st: Update for index bias interface change. | José Fonseca | 2010-04-19 | 2 | -7/+7 |
| | | | |||||
* | | | Merge branch '7.8' | Jesse Barnes | 2010-04-19 | 1 | -5/+8 |
|\ \ \ | | |/ | |/| | |||||
| * | | st/mesa: invert scissor rect depending on FB orientation | Brian Paul | 2010-04-19 | 1 | -5/+8 |
| | | | | | | | | | | | | Fixes fd.o bug 27715 | ||||
* | | | Merge branch '7.8' | Brian Paul | 2010-04-19 | 2 | -2/+2 |
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c | ||||
| * | | gallium/draw: use correct rasterization state for wide/AA points/lines | Brian Paul | 2010-04-19 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution. | ||||
* | | | st/mesa: s/st_get_stobj_texture/st_get_stobj_resource/ | Brian Paul | 2010-04-18 | 1 | -1/+1 |
| | | | |||||
* | | | st/mesa: s/st_get_texobj_texture/st_get_texobj_resource/ | Brian Paul | 2010-04-18 | 3 | -4/+4 |
| | | | |||||
* | | | st/mesa: remove st_texture_object::pipe field | Brian Paul | 2010-04-18 | 8 | -14/+15 |
| | | | | | | | | | | | | | | | Just pass the pipe context to st_get_texture_sampler_view() as is done for st_get_renderbuffer_sampler_view(). | ||||
* | | | st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/ | Brian Paul | 2010-04-18 | 4 | -5/+5 |
| | | | |||||
* | | | st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/ | Brian Paul | 2010-04-18 | 5 | -9/+9 |
| | | | |||||
* | | | st/mesa: s/st_get_stobj_sampler_view/st_get_texture_sampler_view/ | Brian Paul | 2010-04-18 | 6 | -6/+6 |
| |/ |/| | |||||
* | | st/mesa: add prototype for st_bufferobj_validate_usage() | Brian Paul | 2010-04-16 | 1 | -0/+6 |
| | | |||||
* | | st/mesa: Remove NULL check of pointer that could not be NULL. | Vinson Lee | 2010-04-16 | 1 | -4/+3 |
| | | | | | | | | | | cbuf has been dereferenced twice earlier in the same if-block. It is either not NULL or a crash has already occurred. | ||||
* | | st/mesa: Move dereference and assignment to after NULL check. | Vinson Lee | 2010-04-15 | 1 | -1/+2 |
| | | |||||
* | | st/mesa: Remove unnecessary headers. | Vinson Lee | 2010-04-14 | 1 | -3/+0 |
| | | |||||
* | | st/mesa: put ATI_texture_mirror_once in the right place | Marek Olšák | 2010-04-14 | 1 | -2/+1 |
| | | |||||
* | | st/mesa: trivially enable ATI_texture_mirror_once | Marek Olšák | 2010-04-14 | 1 | -0/+2 |
| | | | | | | | | | | This is a strict subset of already-advertised EXT_texture_mirror_clamp and shares the same enumerants. | ||||
* | | st/mesa: Drop st_public support. | Chia-I Wu | 2010-04-13 | 15 | -1017/+22 |
| | | | | | | | | There is no user of st_public now. | ||||
* | | st/mesa: half float vertex support (unexposed) | Luca Barbieri | 2010-04-12 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was proposed by Marek Olšák and no one objected, so just pushing it. The extension is currently not exposed, because the mechanism to discover if the driver actually supports this is missing. We probably should change is_format_supported to handle this too. This will allow to test Gallium drivers anyway in the meantime. Based on work by Dave Airlie. Changes by me: 1. Fix assertion in st 2. Change to use unpadded Gallium formats |