ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/texcache.c
Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Dec 25 19:08:31 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-0_9963, rel-0_9964, rel-0_9965, rel-0_9966, rel-0_9967, rel-0_9968, rel-0_9971, rel-0_9972, rel-0_9973, rel-0_9974, rel-0_9975, rel-0_9976, rel-0_9977, rel-0_9978, rel-1_21, rel-2_0, rel-2_02, rel-2_03, rel-2_04, rel-2_05
Changes since 1.5: +5 -3 lines
Diff to previous 1.5
staticify

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Dec 25 18:58:32 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.4: +40 -4 lines
Diff to previous 1.4
save/restore textures in a safer way, also save/restore glyph cache

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Aug 12 08:44:22 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-0_99, rel-0_995, rel-0_9955, rel-0_9956, rel-0_9957, rel-0_9958, rel-0_9959, rel-0_9960
Changes since 1.3: +1 -0 lines
Diff to previous 1.3
use an compressed format for glyph quad vectors. this reduces
the size of e.g. the opengl info from 200k to 20k, and typical
sizes for labels are now <<100 bytes. the cost is full immediate
mode submission of coordinates (cpu), but glInterleavedArrays is
likely not much faster and modern cpus probably prefer more decoding
over more cache misses.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Apr 27 21:27:51 2007 UTC (17 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-0_98
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
even more changes to texture management - screw those completely broken drivers, but cater for the leaking ones

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Jul 4 23:56:34 2006 UTC (18 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-0_2, rel-0_5, rel-0_51, rel-0_52, rel-0_53, rel-0_97
Changes since 1.1: +6 -0 lines
Diff to previous 1.1
There is of course no way to clear glyph caches in stupid pango, so we
have to add a generation counter to each and every glyph structure and
check it on every access.

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Tue Jul 4 23:23:32 2006 UTC (18 years, 5 months ago) by root
Branch: MAIN
Get rid of cairo completely (yay!) and of ft2 factually (still need the
library as it included pangofc), by introducing a custom pango opengl
renderer.

Text rendering now no longer requires the distinction between rgba and
grayscale modes, requires much less texture space and memory, and is
faster on accelerated hardware (and possibly with software rendering, too).

All at the cost of only 1200 lines or so.

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-0_9967: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a