<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 - graph with transparent background doesn't work in android OS 5.x"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93705">93705</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>graph with transparent background doesn't work in android OS 5.x
          </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>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>gl backend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>enli@microstrategy.com
          </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=121015" name="attach_121015" title="the correct behavior should be red background of the whole graph view">attachment 121015</a> <a href="attachment.cgi?id=121015&action=edit" title="the correct behavior should be red background of the whole graph view">[details]</a></span>
the correct behavior should be red background of the whole graph view

I'm using cairo-gl libarary to render graph with custom animation on android
TextureView. 

1). I want to render a graph with transparent(i means the whole textureView
should be transparent, the view under textureView should be seen), is there any
good solutions?

2). I find a work round, use "cairo_surface_map_to_image" before i render graph
to capture the backgound image and use "cairo_surface_unmap_image" to show the
background before i start animation for every frame drawing.But, unfortunately,
this doesn't work for OS after 5.x, i will get a whole black background image,
is there anything wrong for "cairo_surface_map_to_image" and
"cairo_surface_unmap_image" in latest OS version?

Add attachment pic with the black background. the correct behavior should be
red background of the whole graph view.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>