[cairo-bugs] [Bug 93705] New: graph with transparent background doesn't work in android OS 5.x

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 13 23:22:19 PST 2016


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

            Bug ID: 93705
           Summary: graph with transparent background doesn't work in
                    android OS 5.x
           Product: cairo
           Version: 1.12.16
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gl backend
          Assignee: cairo-bugs at cairographics.org
          Reporter: enli at microstrategy.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 121015
  --> https://bugs.freedesktop.org/attachment.cgi?id=121015&action=edit
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.

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


More information about the cairo-bugs mailing list