summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2007-03-30Clean and update XMesa/XFree86 interface.George Sapountzis
Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
2007-03-28cond code fixBrian
2007-03-28fix cond code swizzle bugBrian
2007-03-28Handle logical NOT and XOR without library functions. Results in much ↵Brian
tighter code.
2007-03-28optimization for the emit_not() functionBrian
2007-03-28remove IR_BREAK_IF_FALSEBrian
2007-03-28don't generate IR_BREAK_IF_FALSEBrian
2007-03-28Get rid of IR_CONT_IF_FALSEBrian
2007-03-28Get rid of BRK0, BRK1, CONT0, CONT1 instructions.Brian
2007-03-28Don't emit OPCODE_CONT0/1, BRK0/1 instructions, clean-ups elsewhere.Brian
2007-03-28simplify, clean-up break/cont codeBrian
2007-03-28added some null ptr checks to handle error recoveryBrian
2007-03-28Use constant_to_src_reg() to simplify some codeBrian
2007-03-28added missing returns after slang_info_log_error() callsBrian
2007-03-28Fix, clean-up code related to comparisons, condition codes, etc.Brian
2007-03-28print condcodes if DEBUG_PROGBrian
2007-03-28expose _mesa_condcode_string(), fix some printingBrian
2007-03-28check that if/while/do-while condition is boolean or scalarBrian
2007-03-28Add missing OSMesaColorClamp functionAlan Hourihane
2007-03-27Implement true CAL/RET subroutines. Some optimizations, clean-ups coming...Brian
2007-03-27fix another pc off-by oneBrian
2007-03-27added _slang_label_new_unique()Brian
2007-03-27fix some printing issues related to subroutinesBrian
2007-03-27fix a fragment fog regressionBrian
2007-03-27fix off by one error in OPCODE_RETBrian
2007-03-27init machine->StackDepth=0Brian
2007-03-27more parenthesisBrian
2007-03-27i915tex compile fix (account for moved _UseTexEnvProgram var)Roland Scheidegger
2007-03-27fix incorrect _MaxElement calculationRoland Scheidegger
The calculation of _MaxElement was wrong if the stride was larger than elementSize, which lead to rejection of every DrawElements call which accessed the maximum element if CheckArrayBounds was enabled.
2007-03-27recommit e731d8aafa98bbf9d30f83e65f28b7718be55834.Roland Scheidegger
This got lost with glsl-compiler-1 merge, it fixes segfaults when using ATI_fragment_shader, which uses the ProgramStringNotify mechanism but doesn't have a valid program pointer.
2007-03-27add parenthesis around a bit-wise AND term in _tnl_InvalidateState()Brian
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-27r300: Fix radeonUpdatePageFlipping() function.Roland Scheidegger
Always call driFlipRenderbuffers() with pfCurrentPage value, in case it's initially 1 instead of 0. May fix some issues with pageflip, the same fix was applied to r128, radeon and r200 (6e0e6eff05727ac8833c2b2dffc51c6619427e77).
2007-03-27r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that ↵Roland Scheidegger
dereferences it. Same fix as for r300 (which fixed https://bugs.freedesktop.org/show_bug.cgi?id=10417), since it's likely an issue with those drivers too.
2007-03-27r300: Check ctx->WinSysDrawBuffer before calling function that dereferences it.Michel Dänzer
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10417 .
2007-03-26fix r128 rendering, lockupsMiroslav Šustek
mis-count in offset led to mis-rendering and lockups; units are 4 bytes rather than 1. Noticed by Chris Salch. fixes bug 7994, possibly others.
2007-03-27Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesaZou Nan hai
2007-03-27 Fix compile errorZou Nan hai
2007-03-26s/SUB/BGNSUB/Brian
2007-03-26Checkpoint: implementing true CAL/RET instructions for subroutine calls.Brian
Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization.
2007-03-26Get rid of IR_JUMP and related code.Brian
2007-03-26special case RETBrian
2007-03-26Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling.Brian
2007-03-26remove debug abort() callsBrian
2007-03-26Additional error checking for 'return' statements.Brian
2007-03-26undo some debugging hacksBrian
2007-03-26dead code elimination for constant-valued if/then/elseBrian
2007-03-26r300: Remove a warning when vertex programs produce an unused outputNicolai Haehnle
As far as we know, the hardware prefers outputs packed tightly together with no holes caused by outputs that are not even read by the fragment program. Therefore, we slightly rewrite vertex programs in this case. It would be interesting to test this interaction between vertex programs and fragment programs further, because some of that rewrite may be unnecessary. However, play it safe for now and don't change the current behaviour.
2007-03-26r300: Whitespace cleanup (remove trailing spaces)Nicolai Haehnle
2007-03-26Fix a few issues with computing storage sizes with respect to swizzles.Brian