<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 - add convenience functions to create surface with file descriptor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107598">107598</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>add convenience functions to create surface with file descriptor
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>chpe@gnome.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=141152" name="attach_141152" title="patch">attachment 141152</a> <a href="attachment.cgi?id=141152&action=edit" title="patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=107598&attachment=141152'>[review]</a>
patch

There are already functions to create surfaces for filenames and streams; that
attached patch adds the API to do the same for file descriptor.

While it is true that this can already be accomplished by using the stream
functions with a custom write function, that's leading to code duplication, and
is not as convenient as a simple API call. Also, cairo internally already has
all the code in cairo-output-stream.c to handle this; all it needs is be
exposed.</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>