Bug 93705 - graph with transparent background doesn't work in android OS 5.x
Summary: graph with transparent background doesn't work in android OS 5.x
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: gl backend (show other bugs)
Version: 1.12.16
Hardware: All Linux (All)
: medium normal
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-14 07:22 UTC by enli
Modified: 2018-08-25 13:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
the correct behavior should be red background of the whole graph view (59.71 KB, text/plain)
2016-01-14 07:22 UTC, enli
Details

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.