Commit Graph

11457 Commits

Author SHA1 Message Date
George Sapountzis 885111518e Move glcontextmodes.c to glx.
It is no longer linked with DRI drivers, libGL passes function pointers through
the DRI interface.
2007-04-05 18:59:42 +03:00
Brian 0cae814f36 temporary add some extra renderbuffer debug code 2007-04-05 09:28:09 -06:00
Brian 33c3739628 Remove the never-used SI-style imports/exports code. 2007-04-04 22:18:53 -06:00
Brian 4d864b087e assorted updates 2007-04-04 09:33:12 -06:00
Brian 2f207dcf1e assorted documentation updates 2007-04-04 09:31:41 -06:00
Brian f9c01c33d3 init span.y=0 to silence warnings 2007-04-04 09:30:28 -06:00
Brian d4dc57bb13 Overlapping copies with zoomZ=-1 were broken. See bug 10521.
Need to check for overlapping src/dest regions before computing bottom-to-top
vs. top-to-bottom order.
2007-04-04 08:48:06 -06:00
Brian a28e648690 remove debug printf 2007-04-04 08:26:41 -06:00
Xiang, Haihao 40ae3943f2 i810/i915/i915tex: reinitialize the context point state 2007-04-04 16:50:47 +08:00
Nicolai Haehnle dba21ed913 Fix in t_vp_build: Missed necessary updates sometimes
_mesa_update_state doesn't always reset VertexProgram._Current to NULL.
This caused us to skip a necessary update of the fixed function vertex
program sometimes.

Change the logic such that we check for updates whenever the _Current
program is either NULL or the program generated by t_vp_build.
2007-04-02 21:01:32 +02:00
Brian 66d336808d Call _glapi_set_context(NULL) in _glapi_check_multithread() to make sure the _glapi_Context global gets cleared properly. 2007-04-02 10:03:34 -06:00
Brian dccd9c4f4d use _mesa_reference_renderbuffer() in a few more places 2007-04-02 09:57:27 -06:00
Brian 3fe47d5c57 updated debug printf 2007-04-02 09:57:27 -06:00
Brian 3fd88089c0 Fix some bugs/issues related to alpha channel support. See bug 10483. 2007-04-01 18:30:28 -06:00
Brian 0683e4ce4b If using PF_8A8B8G8R, be sure alpha is correctly handled. 2007-04-01 18:28:28 -06:00
Brian ec42af9263 re-order tokens, fix comments 2007-04-01 18:27:23 -06:00
Brian 00831b5b3b always emit BGN/ENDSUB, for now anyway 2007-03-31 09:09:48 -06:00
Brian ec6c8f86f3 fix scoping mistake in previous commit that checked for writable LHSs 2007-03-31 09:09:21 -06:00
Brian e608d92c5b check that LHS of assignment is writable 2007-03-30 14:59:02 -06:00
Eric Anholt 57dadf71ca Merge branch 'origin' 2007-03-30 13:18:27 -07:00
Eric Anholt adb91c056f Merge branch 'crestline-qa', adding support for the 965GM chipset. 2007-03-30 13:11:38 -07:00
Gustavo Pichorim Boiko 6f652c89d7 call DRI_VALIDATE_DRAWABLE_INFO(), bug 10477 2007-03-30 14:10:10 -06:00
George Sapountzis 7439a36785 Clean and update XMesa/XFree86 interface.
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-30 19:19:00 +03:00
Brian 7eba12edce more tips, validation info 2007-03-28 17:14:35 -06:00
Brian ba730e14ed cond code fix 2007-03-28 17:08:17 -06:00
Brian 1ba858591b fix cond code swizzle bug 2007-03-28 15:45:24 -06:00
Brian f2f5d06853 Handle logical NOT and XOR without library functions. Results in much tighter code. 2007-03-28 15:16:33 -06:00
Brian b2ac30ac36 optimization for the emit_not() function 2007-03-28 14:49:33 -06:00
Brian 3b7f2f53a2 remove IR_BREAK_IF_FALSE 2007-03-28 14:38:36 -06:00
Brian 8128f7143d don't generate IR_BREAK_IF_FALSE 2007-03-28 14:33:25 -06:00
Brian 393a93ea32 Get rid of IR_CONT_IF_FALSE 2007-03-28 14:25:30 -06:00
Brian 3e7d43cd48 Get rid of BRK0, BRK1, CONT0, CONT1 instructions. 2007-03-28 14:23:33 -06:00
Brian 1bbd69251b Don't emit OPCODE_CONT0/1, BRK0/1 instructions, clean-ups elsewhere. 2007-03-28 14:21:26 -06:00
Brian f841b04601 simplify, clean-up break/cont code 2007-03-28 14:14:00 -06:00
Brian b463d52143 added some null ptr checks to handle error recovery 2007-03-28 13:29:57 -06:00
Brian 7e4a7fdddd Use constant_to_src_reg() to simplify some code 2007-03-28 13:23:44 -06:00
Brian ee2f31e281 added missing returns after slang_info_log_error() calls 2007-03-28 12:48:27 -06:00
Brian dad97b4688 Fix, clean-up code related to comparisons, condition codes, etc. 2007-03-28 11:06:34 -06:00
Brian a01616eed5 print condcodes if DEBUG_PROG 2007-03-28 11:01:28 -06:00
Brian d750861dc2 expose _mesa_condcode_string(), fix some printing 2007-03-28 11:01:09 -06:00
Brian 59f7f6dbe9 check that if/while/do-while condition is boolean or scalar 2007-03-28 10:44:38 -06:00
Brian 20d85c609a bump version to 6.5.3 to match version.h 2007-03-28 09:07:41 -06:00
Alan Hourihane ad766b5785 Add missing OSMesaColorClamp function 2007-03-28 15:58:08 +01:00
Brian 0420d8505a disable MakeTexture() 2007-03-27 16:06:48 -06:00
Brian 05e6fd8398 added ftransform() comment 2007-03-27 16:06:48 -06:00
Brian e5d00e8cf4 Implement true CAL/RET subroutines. Some optimizations, clean-ups coming... 2007-03-27 16:06:48 -06:00
Brian 31dc7a3c89 fix another pc off-by one 2007-03-27 16:06:47 -06:00
Brian 17238f1ee5 added _slang_label_new_unique() 2007-03-27 16:06:47 -06:00
Brian f407cada8a fix some printing issues related to subroutines 2007-03-27 16:06:47 -06:00
Brian e713ef66ef fix a fragment fog regression 2007-03-27 16:06:47 -06:00