[cairo-bugs] [Bug 11379] New: Callback based pixel backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 26 09:30:33 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11379

           Summary: Callback based pixel backend
           Product: cairo
           Version: 1.4.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: simon at gimp.org
         QAContact: cairo-bugs at cairographics.org


For Gimp we still use libart for certain operations and we would appreciate it,
if we could replace it with Cairo at some point. We still miss functionality
though:

Libart provides art_svp_render_aa(), which provides a callback based way to get
calculated pixel values (fixed point values), but leaves it up to the callback
to actually put these pixels in e.g. a bitmap.

This enables us to composite the drawing on existing pixel data and removing
unwanted antialiasing as well as using our own data structures for the pixels.

For cairo this probably could be implemented as a specific backend, which does
all the rendering-to-pixels-math, but instead of storing these into a bitmap
and handing the bitmap to the application would just invoke callbacks specified
by the application.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list