Hello All,
I am working on the Chromium OS version 0.14.607.2011_06_07_1344 for ARM platform.
I am looking out for GPU based hardware acceleration for Canvas and 3D CSS based demos.
In my current setup where i am considering the below as benchmarking demos
My Observation so far is :-
- I get the FPS counter(top left corner) only if i add the --force-compositing-mode flag else i dont get it for asteroids,but i get it for 3D CSS demos.
- Even if i add the flag there is no major performance improvement.
i further did a code analysis to find that :
In the file "chromium/src/third_party/WebKit/Source/WebCore/rendering/RenderLayerCompositor.cpp" the function
"bool RenderLayerCompositor::requiresCompositingForCanvas(RenderObject* renderer)" does not enter the loop
"if (renderer->isCanvas())"
hence i think this is the reason canvas is not accelerated.
Please tell me if i am correct??
Also i find that whenever a canvas demo is played the control goes to isStyleChanged() code where as if any video is played in browser it goes to isContentChanged() code part.
From all the above observation i want to know the below queries:
- Is the Canvas/3D CSS GPU accelerated for my version of chromium OS , or is the development still going on??
- How is the Skia accelerated in case of 2D which can be in turn used to accelerate canvas?? (my hardware has 2D acceleration through X driver)
Any comments or suggestion w r t the above issues will be greatly helpful.
Thanks in advance,
-Shirish S