Age | Commit message (Collapse) | Author |
|
really needed under windows (Perl).
|
|
|
|
|
|
|
|
|
|
returned
values between perl-tk 800 and perl-tk 804
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
occuring under windows. This time GL fonts loading is
deferred to just before drawing. This fix the drawing
problem that occured the first time a window was mapped
(and may be other problems has well).
|
|
|
|
at init or configure time (there is a deferring list).
|
|
This was done to limit the warnings due to redefined functions
|
|
|
|
|
|
|
|
aliases for fonts
|
|
typos...
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
a trace leaving bug observed in some cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
suppressed a reference to the panic function to
compile for Perl/Tk on Windows.
|
|
|
|
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.
|
|
Adaptation of the code needing GL context activation.
|
|
cache the attribute look up from one invocation to the
other. This could speed up slighty the code. Available
only in Tcl.
|
|
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.
|
|
|
|
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.
|
|
GL font code.
|
|
|
|
|
|
code.
Global resources (tesselator, temporary lists, etc) have
been extracted.
Fixed the scroll commands type.
|
|
successful yet.
|
|
smooth out the compile process on Windows. We only need float
precision anyway.
|