summaryrefslogtreecommitdiffstats
path: root/android_webview/javatests/src
diff options
context:
space:
mode:
authorsievers <sievers@chromium.org>2014-08-29 19:19:00 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-30 02:22:36 +0000
commit625a78652e170011fd3590ec9791919f8c1093f0 (patch)
tree2df993e570c4c90a405f29c6d32dae453ae07338 /android_webview/javatests/src
parentb1394741221e9e21b129d10b654b5a547260af8c (diff)
downloadchromium_src-625a78652e170011fd3590ec9791919f8c1093f0.zip
chromium_src-625a78652e170011fd3590ec9791919f8c1093f0.tar.gz
chromium_src-625a78652e170011fd3590ec9791919f8c1093f0.tar.bz2
android: Use hw acceleration in android_webview_shell
This creates a (GL)SurfaceView overlay on top of the shell container view which runs its own thread for rendering. It calls into the native draw functor through a small dynamic library (drawgl.so). Committed previously: https://chromium.googlesource.com/chromium/src/+/09acbf59e7e8f1de574498ee5ba8eae0b0775438 Review URL: https://codereview.chromium.org/414503004 Cr-Commit-Position: refs/heads/master@{#292761}
Diffstat (limited to 'android_webview/javatests/src')
-rw-r--r--android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java2
-rw-r--r--android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
index 5640ea1..f6d0923 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
@@ -65,7 +65,7 @@ public class AndroidScrollIntegrationTest extends AwTestBase {
new OverScrollByCallbackHelper();
public ScrollTestContainerView(Context context) {
- super(context);
+ super(context, false);
}
public CallbackHelper getOnScrollToCallbackHelper() {
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
index 97f3312..ac85439 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
@@ -274,7 +274,7 @@ public class AwTestBase
*/
public static class TestDependencyFactory extends AwContents.DependencyFactory {
public AwTestContainerView createAwTestContainerView(AwTestRunnerActivity activity) {
- return new AwTestContainerView(activity);
+ return new AwTestContainerView(activity, false);
}
public AwSettings createAwSettings(Context context, boolean supportsLegacyQuirks) {
return new AwSettings(context, false, supportsLegacyQuirks);