I want to know how to set the transparency for CEF3's offscreen rendered output image in linux.
Example screenshots are shown in http://magpcss.org/ceforum/viewtopic.php?f=6&t=11438
I could see that this mode (offscreen rendering + transparency) is supported for windows. Also I see examples for Transparecy tests in Linux builds of cefclient.
Below are my current observations:
1.
I have set window to be transparent with below code.
- Code: Select all
CefWindowInfo window_info;
window_info.SetAsWindowless(0/* parent */, true/* transparent */);
Values of Alhpa in each pixel of RGBA output is always being set to 0xFF. (even if transparent flag set to false)
2. I am looking for, "How to set the transparency level in CEF, like transparency level between 0 to 100"
So my custom renderer can blend the transparent output of CEF3 into another image.
I trying out this experiment with cef_binary_3.2171.2069_linux64 build.
Thanks in advance.