summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* st/mesa: Clean up header file inclusion in st_cb_drawpixels.h.Vinson Lee2010-08-041-1/+4
| | | | | Replace mtypes.h with forward declarations. Include compiler.h for INLINE symbol.
* st/mesa: Add forward declaration in st_cb_condrender.h.Vinson Lee2010-08-041-0/+2
|
* st/mesa: Add forward declarations in st_cb_clear.h.Vinson Lee2010-08-041-0/+3
|
* st/mesa: Include missing headers in st_cb_bufferobjects.h.Vinson Lee2010-08-041-2/+5
| | | | | Include compiler.h for INLINE symbol. Include mtypes.h for gl_buffer_object symbol.
* st/mesa: Clean up header file inclusion in st_cb_blit.h.Vinson Lee2010-08-041-2/+4
| | | | | Replaced mtypes.h and st_context.h with forward declarations. Added compiler.h for INLINE symbol.
* st/mesa: Clean up header file inclusion in st_cb_bitmap.h.Vinson Lee2010-08-041-1/+4
| | | | | | Removed mtypes.h. Include compiler.h for INLINE symbol. Added forward declarations.
* st/mesa: Clean up header file inclusion in st_cache.h.Vinson Lee2010-08-031-2/+3
|
* st/mesa: Add forward declarations in st_atom_shader.h.Vinson Lee2010-08-031-0/+3
|
* st/mesa: Add forward declarations in st_atom_constbuf.h.Vinson Lee2010-08-031-0/+3
|
* st/mesa: Include glheader.h in st_atom.h.Vinson Lee2010-08-031-0/+2
| | | | Include glheader.h for GLenum symbol.
* mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee2010-07-314-4/+8
| | | | | | | mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
* st/mesa: better handling of indirect addressing of temp/const register filesBrian Paul2010-07-301-4/+24
| | | | | | | | With gl_program::IndirectRegisterFiles we can distinguish between indirect addressing of constants vs. temporaries. In the case of temporaries, declare all temps up front sequentially. Fixes fd.o bug 29305.
* mesa: Remove unnecessary headers.Vinson Lee2010-07-301-1/+0
|
* gallium: Use unified pipe_context::draw_vbo.Chia-I Wu2010-07-291-100/+69
| | | | Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
* st/mesa: get rid of unneeded ureg_writemask()Brian Paul2010-07-231-3/+2
|