cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

"Flot" Graphs don't display with accelerated compositing enabled #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using the cefClient, browse to 
http://people.iola.dk/olau/flot/examples/basic.html
2. or Using "Flot" graphs at all in a project within CEF

What is the expected output? What do you see instead?
Should see a basic graph (browse to that link in a browser to see), but instead 
the graph is completely blank.

What version of the product are you using? On what operating system?
cef_binary_r195_VS2008 on Windows XP SP3

Please provide any additional information below.

We are using the Flot graphing control in a project using CEF. The last version 
of CEF that we tried (cef_binary_r100_VS2005-VS2008) and versions before that 
worked fine with Flot. This version seems as if the graph is invisible. 

However, it seems as if the actual graph functionality is still there. 
For example, using the cefClient, browse to 
http://people.iola.dk/olau/flot/examples/selection.html
In this example, you can normally drag with the mouse to select a range on the 
graph. Although in CEF the graph is missing, you can still drag your mouse 
across where the graph should be and see the "You selected: " values update as 
if the graph functionality is still there.

Original issue reported on code.google.com by rwstoneb...@gmail.com on 23 Mar 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Flot graphs work if you disable accelerated compositing. Set 
CefBrowserSettings.accelerated_compositing_disabled to true.

Original comment by magreenb...@gmail.com on 23 Mar 2011 at 3:03

GoogleCodeExporter commented 9 years ago
awesome. Works great. Thank you.

Original comment by rwstoneb...@gmail.com on 23 Mar 2011 at 3:06

GoogleCodeExporter commented 9 years ago
Is this something that was just disabled by default in earlier projects (or 
non-existent), or did something change with it for it to have to be disabled? 
Am I losing some speed by doing this?

Original comment by rwstoneb...@gmail.com on 23 Mar 2011 at 3:14

GoogleCodeExporter commented 9 years ago
Accelerated compositing support was added in revision 149. Certain features 
like CSS 3D transforms and WebGL won't work with accelerated compositing 
disabled. More information on accelerated compositing is available here:
http://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-
in-chrome

Original comment by magreenb...@gmail.com on 23 Mar 2011 at 3:34

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 23 Mar 2011 at 3:34

GoogleCodeExporter commented 9 years ago
Flot graphs appear to be working with accelerated compositing enabled on 
Windows with CEF revision 243.

Original comment by magreenb...@gmail.com on 23 May 2011 at 11:53