Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa/st: add missing _mesa_set_fetch_functions in st_get_tex_image | Luca Barbieri | 2010-09-04 | 1 | -0/+2 |
| | | | | Fixes piglit fdo25614-genmipmap. | ||||
* | st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING | Brian Paul | 2010-09-02 | 1 | -0/+1 |
| | | | | | Don't try to use more generic varying vars than core Mesa supports. Fixes fd.o bug 29959. | ||||
* | mesa/st: remove check for buffer/elements = 0 | Dave Airlie | 2010-09-02 | 1 | -3/+0 |
| | | | | | | shown by the glsl-vs-point-size failing on r600g. the test passes on softpipe and I get a full piglit test run completing on r600g. | ||||
* | st/mesa: set the MaxVarying GLSL constant | Marek Olšák | 2010-08-30 | 1 | -0/+7 |
| | |||||
* | st/mesa: Include missing header in st_mesa_to_tgsi.c. | Vinson Lee | 2010-08-28 | 1 | -1/+2 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-08-26 | 1 | -1/+0 |
| | |||||
* | st/mesa: add missing packed depth/stencil formats in st_format_datatype() | Brian Paul | 2010-08-26 | 1 | -1/+3 |
| | | | | Fixes llvmpipe regression from one of the prev commits. | ||||
* | st/mesa: Fix glEGLImageTargetTexture2DOES. | Chia-I Wu | 2010-08-26 | 2 | -1/+10 |
| | | | | | | | stObj->pt should be set in st_bind_surface, just as in st_TexImage. On the other hand, st_TexImage should unreference stObj->pt. It also needs to initialize the texture image again as _mesa_clear_texture_object clears the image. | ||||
* | st/mesa: Add support for surfaceless current contexts. | Chia-I Wu | 2010-08-26 | 1 | -4/+27 |
| | | | | | A surfaceless current context is a context that is made current without draw and read framebuffers. Such contexts can only render to FBOs. | ||||
* | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| | |||||
* | gallium: Use draw_set_index_buffer and others. | Chia-I Wu | 2010-08-25 | 1 | -20/+26 |
| | | | | | | Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range. | ||||
* | st/mesa: implement depth-only blit for BlitFramebuffer | Marek Olšák | 2010-08-22 | 1 | -2/+7 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | st/mesa: fix BlitFramebuffer for D24S8 textures | Marek Olšák | 2010-08-22 | 1 | -21/+17 |
| | | | | | | | | | This is the same issue as in the previous patch, but here the Blit is not implemented for separate depth and stencil buffers at all (such a configuration is not supported in Gallium) and the code incorrectly treated a D24S8 texture as two separate buffers, making this Blit a no-op. Signed-off-by: Brian Paul <[email protected]> | ||||
* | st/mesa: added st_is_depth_stencil_combined() function | Brian Paul | 2010-08-22 | 2 | -0/+29 |
| | | | | This code is part of a patch by Marek Olšák. | ||||
* | st/mesa: fix ReadPixels crashes when reading depth/stencil from a FBO | Brian Paul | 2010-08-22 | 1 | -0/+7 |
| | | | | | | This is based on a patch from Marek Olšák. NOTE: This is a candidate for the Mesa 7.8 branch. | ||||
* | st/mesa: clean-up pipe_get_transfer() calls | Brian Paul | 2010-08-22 | 1 | -12/+12 |
| | |||||
* | mesa: Removed another unused variable. | José Fonseca | 2010-08-22 | 1 | -1/+0 |
| | |||||
* | mesa: Remove unsused local variable. | José Fonseca | 2010-08-21 | 1 | -1/+0 |
| | |||||
* | mesa: Include compiler.h for ASSERT. | Chia-I Wu | 2010-08-20 | 1 | -0/+2 |
| | | | | | mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in compiler.h. Header files using the macro should include compiler.h. | ||||
* | st/mesa: fix code/declaration mixing | Keith Whitwell | 2010-08-20 | 1 | -3/+2 |
| | |||||
* | mesa/st: use PIPE_TEXTURE_RECT for GL_TEXTURE_RECTANGLE | Luca Barbieri | 2010-08-20 | 2 | -3/+5 |
| | |||||
* | mesa/st: support using PIPE_TEXTURE_RECT internally | Luca Barbieri | 2010-08-20 | 5 | -43/+32 |
| | | | | | | | | | | Currently Gallium internals always use PIPE_TEXTURE_2D and normalized coordinates to access textures. However, PIPE_TEXTURE_2D is not always supported for NPOT textures, and PIPE_TEXTURE_RECT requires unnormalized coordinates. Hence, this change adds support for both kinds of normalization. | ||||
* | gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too | Luca Barbieri | 2010-08-20 | 1 | -1/+1 |
| | | | | | | | Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed. | ||||
* | Merge branch 'glsl2' | Ian Romanick | 2010-08-16 | 1 | -0/+8 |
|\ | | | | | | | | | Conflicts: src/mesa/program/prog_optimize.c | ||||
| * | st/mesa: remove output register reads inside shaders | Marek Olšák | 2010-08-16 | 1 | -0/+8 |
| | | | | | | | | This is a GLSL2 regression fix. | ||||
* | | st/mesa: test for FEATURE defines | nobled | 2010-08-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | 'struct dd_function_table' only conditionally contains the function pointer NewFramebuffer and friends based on FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h) Fixes the build when the features are disabled and the vfuncs don't exist. | ||||
* | | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-08-06 | 1 | -1/+0 |
| | | |||||
* | | st/mesa: remove stray semicolons | Brian Paul | 2010-08-06 | 2 | -2/+2 |
|/ | |||||
* | st/mesa: Clean up header file inclusion in st_program.h. | Vinson Lee | 2010-08-05 | 3 | -5/+4 |
| | | | | | | | | | | | | st_program.h Remove p_shader_tokens.h Include st_context.h for st_context symbol. Include p_state.h for PIPE_MAX_SHADER_INPUTS symbol. Remove unnecessary forward declarations. st_cb_bitmap.c st_cb_clear.c Include p_shader_tokens.h now that st_program.h doesn't include it. | ||||
* | st/mesa: Only get debug option once | Jakob Bornecrantz | 2010-08-05 | 1 | -1/+3 |
| | |||||
* | st/mesa: Only get mesa mvp dp4 option once | Jakob Bornecrantz | 2010-08-05 | 1 | -1/+4 |
| | | | | The correct for this is of course to do what comment says | ||||
* | st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h. | Vinson Lee | 2010-08-05 | 2 | -1/+4 |
| | | | | | | | | | st_mesa_to_tgsi.h Replace tgsi_ureg.h with a forward declaration. Include p_compiler.h for ubyte symbol. st_program.c Include tgsi_ureg.h directly. | ||||
* | st/mesa: Clean up header file inclusion in st_manager.h. | Vinson Lee | 2010-08-05 | 2 | -2/+6 |
| | | | | | | | | Include mtypes.h for GLcontext, gl_buffer_index, and GLframebuffer symbols. Include p_compiler.h for boolean symbol. Include st_context.h in st_cb_eglimage.c as it previously included st_context.h indirectly through st_manager.h. | ||||
* | st/mesa: Remove unnecessary header from st_gl_api.h. | Vinson Lee | 2010-08-05 | 1 | -2/+0 |
| | |||||
* | mesa: Include missing header in st_get_mipmap.h. | Vinson Lee | 2010-08-05 | 1 | -0/+4 |
| | | | | | Include mtypes.h for GLcontext symbol. Add forward declaration for st_context. | ||||
* | st/mesa: Include missing headers in st_format.h. | Vinson Lee | 2010-08-05 | 1 | -0/+5 |
| | |||||
* | st/mesa: Add forward delcaration in st_extensions.h. | Vinson Lee | 2010-08-05 | 1 | -0/+2 |
| | |||||
* | st/mesa: Add missing headers to st_draw.h. | Vinson Lee | 2010-08-05 | 1 | -1/+6 |
| | |||||
* | st/mesa: Add missing header in st_context.c. | Vinson Lee | 2010-08-04 | 1 | -0/+1 |
| | |||||
* | st/mesa: Add missing header in st_atom_pixeltransfer.c. | Vinson Lee | 2010-08-04 | 1 | -0/+1 |
| | |||||
* | st/mesa: Clean up header file inclusion in st_context.h. | Vinson Lee | 2010-08-04 | 1 | -9/+6 |
| | |||||
* | st/mesa: Add missing header in st_cb_xformfb.h. | Vinson Lee | 2010-08-04 | 1 | -0/+4 |
| | |||||
* | st/mesa: Clean up st_cb_viewport.h. | Vinson Lee | 2010-08-04 | 1 | -0/+7 |
| | | | | | Add inclusion guard. Add forward declaration. | ||||
* | st/mesa: Add missing headers in st_cb_texture.h. | Vinson Lee | 2010-08-04 | 1 | -0/+7 |
| | |||||
* | st/mesa: Add forward declaration in st_cb_strings.h. | Vinson Lee | 2010-08-04 | 1 | -0/+2 |
| | |||||
* | st/mesa: Add missing header in st_cb_readpixels.h. | Vinson Lee | 2010-08-04 | 1 | -0/+4 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | st/mesa: Clean up header file inclusion in st_cb_rasterpos.h. | Vinson Lee | 2010-08-04 | 1 | -1/+3 |
| | |||||
* | st/mesa: Add missing header in st_cb_program.h. | Vinson Lee | 2010-08-04 | 1 | -0/+4 |
| | | | | Include mtypes.h for GLcontext symbol. | ||||
* | st/mesa: Add missing headers in st_cb_flush.h. | Vinson Lee | 2010-08-04 | 1 | -0/+6 |
| | | | | | Add forward declarations. Include p_compiler.h for uint symbol. | ||||
* | st/mesa: Clean up header inclusion in st_cb_feedback.h. | Vinson Lee | 2010-08-04 | 1 | -1/+3 |
| | | | | | Replace mtypes.h with forward declaration. Include compiler.h for INLINE symbol. |