Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: build/common.gypi

Issue 8241012: Enable accelerated WebKit compositor for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 7635514e3a95b38e80e1719b2e9f74961536d5e9..512c8e9d3f10677d7fc363b77b9f663e27ce5603 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -327,6 +327,14 @@
'proprietary_codecs%': 1,
'enable_webrtc%': 0,
}],
+
+ # Use GPU accelerated cross process image transport by default
+ # on TOUCH_UI and linux builds with the Aura window manager
+ ['views_compositor==1 and OS=="linux"', {
+ 'views_gpu_image_transport%': 1,
+ }, {
+ 'views_gpu_image_transport%': 0,
+ }],
],
},
@@ -339,6 +347,7 @@
'toolkit_views%': '<(toolkit_views)',
'use_only_pure_views%': '<(use_only_pure_views)',
'views_compositor%': '<(views_compositor)',
+ 'views_gpu_image_transport%': '<(views_gpu_image_transport)',
'use_aura%': '<(use_aura)',
'use_openssl%': '<(use_openssl)',
'use_nss%': '<(use_nss)',
@@ -937,6 +946,9 @@
['views_compositor==1', {
'defines': ['VIEWS_COMPOSITOR=1'],
}],
+ ['views_gpu_image_transport==1', {
+ 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'],
+ }],
['use_aura==1', {
'defines': ['USE_AURA=1'],
}],
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_widget_host_view_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698