aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
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-07Suppressed traceslecoanet
2004-05-07Fixed a typo in the class structurelecoanet
2004-05-07Changed the GL line width of borders. This should shut uplecoanet
a trace leaving bug observed in some cases.
2004-05-07Fixed a bug when trying to draw an unkown character in GL.lecoanet
2004-05-03Fix a very nasty memory bug under Perl/Tk windows.lecoanet
2004-04-30Added cast for a clean compile under Windowslecoanet
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-04-30Rewritting of the font texture code.lecoanet
Adaptation of the code needing GL context activation.
2004-04-30Introduced a new Tcl_ObjType "attribute" that is able tolecoanet
cache the attribute look up from one invocation to the other. This could speed up slighty the code. Available only in Tcl.
2004-04-30New ZnQueryAttribute signaturelecoanet
Reworked class structure. Some casts for a smooth compile on Windows. Use of TkPutImage instead of XPutImage for Windows portability. Use of the new global variables. Change in the Render method to reflect the new text drawing code.
2004-04-30New ZnQueryAttribute signaturelecoanet
Reworked class structure. Some casts for a smooth compile on Windows. Use of TkPutImage instead of XPutImage for Windows portability. Use of the new global variables.
2004-04-30Adapted the ZnTexGVI structure and the public API for the newlecoanet
GL font code.
2004-04-30Added new global variables extracted from the widget structure.lecoanet
2004-04-30Adapted the structure to the needs of the new configurationlecoanet
code. Global resources (tesselator, temporary lists, etc) have been extracted. Fixed the scroll commands type.
2004-04-30Reworked for Windows clean compile. This is not thatlecoanet
successful yet.
2004-04-30Changed types between ZnReal and float. Added some casts. Thislecoanet
smooth out the compile process on Windows. We only need float precision anyway.
2004-04-30Descativated the modulelecoanet
2004-04-30Modification of the ZnQueryAttribute signature.lecoanet
Reworking of the class structure. Adaptation to use the new global variables. Casts for Windows compile. Suppressed the Coords method. Now the Coords command in tkZinc.c handle the lack of the Coords method in an item.
2004-04-30Needed the glu header.lecoanet
2004-04-30Casts for Windows compile.lecoanet
2004-04-30Added some casts for a smooth compile on Windows.lecoanet
Adaptations to make use of the new global variables. ZnRenderFancyString function suppressed. Rewritten ZnRenderString and ZnRenderGlyph.
2004-04-30Suppressed unused ZnRenderFancyString prototype.lecoanet
2004-04-30Modification of the ZnAttributesInfo and ZnQueryAttribute signatures.lecoanet
Reworking of the class structure.
2004-04-30Modification of ZnQueryAttribute signaturelecoanet
Adaptation for the new global variables Reworking of the class structure Fixed a bug in PopTransform causing a core dump under Windows (and potentially elsewhere). Modifs to adapt the Rendering when the scissors are not active.
2004-04-30Modification of ZnQueryAttribute signaturelecoanet
Adaptation for the new global variables Reworking of the class structure The tesselator code has been mostly extracted so that it is available for other purposes as well. It is now in tkZinc.c. The Tesselator is now an application global object.
2004-04-30Modification of ZnQueryAttribute signaturelecoanet
Adaptation for the new global variables Reworking of the class structure
2004-04-30Modification of ZnQueryAttribute signaturelecoanet
2004-04-30*** empty log message ***lecoanet
2004-04-30Modification of ZnQueryAttribute signaturelecoanet
Reworking of the class structure
2004-04-30Adaptation for the new global variableslecoanet
Reworking of the class structure
2004-04-30New encoding fileslecoanet
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-23This undo the addition of a -position attribute.lecoanet
2004-03-23Fix a problem with the scrollbar protocol (Y scrollbar bug).lecoanet
2004-03-10*** empty log message ***lecoanet
2004-03-10Fixed a bug in GetItemTransform that caused a bad behaviorlecoanet
when adding item shapes to a Curve (it could also make troubles in chggrp, etc that use GetItemTransform).
2004-03-04The coords command will return a flat point instead of a listlecoanet
of one point for all items with a -position.
2004-03-04Fixed an incorerct behavior in Rectangle ToArea method whenlecoanet
both filled and a line width is specified.
2004-03-04 * Adaptation for perl/Tk 804.lecoanet
* Changed the image texture handling code now that only one context is kept for each display. * A reference count is kept for images with multiple clients with same proc/procdata. This will prevent early deallocation in this case. * Fixed a bug in the image update procedure when re-creating an existing image. The transient deleted state was not properly handled and the type of image can change in the process as well as the pointer to the photo structure. * Font texture is cached once per display instead of once per widget.
2004-03-04 * OpenGL contexts are allocated by display instead of by widget.lecoanet
* Colormaps are not allocated for each widget window but are cached by display (should be perhaps by screen) * Freed the visual info returned by each call to glXChooseVisual. This used to generate a memory leak for each widget instance. * Adapted for perl/Tk 804. * Some better init code to prevent valgrind from reporting use of unitialized memory (can be useful anyway). * Commented an OpenGL bug workaround dealing with bad partial redraw after moving the window. It seems to have disappeared (tested with NVIDIA 53.3). * Free the drawing GC as part of destroy cleanup.
2004-03-03Fixed a potentially unitialized angle value in the gradient struct.lecoanet
2004-03-03Support for perl/Tk 804lecoanet
2004-03-03Added (commented) traces.lecoanet
2004-03-03Added new attribute types ZN_CONFIG_CHAR and ZN_CONFIG_UCHARlecoanet
Changed the ZN_CONFIG_ALPHA type to be processed as a char, this fixes a potentially long standing bug when configuring an alpha value.
2004-03-03Added new attribute types ZN_CONFIG_CHAR and ZN_CONFIG_UCHARlecoanet
2004-03-03Fixes for perl/Tk 804lecoanet
2004-03-03Changes for perl/Tk 804.lecoanet
Fix a problem with glXMakeCurrent when the widget window is gone, the root window is used instead. This fixes a problem when freeing textures for an already destroyed widget.