diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 06:23:04 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 06:23:04 +0000 |
commit | 220e908a24ce7805baede951409585e8cfe0db84 (patch) | |
tree | e26f37b5919590ee5cab114f71bd230ef749c462 /android_webview/test | |
parent | bb664cfb48112bae9d753e567298aacb4436032c (diff) | |
download | chromium_src-220e908a24ce7805baede951409585e8cfe0db84.zip chromium_src-220e908a24ce7805baede951409585e8cfe0db84.tar.gz chromium_src-220e908a24ce7805baede951409585e8cfe0db84.tar.bz2 |
aw: Move HardwareRenderer out of BrowserViewRenderer
Hardware initialization now is done as part of HardwareRenderer constructor
and destructor. AwContents now directly owns HardwareRenderer and post
results back to BrowserViewRenderer where needed.
Expose View.executeHardwareAction to chromium and use it to run hardware
only code.
Also take this opportunity to clean up unneeded public draw_gl.h and
draw_sw.h interfaces.
Rolled corresponding AOSP change:
https://android-review.googlesource.com/#/c/83824/
BUG=344087
NOTRY=true
Review URL: https://codereview.chromium.org/185133003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254957 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 | 5 |
1 files changed, 5 insertions, 0 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 c1e8073..86cc22d 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 @@ -255,5 +255,10 @@ public class AwTestContainerView extends FrameLayout { public boolean requestDrawGL(Canvas canvas) { return false; } + + @Override + public boolean executeHardwareAction(Runnable action) { + return false; + } } } |