Age | Commit message (Collapse) | Author |
|
now. The real fix is not using damage at all on these plateforms. On Nvidia
it is quite safe to use damage though.
|
|
Fixed Destroy prototype.
|
|
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.
|
|
item.
|
|
|
|
the C++ wrapper compilation on windows.
Modified the copyright to BSD style.
|
|
the editing environment (emacs vs vi for example).
|
|
|
|
by the gcc directive -Wno-unused-parameter and VC++
does not care about these anyway.
|
|
bits headers
|
|
|
|
code.
Added the conditional compilation of all the atc code.
|
|
Fixed a typo in the find closest command related to atomic groups.
|
|
|
|
code.
|
|
|
|
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.
|
|
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.
|
|
without GL defined.
|
|
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.
|
|
can be called by the -field and -label options.
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
and patches to avoid using widget structure in image cache */
|
|
|
|
|
|
of one point for all items with a -position.
|
|
* 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.
|
|
enter/leave management in PickCurrentItem.
|
|
|
|
histories
|
|
be considered for focusable items.
Introduce the postscript command (not functional yet!)
|
|
degrees to the rotate method.
* (WidgetObjCmd): Added an optional center for the scale
method.
* (FindItems): Modified the recursive flag of sub-methods
closest, enclosed, overlapping so that the find can be
asked to investigate into atomic groups. Simply say
'override' instead of true/false.
* (WidgetObjCmd): Method bbox no longer works on multiple
tagOrIds but handles label and field bboxes on items
with fields.
* bind now handles virtual events.
* bind accept an alternative syntax for specifying fields.
* Added conditional inclusion of overlap manager include
|
|
items or named transforms.
* Added a tset method to set a transform from given matrix
values.
* Reformat of the code to suppress braces inconsistencies
due to ifdefs.
* Added a skew method to skew a transform both along x and y
axes.
* The transform command now accept the special tag device as
source and destination. It accept also a named transform
as source and destination.
* Added a reserved tag identity as possible source transform
for command tsave.
* tsave can now take a named transform as source.
|
|
segments instead of straight line segments.
* Added a configuration option -followpointer to try
some optimizations of motion event processing under
application control. The motion events are still
emitted but the enter leave processing is suspended
when this option is set to zero.
|
|
with tcl and perl-tk.
|
|
the -symbol attribute for tracks.
Updated the option code to follow the new image behavior.
The scrollbar protocol in perl has been slightly debugged
but still won't work, more on this later.
Update the font code to load fonts infos (GL) only when
receiving the realize event.
|
|
* (ZincObjCmd): Fixed a core dump when destroying zinc after
an error occured during the first Configure. The tesselator
got inited a bit late.
|
|
Enter/Leave generation during grabs.
* Fix a segfault occuring when asking for the ancestors of an
unknown item.
* In Contour, the contour reverting was done on the shared point
array given by GetClipVertices/GetContours, not on the new
unshared array.
* It is now possible to add a polygonal (non simple) contour from
an item that export only the GetClipVertices method. In the past
it was only possible to add bounding boxes via this method. This
is important for rotated rectangles for example.
|
|
the option offsets causing core dumps and a wrong
behavior of scrollbars under Windows.
|
|
wi->flags was not properly inited (too late).
Added max_tex_size with a default value of 64.
Shut up some warnings (some not so harmless).
Moved the ZnGetTexFont after the window mapping
is in effect. The same for glGetIntegerv.
|
|
|
|
la bordure de fen�tre ne soit allou� que si le relief est
effectivement utilis�.
|
|
* (WidgetObjCmd): Emp�che de placer un groupe ancetre dans un
de ses fils par la commande chggroup.
* (Contour): Correction d'une erreur de type sur winding_flag.
* Incorporation du test de la variable d'environnement
ZINC_GLX_INFO permettant de desactiver les msgs d'info GL.
* (Repair): Suppression de la d�pendance � GLU (gluOrtho2D).
* (Tkzinc_Init): Compilation pour utiliser tcl et tk avec
les stubs, l'init est plus conforme � la
norme Tcl actuelle.
* (Destroy): Correction d'un core dump du � la tentative de
lib�ration d'un context GL en X.
|
|
|
|
de retrouver les callbacks associ�s � un binding vide sur
1 item. Maintenant on retourne correctment la chaine vide.
|