diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 08:29:39 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 08:29:39 +0000 |
commit | 2d32fe0a2958b1cfc4739f76f14f306af17293f2 (patch) | |
tree | e56ab6c0e22ffd357ee610d3e1a3a7d4b94538e7 /android_webview/test | |
parent | 7f9287d47599b4688fd974f93240b08c72c67575 (diff) | |
download | chromium_src-2d32fe0a2958b1cfc4739f76f14f306af17293f2.zip chromium_src-2d32fe0a2958b1cfc4739f76f14f306af17293f2.tar.gz chromium_src-2d32fe0a2958b1cfc4739f76f14f306af17293f2.tar.bz2 |
Add synchronous requestDrawGL
And stop using executeHardwareAction and use synchronous
requestDrawGL. The branching structure needs to happen in DrawGL.
Add a queue of closures to SharedRendererState. So the general pattern is
1. Add closure to queue
2. requestDrawGL
Need to be careful not to let the queue grow unboundedly if requestDrawGL
returns false.
BUG=
Review URL: https://codereview.chromium.org/255023004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267484 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/test')
-rw-r--r-- | android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java index a106096..e82c29b 100644 --- a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java +++ b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java @@ -254,12 +254,7 @@ public class AwTestContainerView extends FrameLayout { } @Override - public boolean requestDrawGL(Canvas canvas) { - return false; - } - - @Override - public boolean executeHardwareAction(Runnable action) { + public boolean requestDrawGL(Canvas canvas, boolean waitForCompletion) { return false; } } |