WebGL performance with osmesa is unusably slow. Disable WebGL support until a working desktop or egl implementation is available.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@124 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
c6be988e89
commit
1911b23bf5
2
cef.gyp
2
cef.gyp
|
@ -160,7 +160,6 @@
|
|||
'../third_party/libpng/libpng.gyp:libpng',
|
||||
'../third_party/libxml/libxml.gyp:libxml',
|
||||
'../third_party/libxslt/libxslt.gyp:libxslt',
|
||||
'../third_party/mesa/mesa.gyp:osmesa',
|
||||
'../third_party/modp_b64/modp_b64.gyp:modp_b64',
|
||||
'../third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:pcre',
|
||||
'../third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
|
||||
|
@ -354,7 +353,6 @@
|
|||
'../third_party/libpng/libpng.gyp:libpng',
|
||||
'../third_party/libxml/libxml.gyp:libxml',
|
||||
'../third_party/libxslt/libxslt.gyp:libxslt',
|
||||
'../third_party/mesa/mesa.gyp:osmesa',
|
||||
'../third_party/modp_b64/modp_b64.gyp:modp_b64',
|
||||
'../third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:pcre',
|
||||
'../third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
|
||||
|
|
|
@ -55,7 +55,7 @@ class BrowserWebKitInit : public webkit_glue::WebKitClientImpl {
|
|||
WebKit::WebRuntimeFeatures::enableSockets(true);
|
||||
WebKit::WebRuntimeFeatures::enableApplicationCache(true);
|
||||
WebKit::WebRuntimeFeatures::enableDatabase(true);
|
||||
WebKit::WebRuntimeFeatures::enableWebGL(true);
|
||||
WebKit::WebRuntimeFeatures::enableWebGL(false);
|
||||
WebKit::WebRuntimeFeatures::enablePushState(true);
|
||||
WebKit::WebRuntimeFeatures::enableNotifications(true);
|
||||
WebKit::WebRuntimeFeatures::enableTouch(true);
|
||||
|
|
|
@ -147,7 +147,7 @@ void CefProcessUIThread::Init() {
|
|||
net::SSLClientSocketNSSFactory);
|
||||
#endif
|
||||
|
||||
gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL);
|
||||
gfx::InitializeGLBindings(gfx::kGLImplementationNone);
|
||||
|
||||
URLRequest::RegisterProtocolFactory("blob", &BlobURLRequestJobFactory);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue