There will likely be compositing layers either due to web content or due to overlays. Defer initialization of OpenGL objects (i.e., delay creation of the LayerRenderer object) until we actually need to draw and there are such layers, to avoid initializing OpenGL in the unlikely case that there are no compositing layers or overlay layers. PR #156811 Please note that this has not been internally reviewed yet, so it needs actual review. And also, it has a dependency that needs to be landed first.
Created attachment 144241 [details] Patch
Comment on attachment 144241 [details] Patch Looks good to me.
Comment on attachment 144241 [details] Patch Ok.
Comment on attachment 144241 [details] Patch Clearing flags on attachment: 144241 Committed r118704: <http://trac.webkit.org/changeset/118704>
All reviewed patches have been landed. Closing bug.