[cairo-bugs] [Bug 57289] New: Cairo context should provide cairo_set_target

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 19 11:47:32 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57289

          Priority: medium
            Bug ID: 57289
          Assignee: chris at chris-wilson.co.uk
           Summary: Cairo context should provide cairo_set_target
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: kb9vqf at pearsoncomputing.net
          Hardware: Other
            Status: NEW
           Version: 1.12.8
         Component: general
           Product: cairo

The cairo context cairo_t should provide a method to set the current target
surface if the new target surface is compatible with the original target
surface.

This new method would speed up drawing operations in a library I am working on;
currently there is no way to either
1.) Change the cairo context target surface while keeping the state stack
intact
-OR-
2.) Retrieve current or saved painter states and transfer them to a new context

I do not want to keep track of the various painter states inside my library due
to the additional complexity and subsequent maintenance concerns.  As a result,
I am essentially forced to draw onto an intermediate target surface, then paint
the contents of that surface onto multiple target surfaces via slow compositing
operations.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20121119/8d12250c/attachment.html>


More information about the cairo-bugs mailing list