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

Chris Wilson ickle at freedesktop.org
Fri Jan 30 06:32:12 PST 2009


 src/todo.mdwn |   35 +++++++++++++----------------------
 1 file changed, 13 insertions(+), 22 deletions(-)

New commits:
commit b46badbff6068b103c9ca868d181189369337861
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 30 14:31:47 2009 +0000

    [todo] Notes on opengl.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 71db6fc..2d5e2e4 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -336,6 +336,17 @@ Backend-specific improvements
 
     * Switch to using XRenderAddTraps rather than XRenderCompositeTrapezoids
 
+ * OpenGL [new]
+
+  Implement a fully hardware accelerated backend. Glitz is only designed to be
+  an implementation of XRender on top of OpenGL, and therefore only provides
+  accelerated composition. The goal of a future OpenGL backend would be to
+  investigate offloading more computation, such as rasterization, to the GPU.
+  There have been a number of experiments along this direction - see [drm](http://cgit.freedesktop.org/~ickle/cairo/log/?h=drm), [opengl](http://cgit.freedesktop.org/~ickle/cairo/log/?h=opengl) and [gral](http://github.com/akyrtzi/cairo-gral/tree/master). They each have their own limitations...
+
+  Instead of adding an OpenGL backend, an alternative would to write a cairo
+  state tracker for gallium.
+
  * PCL [new]
 
   New backend to output Printer Command Language.
commit 844b53a0ae6bcc2155a14039367ab970bea89d0c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 30 14:24:18 2009 +0000

    [todo] Fixed the disable tests, so update.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 4875e23..71db6fc 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -174,8 +174,6 @@ Other fixes
    Update: it is fixed, so time to remove the hack! Need to still provide
    a helper function for backends that require it.
 
- * Fix disabled show-glyphs-many case in cairo test suite
-
  * Possibly remove pdiff (slows down the test suite with little
    benefit)
 
commit b88504a477730b430be41792837bc7435cc15df4
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 30 14:23:50 2009 +0000

    [todo] Remove completed global glyph cache.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 874823e..4875e23 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -146,23 +146,6 @@ 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)
-
  * Use MIT-SHM when available for X11.
 
    * [Example patch](http://cgit.freedesktop.org/~ickle/cairo/commit/?h=opengl&id=ffbb604a8dd3089bbd150eb81fa7dc0340a66755) as part of the [mime-surface](http://cgit.freedesktop.org/~ickle/cairo/log/?h=mime-surface) enhancement.
commit 9dae279bbcffe9063af041532baceed1656f940a
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 30 14:23:28 2009 +0000

    [todo] Add notes about spans.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index f11b8bb..874823e 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -129,6 +129,8 @@ Performance improvements
    single scanline pass rather than tessellating, rasterizing, then
    compositing the entire polygon.
 
+   * Partially completed by Joonas Pihlaja by implementing spans for fills, stroking however depends upon stroke-to-path and so currently fallbacks to using trapezoids.
+
  * SVG font embedding
    * [SVG fonts](http://www.w3.org/TR/SVG/fonts.html#SVGFonts)
    * [SVG text](http://www.w3.org/TR/SVG/text.html)
commit c2c7488c9768b088213e7bb36c53062534f03865
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 30 14:20:34 2009 +0000

    [todo] Rectilinear dashing complete.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index d5f90cc..f11b8bb 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -106,9 +106,6 @@ Further comparison of cairo with other vector graphics languages, and in particu
 Performance improvements
 ------------------------
 
- * Add dashing support to the fast-path rectilinear stroking
-   code, (will help GTK+ focus rectangle, for example)
-
  * Special-case extreme scaling of dashed lines i.e. when dashes are sub-tolerance
 
   To quote Carl, "We can take the maximum single length from the


More information about the cairo-commit mailing list