summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-09-30Merge remote branch 'origin/gallium-0.2' into gallium-0.2Ben Skeggs
2008-09-26st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane
2008-09-26st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane
the width & height of the fb
2008-09-26mesa: fix incorrect parameter orderBrian Paul
2008-09-26mesa: remove const qualifiers to match device driver interface functionBrian Paul
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-26mesa: add some bracesBrian Paul
2008-09-26mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul
Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
2008-09-26mesa: increase MAX_INSTRUCTIONSBrian Paul
2008-09-26mesa: fix swizzle failure, fix typoBrian Paul
2008-09-26mesa: fix default buffer object access valueBrian Paul
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-09-26mesa: fix indentingKeith Whitwell
2008-09-26dri: remove unused files present only on gallium-0.2 branchKeith Whitwell
2008-09-26Merge commit 'origin/master' into HEADKeith Whitwell
Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
2008-09-25mesa: fix cast/conversion for optional codeBrian
2008-09-25mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback.Brian Paul
2008-09-25mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)Brian Paul
2008-09-25mesa: fix some VBO buffer object issuesBrian Paul
The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
2008-09-25mesa: fix function params to match prototypesSam Hocevar
2008-09-25mesa: prevent the slang code generator from aborting when faced with a ↵Sam Hocevar
sampler variable redeclaration.
2008-09-25i965: support for sin() and cos() in vertex shaders.Sam Hocevar
2008-09-25i965: more meaningful message for unsupported opcodes.Sam Hocevar
2008-09-24intel: Fix clears to depth_stencil texture attachments.Eric Anholt
Broken by 0adfd1021035e90995a25ec5f20b736e55075d92, showed up as an assertion failure in a software fallback in the shadowtex demo when we failed to recognize the texture format.
2008-09-24set SamplerUnit[] entry in load_texture() just to be safeBrian
(cherry picked from commit fce4612f8a29ee1798c9326a431a139d856c7a04)
2008-09-24use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian
immediates/literals (cherry picked from commit fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8)
2008-09-24set program->SamplersUsed bit when using a texture instructionBrian
2008-09-24Remove ctx field from texenvprog_cacheBrian
2008-09-24include programopt.hBrian
(cherry picked from commit 83fad68ec1989c719646a76f4cc5e0b3d23537ed)
2008-09-24Disable vertex shader fog, compute fog in fragment shader.Brian
2008-09-24temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabledBrian
(cherry picked from commit 63be96bdc7e9f388a5c49295bd7e150462fd003a)
2008-09-23mesa: fix main/ prefix in includeKeith Whitwell
2008-09-23vbo: unmap and remap immediate vbo before/after each draw.Keith Whitwell
Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
2008-09-23added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian
put into bufferobjects
2008-09-23vbo: seed initial max_element value with a more likely candidateKeith Whitwell
(cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843)
2008-09-23mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/Brian Paul
(cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80)
2008-09-23mesa: glsl: fix glGetUniform for matrix queriesBrian Paul
(cherry picked from commit 7a6eba54d064cadf15f93df2c1748cf5e474ef03)
2008-09-23mesa: glsl: fix a number of glUniform issuesBrian Paul
Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1.
2008-09-23mesa: glsl: fix error check in get_uniformfv()Brian Paul
(cherry picked from commit 18cd9c229a1fc8da8b7669b8d1d100f6bbeca183)
2008-09-23Merge commit 'origin/master' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/main/drawpix.c src/mesa/shader/prog_uniform.c src/mesa/shader/slang/slang_link.c
2008-09-23Merge commit 'origin/master' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/glapi/glapi_getproc.c src/mesa/main/image.c src/mesa/shader/slang/slang_link.c
2008-09-23mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-09-23mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()Brian Paul
2008-09-23mesa: add fwd decl of fill_in_entrypoint_offset()Brian Paul
(cherry picked from commit b1eff0228b7199920c02e62446ebf5496c298814)
2008-09-23mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵Brian Paul
point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820)
2008-09-23Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵Brian
the drivers. This should probably be pulled into main-line Mesa... (cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21)
2008-09-23mesa: refactor: move GetProcAddress code from glapi.c into new ↵Brian Paul
glapi_getproc.c file
2008-09-23Merge commit 'origin/master' into gallium-0.2Keith Whitwell
2008-09-23i965: Cope with batch getting flushed in the middle of batchbuffer emits.Eric Anholt
This isn't required for GEM (at least, yet), but the check_aperture code for non-GEM results in batch getting flushed during emit. brw_state_upload restarts state emits, but a bunch of the state emit functions were assuming that they would be called exactly once, after prepare and before new_batch. Bug #17179.
2008-09-23remove leftover merge conflict markersKeith Whitwell