summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: set the MaxVarying GLSL constantMarek Olšák2010-08-301-0/+7
|
* st/mesa: Include missing header in st_mesa_to_tgsi.c.Vinson Lee2010-08-281-1/+2
| | | | Include p_screen.h for complete type to pipe_screen.
* st/mesa: Remove unnecessary header.Vinson Lee2010-08-261-1/+0
|
* st/mesa: add missing packed depth/stencil formats in st_format_datatype()Brian Paul2010-08-261-1/+3
| | | | Fixes llvmpipe regression from one of the prev commits.
* st/mesa: Fix glEGLImageTargetTexture2DOES.Chia-I Wu2010-08-262-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 Wu2010-08-261-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 Lee2010-08-251-1/+0
|
* gallium: Use draw_set_index_buffer and others.Chia-I Wu2010-08-251-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 BlitFramebufferMarek Olšák2010-08-221-2/+7
| | | | Signed-off-by: Brian Paul <[email protected]>
* st/mesa: fix BlitFramebuffer for D24S8 texturesMarek Olšák2010-08-221-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() functionBrian Paul2010-08-222-0/+29
| | | | This code is part of a patch by Marek Olšák.
* st/mesa: fix ReadPixels crashes when reading depth/stencil from a FBOBrian Paul2010-08-221-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() callsBrian Paul2010-08-221-12/+12
|
* mesa: Removed another unused variable.José Fonseca2010-08-221-1/+0
|
* mesa: Remove unsused local variable.José Fonseca2010-08-211-1/+0
|
* mesa: Include compiler.h for ASSERT.Chia-I Wu2010-08-201-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 mixingKeith Whitwell2010-08-201-3/+2
|
* mesa/st: use PIPE_TEXTURE_RECT for GL_TEXTURE_RECTANGLELuca Barbieri2010-08-202-3/+5
|
* mesa/st: support using PIPE_TEXTURE_RECT internallyLuca Barbieri2010-08-205-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 tooLuca Barbieri2010-08-201-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 Romanick2010-08-161-0/+8
|\ | | | | | | | | Conflicts: src/mesa/program/prog_optimize.c
| * st/mesa: remove output register reads inside shadersMarek Olšák2010-08-161-0/+8
| | | | | | | | This is a GLSL2 regression fix.
* | st/mesa: test for FEATURE definesnobled2010-08-161-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 Lee2010-08-061-1/+0
| |
* | st/mesa: remove stray semicolonsBrian Paul2010-08-062-2/+2
|/
* st/mesa: Clean up header file inclusion in st_program.h.Vinson Lee2010-08-053-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 onceJakob Bornecrantz2010-08-051-1/+3
|
* st/mesa: Only get mesa mvp dp4 option onceJakob Bornecrantz2010-08-051-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 Lee2010-08-052-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 Lee2010-08-052-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 Lee2010-08-051-2/+0
|
* mesa: Include missing header in st_get_mipmap.h.Vinson Lee2010-08-051-0/+4
| | | | | Include mtypes.h for GLcontext symbol. Add forward declaration for st_context.
* st/mesa: Include missing headers in st_format.h.Vinson Lee2010-08-051-0/+5
|
* st/mesa: Add forward delcaration in st_extensions.h.Vinson Lee2010-08-051-0/+2
|
* st/mesa: Add missing headers to st_draw.h.Vinson Lee2010-08-051-1/+6
|
* st/mesa: Add missing header in st_context.c.Vinson Lee2010-08-041-0/+1
|
* st/mesa: Add missing header in st_atom_pixeltransfer.c.Vinson Lee2010-08-041-0/+1
|
* st/mesa: Clean up header file inclusion in st_context.h.Vinson Lee2010-08-041-9/+6
|
* st/mesa: Add missing header in st_cb_xformfb.h.Vinson Lee2010-08-041-0/+4
|
* st/mesa: Clean up st_cb_viewport.h.Vinson Lee2010-08-041-0/+7
| | | | | Add inclusion guard. Add forward declaration.
* st/mesa: Add missing headers in st_cb_texture.h.Vinson Lee2010-08-041-0/+7
|
* st/mesa: Add forward declaration in st_cb_strings.h.Vinson Lee2010-08-041-0/+2
|
* st/mesa: Add missing header in st_cb_readpixels.h.Vinson Lee2010-08-041-0/+4
| | | | Include mtypes.h for GLcontext symbol.
* st/mesa: Clean up header file inclusion in st_cb_rasterpos.h.Vinson Lee2010-08-041-1/+3
|
* st/mesa: Add missing header in st_cb_program.h.Vinson Lee2010-08-041-0/+4
| | | | Include mtypes.h for GLcontext symbol.
* st/mesa: Add missing headers in st_cb_flush.h.Vinson Lee2010-08-041-0/+6
| | | | | Add forward declarations. Include p_compiler.h for uint symbol.
* st/mesa: Clean up header inclusion in st_cb_feedback.h.Vinson Lee2010-08-041-1/+3
| | | | | Replace mtypes.h with forward declaration. Include compiler.h for INLINE symbol.
* st/mesa: Add missing headers to st_cb_fbo.h.Vinson Lee2010-08-041-0/+9
|
* st/mesa: Clean up header file inclusion in st_cb_eglimage.h.Vinson Lee2010-08-041-2/+3
| | | | | Replace dd.h and mtypes.h with a forward declaration. Include compiler.h for INLINE symbol.
* st/mesa: Clean up header file inclusion in st_cb_drawtex.h.Vinson Lee2010-08-041-1/+4
| | | | | Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.