co maintaining cairo cool community cool code
play

Co-maintaining cairo: cool community cool code Behdad Esfahbod - PowerPoint PPT Presentation

Co-maintaining cairo: cool community cool code Behdad Esfahbod Carl Worth behdad@redhat.com cworth@redhat.com GUADEC 2007, Birmingham, UK Intro GUADEC 2007, Birmingham, UK Rendering model GUADEC 2007, Birmingham, UK History GUADEC 2007,


  1. Co-maintaining cairo: cool community cool code Behdad Esfahbod Carl Worth behdad@redhat.com cworth@redhat.com GUADEC 2007, Birmingham, UK

  2. Intro GUADEC 2007, Birmingham, UK

  3. Rendering model GUADEC 2007, Birmingham, UK

  4. History GUADEC 2007, Birmingham, UK

  5. right left top bottom GUADEC 2007, Birmingham, UK

  6. April 2002 GUADEC 2007, Birmingham, UK

  7. Subject: Xr API strawman To: Keith Packard <keithp@keithp.com> Date: Tue, 4 Jun 2002 19:55:06 +0000 Hi Keith, I read up a bit on PostScript. It's the obvious source of the proposals you were making. I like it much better than GL as a model for Xr. It's cleaner in general, (IMHO). And PS has larger overlap with the primitives we want in Xr, (eg. bezier curves as opposed to just triangle meshes). So, here's what I'm thinking of so far. This sticks fairly close to PostScript, (but with an explicit rather than an implicit state object). Feedback welcome, -Carl GUADEC 2007, Birmingham, UK

  8. /* Opaque state structure */ typedef struct _XrState XrState; /* Functions for manipulating state objects */ /* XXX: Do we want to add `State' to any of these functions? eg. XrStateCreate, XrStateClone? */ XrState *XrCreate(void); void XrDestroy(XrState *xrs); void XrSave(XrState *xrs); void XrRestore(XrState *xrs); XrState *XrClone(XrState *xrs); /* Modify state */ void XrSetPicture(XrState *xrs, XrPicture) void XrSetColor(XrState *xrs, XrColor); /* XXX: XrSetLineWidth, XrSetLineCap, XrSetLineJoin, XrSetDash, ... */ /* Path creation */ /* XXX: I'm thinking that it might make sense to do away with the notion of a "current path" in the state object and instead provide functions to manipulate an opaque XrPath object. This would add one more argument to XrStroke/XrFill, but it would unify support for PS "user paths" */ void XrNewPath(XrState *xrs); void XrMoveTo(XrState *xrs, double x, double y); void XrLineTo(XrState *xrs, double x, double y); void XrClosePath(XrState *xrs); /* XXX: XrRLineTo, XrArc, XrCurveTo, XrRCurveTo, ... */ /* Render current path */ void XrStroke(XrState *xrs); void XrFill(XrState *xrs); GUADEC 2007, Birmingham, UK

  9. Committers 2002 2 2003 11 2004 12 2005 26 2006 54 2007 44 GUADEC 2007, Birmingham, UK

  10. Backends 2002-06 Xlib 2003-02 image 2003-10 PostScript 2004-04 XCB 2004-09 glitz 2005-01 Win32 2005-01 PDF 2005-01 Quartz 2005-12 SVG 2005-12 BeOS 2005-12 directfb 2006-09 OS/2 2007-02 Quartz ( New! ) GUADEC 2007, Birmingham, UK

  11. Bindings C++ Common Lisp D Haskell Java .NET Nickle O'Caml Perl PHP Python Ruby Scheme Squeak GUADEC 2007, Birmingham, UK

  12. News GUADEC 2007, Birmingham, UK

  13. Mutex rework GUADEC 2007, Birmingham, UK

  14. Error-handling GUADEC 2007, Birmingham, UK

  15. Great malloc hunt GUADEC 2007, Birmingham, UK

  16. PDF hotness GUADEC 2007, Birmingham, UK

  17. Xlib work queue GUADEC 2007, Birmingham, UK

  18. Lessons GUADEC 2007, Birmingham, UK

  19. If you don't git it, you don't get it GUADEC 2007, Birmingham, UK

  20. If you don't git it, you don't get it It's the Right Thing To Do GUADEC 2007, Birmingham, UK

  21. If you don't git it, you don't get it It's the Right Thing To Do GUADEC 2007, Birmingham, UK

  22. Tiny commits GUADEC 2007, Birmingham, UK

  23. Tiny commits Earn points faster GUADEC 2007, Birmingham, UK

  24. Tiny commits Earn points faster GUADEC 2007, Birmingham, UK

  25. Commit-access for everyone! GUADEC 2007, Birmingham, UK

  26. Tricking others into doing their work GUADEC 2007, Birmingham, UK

  27. Don't go AWOL GUADEC 2007, Birmingham, UK

  28. Why do we love cairo? GUADEC 2007, Birmingham, UK

  29. Why do you love cairo? GUADEC 2007, Birmingham, UK

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend