<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@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emanuele.aina@collabora.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@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>