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

Unified Diff: build/features_override.gypi

Issue 3117023: Enable accelerated 2D canvas at compile time (still protected by a runtim... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/features_override.gypi
===================================================================
--- build/features_override.gypi (revision 56527)
+++ build/features_override.gypi (working copy)
@@ -58,27 +58,21 @@
# through GYP_DEFINES.
'variables': {
'use_accelerated_compositing%': 0,
- 'accelerated_2d_canvas%': 0,
'enable_svg%': 1,
'enable_touch_events%': 1,
},
'use_accelerated_compositing%': '<(use_accelerated_compositing)',
- 'accelerated_2d_canvas%': '<(accelerated_2d_canvas)',
'enable_svg%': '<(enable_svg)',
'enable_touch_events%': '<(enable_touch_events)',
'conditions': [
['OS=="win" or OS=="linux" or OS=="mac" or use_accelerated_compositing==1', {
'feature_defines': [
- 'WTF_USE_ACCELERATED_COMPOSITING=1',
- 'ENABLE_3D_RENDERING=1',
+ 'WTF_USE_ACCELERATED_COMPOSITING=1',
+ 'ENABLE_3D_RENDERING=1',
+ 'ENABLE_ACCELERATED_2D_CANVAS=1',
],
'use_accelerated_compositing': 1,
}],
- ['accelerated_2d_canvas==1', {
- 'feature_defines': [
- 'ENABLE_ACCELERATED_2D_CANVAS=1',
- ]
- }]
],
# TODO: If the need arises, create a mechanism that will intelligently
# merge the lists rather than replace one with the other. This may
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698