Title: [107697] trunk/Tools
Revision
107697
Author
[email protected]
Date
2012-02-14 02:41:03 -0800 (Tue, 14 Feb 2012)

Log Message

Enable the GPU codepath in the chromium-android port
https://bugs.webkit.org/show_bug.cgi?id=78580

Reviewed by James Robinson.

Suprise!  There is no ChromiumGpuAndroidPort!  Instead, Chromium
Android always uses the GPU codepath, so we set the GPU flags on the
main chromium-android port instead.

* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort.__init__):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (107696 => 107697)


--- trunk/Tools/ChangeLog	2012-02-14 10:38:54 UTC (rev 107696)
+++ trunk/Tools/ChangeLog	2012-02-14 10:41:03 UTC (rev 107697)
@@ -1,5 +1,19 @@
 2012-02-14  Adam Barth  <[email protected]>
 
+        Enable the GPU codepath in the chromium-android port
+        https://bugs.webkit.org/show_bug.cgi?id=78580
+
+        Reviewed by James Robinson.
+
+        Suprise!  There is no ChromiumGpuAndroidPort!  Instead, Chromium
+        Android always uses the GPU codepath, so we set the GPU flags on the
+        main chromium-android port instead.
+
+        * Scripts/webkitpy/layout_tests/port/chromium_android.py:
+        (ChromiumAndroidPort.__init__):
+
+2012-02-14  Adam Barth  <[email protected]>
+
         NRWT should expose --adb-args flag for Android
         https://bugs.webkit.org/show_bug.cgi?id=78579
 

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py (107696 => 107697)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py	2012-02-14 10:38:54 UTC (rev 107696)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py	2012-02-14 10:41:03 UTC (rev 107697)
@@ -125,9 +125,15 @@
     def __init__(self, host, port_name, **kwargs):
         chromium.ChromiumPort.__init__(self, host, port_name, **kwargs)
 
+        # The chromium-android port always uses the GPU code path, so we set
+        # these options here, almost as if this was the chromium-gpu-android
+        # port.
+        self._options.accelerated_2d_canvas = True
+        self._options.accelerated_video = True
+
         self._operating_system = 'android'
         self._version = 'icecreamsandwich'
-        # TODO: we may support other architectures in the future.
+        # FIXME: we may support other architectures in the future.
         self._architecture = 'arm'
         self._original_governor = None
         self._android_base_dir = None
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to