Age | Commit message (Collapse) | Author |
|
more annoying artifacts than it corrected.
|
|
|
|
with ATI cards. It has to do with the X11 porting layer, XGetImage more precisely.
|
|
|
|
to accomodate XFree86. Now the limit is 4096.
|
|
SuckGlyphsFromServer.
|
|
with X Images.
Ported to Mac Os (without X11).
|
|
looking text when scaled/rotated.
|
|
|
|
|
|
|
|
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
|
|
The error prevented the correct encoding of codes > 127.
|
|
|
|
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).
|
|
|
|
Adaptation of the code needing GL context activation.
|
|
and patches to avoid using widget structure in image cache */
|
|
* 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.
|
|
disturb Perl/Tk.
|
|
|
|
|
|
a font. This plus a patch in the text item should lead to
a correct behavior when drawing UTF8 strings (regardless
of the input versus output encoding).
|
|
minus the 32 first.
|
|
|
|
Added code to construct the valid region of
an image (shaped) even if TkPhotoGetValidRegion
is not available (perl or not a photo).
Added a fun telling if a point is on the active
area of the image.
Changed the internal api for using images to
match the changes above.
A tkfont reference is kept for each txf using
the font so that the font can be freed if no
longer used.
Use of the max texture size is now reliable and
texture allocation for fonts start with the largest
tex and increase the tex height from 64 to the max
tex limit. This seems to work ok for large fonts.
|
|
letters (the most useful ones.
* (ZnImageTex): Alpha can be safely (?) loaded both for perl/tk
and tk. This is valid only under GL.
* (SuckGlyphsFromServer): Trapped a potential problem with
some fonts reporting zero width. Improved error report. The
maximum width was computed on M and W. If those characters
were missing, a zero pixmap allocation occured. Now the max
width is computed on the real characters.
|
|
the image due to limitation in Tk 8.0.
|
|
for fonts.
Suppressed the glGetIntegerv on GL_MAX_TEXTURE_SIZE
which can be erroneous before window mapping.
Disabled the test on max_tex_size until the value
can reliably be read as soon as the widget creation.
The texture for font is increased on the width and the
height in alternance. The limit on texture expansion
will be found at texture creation time and reported
through glGetError.
The structure holding the font parameters used for
openGL is not allocated is an error occur during
font loading. The structure is also properly freed
(this was partially leaking).
|
|
|
|
du txf qui conduisait � un core dump.
* Correction de la liste des caract�res sacceptables dans une
fonte en GL, il y avait deux fois ~
|
|
Il faut les sp�cialiser par Screen et non par Display.
|
|
le contexte graphique GL n'�tait pas n�cessairement correctement
positionn�, ce qui provoquait la lib�ration dans le mauvais
contexte donc le mauvais widget. Visible au travers d'un bug
de dessin de textes sous forme de carr�s noirs mais vrai
aussi pour les images.
|
|
|
|
|
|
avant d'utiliser les noms de bitmap/image.
* Corrections assurant une compilation correcte sans GLX.
|
|
specifique au display lors de la creation d'une bitmap (Corrige
le bug d'A.Marion).
* (ZnTexFontTex): Ajout du symbole euro.
|
|
dans un fonte (conforme aux fontes de JLV).
|
|
sur les images. Si elles sont utilis�es comme tuiles l'alpha
� l'ext�rieur de l'image se trouve inject� dans le bord de
l'image et provoque des lignages.
|
|
pas bien pour les autres.
Correction d'un bug potentiel dans From5r6g5b, bpixels pouvait
�tre NULL et provoquer un core dump.
|
|
|
|
conduisait � un core dump en GL dans le cas o� plusieurs fen�tres
avaient �t� cr�es.
* Lors de la cr�ation de plus d'une fen�tre en GL le processus
d'allocation des ressources de fontes se mettait � boucler.
|
|
des bitmaps et des fontes. On n'utilise plus Tk que pour initialiser
l'image, le compte de r�f�rence est gard� en local.
Les images et bitmap sont sp�cialis�es par display pour X, par fen�tre
pour GL.
Les fontes sont sp�cialis�es par fen�tres en GL.
Le code de modification dynamique des images propos� par Tk
n'est plus pris en compte.
Les textures et la m�moire utilis�es par les images/bitmap/fontes sont
lib�r�es d�s que possible, r�sultant en une bien meilleure utilisation
des ressources (surtout en ce qui concerne les textures).
Ces modifs corrigent le bug de dessin des images/fontes observ� sous GL
avec deux ou plusieurs Zinc cr��s simultan�ment ou cons�cutivement dans
la M�ME application.
|
|
trait�s par openGL.
|
|
d'une image Tk et sont affectation � un attribut.
|
|
en GL.
|
|
une fonte.
|
|
Ajout de routines pour g�rer le texte en m�moire de texture.
Ajout de routines pour g�rer les images/bitmap en m�moire de texture.
|