Bug 93705

Summary: graph with transparent background doesn't work in android OS 5.x
Product: cairo Reporter: enli
Component: gl backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.16   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: the correct behavior should be red background of the whole graph view

Description enli 2016-01-14 07:22:19 UTC
Created attachment 121015 [details]
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.
Comment 1 GitLab Migration User 2018-08-25 13:43:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/162.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.