diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 08:15:02 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 08:15:02 +0000 |
commit | 2444230e20fa4c8dceb4cd5052f273694350262f (patch) | |
tree | 2a87f48c2fd7934c3b2c8a106dba45c3117e12f6 /android_webview/browser | |
parent | b8716d582ef93a8b1d6b1c0c31a01191936ae7a0 (diff) | |
download | chromium_src-2444230e20fa4c8dceb4cd5052f273694350262f.zip chromium_src-2444230e20fa4c8dceb4cd5052f273694350262f.tar.gz chromium_src-2444230e20fa4c8dceb4cd5052f273694350262f.tar.bz2 |
[Android WebView] Reduce fallback tick to 20ms
Applications depending on webview to make progress while in
the background depends on this to be as fast as regular
draws. At 60fps, draws should be at least 16.6ms apart.
Reduce fallback tick to 20ms to be slightly more than the
period in draws.
BUG=
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/21884007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/browser')
-rw-r--r-- | android_webview/browser/in_process_view_renderer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android_webview/browser/in_process_view_renderer.cc b/android_webview/browser/in_process_view_renderer.cc index 1dac3ca..c8d54a1 100644 --- a/android_webview/browser/in_process_view_renderer.cc +++ b/android_webview/browser/in_process_view_renderer.cc @@ -127,7 +127,7 @@ AwDrawSWFunctionTable* g_sw_draw_functions = NULL; // as a fallback mechanism, which will have an important performance impact. bool g_is_skia_version_compatible = false; -const int64 kFallbackTickTimeoutInMilliseconds = 500; +const int64 kFallbackTickTimeoutInMilliseconds = 20; class ScopedAllowGL { public: |