Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-06 | Merge branch 'mesa_7_6_branch' | Ian Romanick | |
This should fix the memory leaks in the assembly parser without the regressions. The conflicts in program_lexer.l were related to changes in returning strings between the branches (always return IDENTIFIER vs. returing either IDENTIFIER or USED_IDENTIFIER). The conflicts in program_parse.y were related to two changes in master One change prints a variable name in an error message. The other change adds outputVarSize to the OUTPUT_statement rule. The cause the position of the IDENTIFIER to change from $2 to $3. Conflicts: src/mesa/shader/lex.yy.c src/mesa/shader/program_lexer.l src/mesa/shader/program_parse.tab.c src/mesa/shader/program_parse.y | |||
2009-11-06 | ARB prog parser: Regenerate parser from previous commits. | Ian Romanick | |
2009-11-06 | ARB prog parser: Release old program string in ↵ | Ian Romanick | |
_mesa_parse_arb_{fragment,vertex}_program The program structure passed to _mesa_parse_arb_program is just a place holder. The stings that actually need to be released are only known to the functions calling _mesa_parse_arb_program, so they should be freed there. | |||
2009-11-06 | ARB prog parser: Release strings returned from the lexer that don't need to ↵ | Ian Romanick | |
be kept | |||
2009-11-06 | Revert "ARB prog parser: Fix epic memory leak in lexer / parser interface" | Ian Romanick | |
This reverts commit 93dae6761bc90bbd43b450d2673620ec189b2c7a. This change was completely broken when the parser uses multiple strings in a single production. It would be nice if bug fixes could initially land somewhere other than the stable branch. | |||
2009-11-06 | intel: call intel_check_front_buffer_rendering() in intelClear() | Brian Paul | |
fixes bug 24953. | |||
2009-11-06 | mesa: Export S3_s3tc as well. | José Fonseca | |
Used in Quake3. | |||
2009-11-06 | mesa: Translate MAP_UNSYNCHRONIZED_BIT. | José Fonseca | |
2009-11-05 | xmesa: pass pixmap to clip_for_xgetimage() | Brian Paul | |
The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault. | |||
2009-11-05 | mesa: fix infinite loop bug in _mesa_drawbuffers() | Brian Paul | |
Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d. | |||
2009-11-04 | mesa: added cast to silence warning | Brian Paul | |
2009-11-04 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
Conflicts: src/mesa/drivers/windows/gdi/mesa.def | |||
2009-11-04 | vbo: fix out-of-bounds array access | Brian Paul | |
The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee. | |||
2009-11-04 | mesa: fix broken pack_histogram() case for GLhalf | Brian Paul | |
2009-11-04 | mesa: silence warning from gcc 4.4.1 | Brian Paul | |
2009-11-04 | ARB prog parser: include variable name in error text | Brian Paul | |
2009-11-04 | r600: rework draw functions | Alex Deucher | |
Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2009-11-04 | r600: fix count prediction for IB case | Alex Deucher | |
Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2009-11-04 | Fix YTILE spantmp functions | Alan Hourihane | |
2009-11-04 | Fix YTILE spantmp functions | Alan Hourihane | |
2009-11-04 | glslcompiler: Fix Mac OS build. | Vinson Lee | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2009-11-03 | mesa: (GLint64) casts in get.c to silence Visual Studio warnings | Brian Paul | |
Revised version of a patch from Karl Schultz. | |||
2009-11-03 | windows: remove old entrypoints from mesa.def file | Karl Schultz | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2009-11-03 | mesa: added GLAPIENTRY keywords for sync object functions | Karl Schultz | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2009-11-03 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
2009-11-03 | mesa: clean-up, remove some flushing in FBO functions | Brian Paul | |
Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places. | |||
2009-11-03 | mesa: fix indentation | Brian Paul | |
2009-11-03 | mesa: clean-up formatting | Brian Paul | |
2009-11-03 | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT() | Brian Paul | |
2009-11-03 | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers() | Brian Paul | |
2009-11-03 | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers() | Brian Paul | |
2009-11-03 | mesa: use ffs() to shorten loop in _mesa_drawbuffers() | Brian Paul | |
2009-11-03 | mesa: added assertion, another comment | Brian Paul | |
2009-11-03 | intel: avoid unnecessary front buffer flushing/updating | Brian Paul | |
Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths. | |||
2009-11-03 | st/mesa: clip pixels in draw_stencil_pixels to avoid crash | Marek Olšák | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2009-11-03 | st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencil | Brian Paul | |
util_blit_pixels_writemask() only works for color formats at this time. Also, it might never work for depth/stencil surfaces since we can't get handle stencil values in a fragment shader. Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT). | |||
2009-11-03 | st/mesa: fix tests for depth and depth/stencil texture formats | Brian Paul | |
2009-11-02 | mesa: added comment | Brian Paul | |
2009-11-02 | mesa: use _mesa_get_current_tex_object() | Brian Paul | |
2009-11-02 | mesa: use _mesa_get_current_tex_object() | Brian Paul | |
2009-11-02 | mesa: make _mesa_get_current_tex_objec() public | Brian Paul | |
2009-11-02 | ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch | Ian Romanick | |
Since the addition of support for Nvidia condition codes, the lexer internally uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER. Also, use return_string instead of strdup. Fixes bug #24809. | |||
2009-11-02 | r600: implement LOG op in compiler | Pierre Ossman | |
2009-11-02 | r600: implement EXP op in compiler | Pierre Ossman | |
2009-11-02 | mesa: fix incorrect approx bits/channel for fxt1 formats | Brian Paul | |
See bug 24806. | |||
2009-10-31 | radeon: add missing include | Dave Airlie | |
2009-10-31 | radeon: use _mesa_get_current_tex_unit | Dave Airlie | |
2009-10-30 | ARB prog parser: regenerated files | Brian Paul | |
2009-10-30 | ARB prog parser: new set_src_reg(), set_dst_reg() helpers | Brian Paul | |
These functions do sanity checks on the register file and index. | |||
2009-10-30 | mesa: better error message | Brian Paul | |