aboutsummaryrefslogtreecommitdiff
path: root/generic/tkZinc.c
AgeCommit message (Collapse)Author
2008-01-22Ajout de l'item viewport qui permet de deleguer le rendu dans une zone ↵lemort
rectangulaire a une librairie externe. Pour l'instant, seule l'implementation Windows fonctionne: le rendu est deleguea une DLL qui doit contenir certaines fonctions
2008-01-15Integration d'un mecanisme d'optimisation compatible avec les cartes ↵lemort
non-Nvidia. Ce mecanisme est plus lent que le mecanisme de GL_DAMAGE mais il demeure plus rapide que le redessin complet de la scene. Le nouveau mecanisme elimine le souci des traces noires avec les cartes ATI
2007-11-19Replace #ifdef GL_DAMAGE statement with a new option (-usedamage) of the ↵lemort
TkZinc widget
2007-04-23Fix the text cursor not displayed when the text is emptylecoanet
2007-02-27Fix a segmentation fault when initializing GL (following rotation patch).lecoanet
Fix a dbl buffer pixmap reallocation problem (shown only in the perl flavor but a real bug nonetheless). The symptom was only a small area refreshed.
2007-01-23tset has been changed to allow setting all items related to a given tag.lecoanet
2007-01-23Integrated extension detection via glewlecoanet
Added MouseWheel support Rotation patch
2006-12-22Protected a forgotten GL specific section for MacOSlecoanet
2006-10-18Changed VERSION to PACKAGE_VERSION as per TEA 3lecoanet
2006-10-17Ported to Mac Os (without X11).lecoanet
2006-09-20Added the collapsemotions command.lecoanet
2006-09-15Added an init entry point for safe interpreters. Useful when loading inlecoanet
the Tcl Plugin. Untested.
2006-08-22Fix bug #60. Forgot enclosed and closest.lecoanet
2006-08-22Fix bug #60. The method reported the correct result but mixed with a spuriouslecoanet
error message which was not cleared. This should have been fixed.
2006-08-21Signature for ZnSetLabelFromOm has been extended with a reason parameter.lecoanet
This patch makes this parameter a permanent part of the signature. It'll not be possible to suppress it by the OM_TECH define. In this way the interface is more predictible, the signature is constant.
2006-08-21Fix an unitialized variable in tcompose causing a core dump in some cases.lecoanet
2006-08-17Fix bug #63. The tcompose second transform was not processed due to a typo.lecoanet
2005-11-25Improved the error reporting of the transform methods.lecoanet
2005-10-19Added some code to do high precision timing in the main drawing functionlecoanet
Repair(). Tkzinc now test whether the tagOrIdOrTransform given to translate is not the empty string (cf zinc-anim and D Etienne).
2005-09-13The fix for the damage problem on i865 doesn't really work reliably. It is offlecoanet
now. The real fix is not using damage at all on these plateforms. On Nvidia it is quite safe to use damage though.
2005-09-13Enabled all full refresh on window motion, expose, etclecoanet
Fixed Destroy prototype.
2005-09-12Changed all TK_CONFIG_NULL_OK by TK_OPTION_NULL_OK in theLecoanet
option table Fixed a missing font_tfi initialisation when ATC code conditionally removed Rearranged the code for destroying a window. The Damage optimization under GL should now work on all video cards whether the buffer swapping occurs by copying or by actually swapping.
2005-05-25Fix a core dump when typing text and the pointer is outside the focusedlecoanet
item.
2005-05-10Merge of the newly developped postscript code (still not fully functional).lecoanet
2005-04-27Declared ZincObjCmd public in the zinc dll for windows. This will enablelecoanet
the C++ wrapper compilation on windows. Modified the copyright to BSD style.
2005-04-13Expanded the tabs into spaces to make the indenting independant oflecoanet
the editing environment (emacs vs vi for example).
2005-04-12Switched to the native GLU tesselator instead of the buitlin.lecoanet
2005-03-22Suppressed __unused attribute, this will be dealed withlecoanet
by the gcc directive -Wno-unused-parameter and VC++ does not care about these anyway.
2005-02-12Fixed the __unused macro to avoid a clash with dummy variables used in 64 ↵lecoanet
bits headers
2005-01-24Fixes for the conditional compilation of the atc code.lecoanet
2005-01-24Suppressed the conditional compilation of the anti-overlappinglecoanet
code. Added the conditional compilation of all the atc code.
2005-01-18Fixed a big memory leak in Geo.c related to polys and tristrips.lecoanet
Fixed a typo in the find closest command related to atomic groups.
2004-10-18Added a missing ifdef to compile without GL.lecoanet
2004-09-21One more attempt towards a truly working GL initializationlecoanet
code.
2004-09-17Added a test on the bounds of the field index in command bbox.lecoanet
2004-09-09Fixed a bug in the parsing of find enclosed/overlapping arguments.lecoanet
The recursive flag was mixed with the inGroup argument. Added a test to the bbox method argument parsing to trap permutation of options (-label -field) and tagOrId specifications.
2004-07-30Fixed a problem in GL init code which prevented zinc fromlecoanet
working with Mesa. A (hopefully) more useful warning is emitted when openGL rendering is not good enough (most often 24 bits buffer or stencil not available). Tweaking and bending in the openGL init code to make it work better.
2004-05-19Changed the extent of some GL ifdef so that the file compilelecoanet
without GL defined.
2004-05-19ZnGLMakeCurrent: Added code to select a valid context from the widget listlecoanet
for the display when no widget is passed in. This is the case when freeing image or font texture. Enabled the context freeing for the last widget on a given display. Both patches together should fix the crash on MacOS.
2004-05-14Suppressed the fieldbbox command. It has been merged with bbox andlecoanet
can be called by the -field and -label options.
2004-05-10Suppressed all OutputDebugString traces.lecoanet
Fixed the GL redrawing problem occuring under Windows after a window move and under Linux when the window was clipped by the screen border. The graphic context is freed when no longer needed, (no more zinc windows on a given display). This code is suspended on Linux because of a problem (perhaps in nvidia driver) causing a random) crash of the server. Fixed under Windows the problem of activating a GL context for freeing resources after the destruction of a widget. Now a list of active widgets is kept and the code activate a remaining widget in the same context. Fixed default GL font loading.
2004-05-07Slightly rearranged the init sequence for openGL. This willlecoanet
ensure that render will be reset has soon has possible if GL is not there. It will _stay_ set if we discover later that GL is not available. This will fix a rather bewildering situation when using images: The image is created for GL, then all of a sudden accessed in an X11 context. Fixed the event emitting code so that enter/leaves are not emitted (or omitted) out of sequence.
2004-05-03Fix a very nasty memory bug under Perl/Tk windows.lecoanet
2004-04-30Adaptation for compilation on Windows and Perl.lecoanet
Creation of new global variables including the tesselator and the temporary lists. The tesselator common code is now in this module. Introduction of the new option configuration code for Perl/Tk 804 and Tcl. The Perl/Tk 800 code still use the old API. Reworking of the initialisation and switching of the drawable, backbuffer and openGL contexts. The initialisation is now done when receiving the map event. This still is not perfect on Windows. Fixed the scrollbar protocol. It should now work like the canvas in all configurations. Fixed the Coords command. It now correctly returns a point as a flat list when requested a single point or when the item has only one coordinate. Some cast to smooth out the compile on Windows. Changes in the signature of ZnAttributesInfo. The scissors used when redrawing in openGL are desactivated during resize and expose. It doesn't work when under those conditions. In Windows a full redraw is forced when entering the window to compensate for the same bug after a window move.
2004-03-26Added a new fieldbbox method and restored the old behavior of the bbox method.lecoanet
2004-03-24Added a boolean abs to the translate method. Added the tget method.lecoanet
2004-03-23Changes related to OpenGL context handling (only one context per display) ↵lecoanet
and patches to avoid using widget structure in image cache */
2004-03-23Fix a problem with the scrollbar protocol (Y scrollbar bug).lecoanet
2004-03-10*** empty log message ***lecoanet
2004-03-04The coords command will return a flat point instead of a listlecoanet
of one point for all items with a -position.