[cairo-commit] [cairo-www] src/todo.mdwn src/user_backends.mdwn

Jeff Muizelaar jrmuizel at freedesktop.org
Wed Dec 10 12:29:36 PST 2008


 src/todo.mdwn          |    2 +-
 src/user_backends.mdwn |   22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

New commits:
commit 4d962f8a1e6bfbf5260f39c2ae944fee3421b26d
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date:   Wed Dec 10 15:29:16 2008 -0500

    Add a new page for sketching out user backend API

diff --git a/src/todo.mdwn b/src/todo.mdwn
index c3c2c2f..00b25a2 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -92,7 +92,7 @@ Changes that add new API (API changes/removals will not be considered)
 
    Obviously it will need a real name first.
 
- * Add support for backends implemented in external libraries.
+ * Add support for backends implemented in external libraries. See: [user_backends]
 
  * Export `cairo_surface_snapshot`
 
diff --git a/src/user_backends.mdwn b/src/user_backends.mdwn
new file mode 100644
index 0000000..e0e58d1
--- /dev/null
+++ b/src/user_backends.mdwn
@@ -0,0 +1,22 @@
+[[meta title="User backends"]]
+
+Use Cases
+=========
+ * Decode on draw for compressed and palleted/indexed images. This would be useful for Firefox and a reimplementation of GdkPixbuf
+ * Full backends implemented outside of cairo proper
+
+Proposals
+=========
+ * Chris Wilson's mime-surface (http://lists.freedesktop.org/archives/cairo/2008-November/015785.html)
+
+Related APIs
+============
+For reference here's some similar API in quartz:
+- CGImageSource
+- CGImageCreateWithJPEGDataProvider which is implemented with
+  CGImageSourceCreateWithDataProvider
+- CGImageSourceCreateIncremental
+- CGImageSourceUpdateData
+
+http://developer.apple.com/documentation/GraphicsImaging/Reference/CGImageSource/Reference/reference.html
+


More information about the cairo-commit mailing list