Use WebKit compositor in ui::Layer

BUG=99524
TEST=compositor_unittests


Review URL: http://codereview.chromium.org/8222028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106814 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
piman@chromium.org 2011-10-22 00:32:46 +00:00
Родитель 98dfe18792
Коммит fc6bee088b
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -51,6 +51,9 @@
'use_aura%': '<(use_aura)',
'use_openssl%': '<(use_openssl)',
# WebKit compositor for ui
'use_webkit_compositor%': 0,
# Compute the architecture that we're building on.
'conditions': [
[ 'OS=="win" or OS=="mac"', {
@ -101,6 +104,7 @@
'toolkit_views%': '<(toolkit_views)',
'use_only_pure_views%': '<(use_only_pure_views)',
'views_compositor%': '<(views_compositor)',
'use_webkit_compositor%': '<(use_webkit_compositor)',
'use_aura%': '<(use_aura)',
'use_openssl%': '<(use_openssl)',
@ -331,7 +335,7 @@
# 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_compositor==1 and OS=="linux" and use_webkit_compositor!=1', {
'ui_compositor_image_transport%': 1,
}, {
'ui_compositor_image_transport%': 0,
@ -349,6 +353,7 @@
'use_only_pure_views%': '<(use_only_pure_views)',
'views_compositor%': '<(views_compositor)',
'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
'use_webkit_compositor%': '<(use_webkit_compositor)',
'use_aura%': '<(use_aura)',
'use_openssl%': '<(use_openssl)',
'use_nss%': '<(use_nss)',
@ -954,6 +959,9 @@
['ui_compositor_image_transport==1', {
'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'],
}],
['use_webkit_compositor==1', {
'defines': ['USE_WEBKIT_COMPOSITOR=1'],
}],
['use_aura==1', {
'defines': ['USE_AURA=1'],
}],