[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 88203] New: Replaying recording surfaces with OVER has far worse performance than 
From:       bugzilla-daemon () freedesktop ! org
Date:       2015-01-08 16:29:36
Message-ID: bug-88203-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

--1420734577.a0fb17.25146
Date: Thu, 8 Jan 2015 16:29:37 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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

            Bug ID: 88203
           Summary: Replaying recording surfaces with OVER has far worse
                    performance than when using the SOURCE operator
           Product: cairo
           Version: 1.12.16
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris@chris-wilson.co.uk
          Reporter: emanuele.aina@collabora.com
        QA Contact: cairo-bugs@cairographics.org

I have some code that collects some partial redrawing of a surface in a
recording surface and then later replays it on the target surface.

I've noticed that when using the OVER operator the replay is surprisingly slow,
ie. the overhead over painting directly on the target is noticeable.

When using the SOURCE operator things get back to my expectations and the
overhead is negligible, but unfortunately the SOURCE operators clears the
target surface, destroying all the areas that don't get redrawn and thus making
it unfit for my purposes.

I'd like to have a way to replay the recording surface without any clearing and
without any intermediate surface.

Shouldn't the OVER operator do that? In what cases replaying directly on the
target would differ from replaying to an intermediate surface and composite it
with OVER?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

--1420734577.a0fb17.25146
Date: Thu, 8 Jan 2015 16:29:37 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Replaying recording surfaces with OVER has far worse performance than \
when using the SOURCE operator"  \
href="https://bugs.freedesktop.org/show_bug.cgi?id=88203">88203</a>  </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Replaying recording surfaces with OVER has far worse performance than \
when using the SOURCE operator  </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.16
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris&#64;chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emanuele.aina&#64;collabora.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs&#64;cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have some code that collects some partial redrawing of a surface in a
recording surface and then later replays it on the target surface.

I've noticed that when using the OVER operator the replay is surprisingly slow,
ie. the overhead over painting directly on the target is noticeable.

When using the SOURCE operator things get back to my expectations and the
overhead is negligible, but unfortunately the SOURCE operators clears the
target surface, destroying all the areas that don't get redrawn and thus making
it unfit for my purposes.

I'd like to have a way to replay the recording surface without any clearing and
without any intermediate surface.

Shouldn't the OVER operator do that? In what cases replaying directly on the
target would differ from replaying to an intermediate surface and composite it
with OVER?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>

--1420734577.a0fb17.25146--


[Attachment #3 (text/plain)]

_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic