My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 136: enable WebGL once it works with Angle and accelerated compositing
4 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  magreenb...@gmail.com
Closed:  May 2011


Sign in to add a comment
 
Project Member Reported by magreenb...@gmail.com, Oct 26, 2010
There are two fast implementations of WebGL currently available as part of the Chromium WebKit API:

1. DesktopGL. This implementation uses the default system OpenGL drivers. It requires OpenGL version 1.2 or newer and currently only works if accelerated compositing is disabled.

2. EGL. This implementation uses the Angle library (https://code.google.com/p/angleproject/) to implement the OpenGL ES protocol on top of Direct3D. It provides the best compatibility for the majority of systems but does not currently work (https://bugs.webkit.org/show_bug.cgi?id=48282).

The attached patch against CEF revision 126 enables the desktop implementation of WebGL and disables accelerated compositing.  It can be used for WebGL testing purposes but is not recommended for general release because (a) it requires the client system to have OpenGL 1.2 or newer graphics drivers, and (b) disabling accelerated compositing can potentially hurt rendering performance in other areas.

More information on WebGL implementation problems can be found here:
http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/26ce7cbbc758a504#

More information on accelerated compositing can be found here:
http://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-in-chrome
desktop_webgl_r126.patch
2.1 KB   View   Download
Oct 26, 2010
Project Member #1 magreenb...@gmail.com
The WebGraphicsContext3D object is required to support accelerated compositing of 3D CSS and so revision 128 restores the creation of this object.
Oct 27, 2010
Project Member #2 magreenb...@gmail.com
The bug for making WebGL work with accelerated compositing is here: http://crbug.com/60924
Oct 28, 2010
Project Member #3 magreenb...@gmail.com
Revision 129 enables the WebGL desktop implementation which is now working in combination with accelerated compositing in Chromium revision 64233. The plan is still to switch over to Angle (or provide an option) once the EGL implementation is working.
May 16, 2011
Project Member #4 magreenb...@gmail.com
Angle support has been enabled in revision 233. libEGL.dll and libGLESv2.dll will now need to be distributed with applications using accelerated compositing on the Windows platform.

This change was necessitated by a bug in the DesktopGL implementation with Chromium revision 85305. See https://bugs.webkit.org/show_bug.cgi?id=60896 for more information.
Status: Fixed
May 20, 2011
Project Member #5 magreenb...@gmail.com
Note that Angle is only supported on the Windows platform. Mac uses the desktop GL implementation (fixed in revision 238) and is not experiencing the bug described in comment #4.
Sign in to add a comment

Powered by Google Project Hosting