[cairo-commit] [cairo-www] 2 commits - src/todo.mdwn

Chris Wilson ickle at freedesktop.org
Sun Oct 12 04:26:23 PDT 2008


 src/todo.mdwn |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

New commits:
commit 01e6837eef6f56dbeec9d91105e1f88f79c8bcfa
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Oct 12 09:27:34 2008 +0100

    Global glyph cache TODO
    
    https://bugs.freedesktop.org/show_bug.cgi?id=12787.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 8feaff7..af6a089 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -145,6 +145,23 @@ Performance improvements
    should nearly be on a par with the simple square-cornered case. Is it?
    Can we improve?
 
+
+ * Global glyph cache
+   Background reading:
+   (1)[http://www.gnome.org/~federico/news-2007-10.html#pango-cjk-1]
+   (2)[http://mces.blogspot.com/2007/10/episode-vi-return-of-federico.html]
+
+   * CJK languages have many more unique glyphs, so perhaps we need a larger
+     glyph cache to maintain a respectable hit-rate.
+
+   * Is it better to have a single global glyph cache across all fonts?
+
+   This needs to be carefully profiled with respect to both memory and
+   performance across a large number of users.
+
+   Suggested benchmarks?
+   * Firefox (TRender)[https://wiki.mozilla.org/Mozilla2:Trender]
+
 Other fixes
 -----------
  * Fix/define tolerance for PS/PDF/SVG backends
commit 9b40a2bcacc8f376086b9f8368a4966df03885ec
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Oct 12 09:01:32 2008 +0100

    Add FSAA to TODO
    
    https://bugs.freedesktop.org/show_bug.cgi?id=7114

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 9357b56..8feaff7 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -273,6 +273,18 @@ Other fixes
     Is this a good idea? What does it mean and what impact will it have?
     Discuss.
 
+  * FSAA (full-scene antialiasing)
+
+   Can be done on top of cairo, but it would useful to have a reference
+   implementation. In many things this is akin to fallback resolution, and
+   so it would be a useful exercise to do this with an exported meta-surface...
+     1) Create intermediate target image scaled up by a factor of N in both
+        directions.
+     2) Disable anti-aliasing.
+     3) Tolerance? Other scaling issue? 
+     4) Draw scene
+     5) Down-sample intermediate target surface.
+     6) Return as pattern/surface
 
 Backend-specific improvements
 -----------------------------


More information about the cairo-commit mailing list