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

Side by Side Diff: Source/core/rendering/compositing/CompositingTriggers.h

Issue 244193002: Enable universal accelerated overflow scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update test expectations for crashing test. Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 15 matching lines...) Expand all
26 26
27 enum CompositingTrigger { 27 enum CompositingTrigger {
28 ThreeDTransformTrigger = 1 << 0, 28 ThreeDTransformTrigger = 1 << 0,
29 VideoTrigger = 1 << 1, 29 VideoTrigger = 1 << 1,
30 PluginTrigger = 1 << 2, 30 PluginTrigger = 1 << 2,
31 CanvasTrigger = 1 << 3, 31 CanvasTrigger = 1 << 3,
32 AnimationTrigger = 1 << 4, 32 AnimationTrigger = 1 << 4,
33 FilterTrigger = 1 << 5, 33 FilterTrigger = 1 << 5,
34 ScrollableInnerFrameTrigger = 1 << 6, 34 ScrollableInnerFrameTrigger = 1 << 6,
35 GPURasterizationTrigger = 1 << 7, 35 GPURasterizationTrigger = 1 << 7,
36
36 // FIXME: This is a temporary trigger for enabling the old, opt-in path for 37 // FIXME: This is a temporary trigger for enabling the old, opt-in path for
37 // accelerated overflow scroll. It should be removed once the "universal" 38 // accelerated overflow scroll. It should be removed once the "universal"
38 // path is ready (crbug.com/254111). 39 // path is ready (crbug.com/254111).
40 // Currently there is no way to enable this trigger, which means we can
41 // remove it once we're confident in the current codepaths.
39 LegacyOverflowScrollTrigger = 1 << 8, 42 LegacyOverflowScrollTrigger = 1 << 8,
43
40 OverflowScrollTrigger = 1 << 9, 44 OverflowScrollTrigger = 1 << 9,
41 ViewportConstrainedPositionedTrigger = 1 << 10, 45 ViewportConstrainedPositionedTrigger = 1 << 10,
42 AllCompositingTriggers = 0xFFFFFFFF, 46 AllCompositingTriggers = 0xFFFFFFFF,
43 }; 47 };
44 48
45 typedef unsigned CompositingTriggerFlags; 49 typedef unsigned CompositingTriggerFlags;
46 50
47 } 51 }
48 52
49 #endif 53 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/CompositingReasonFinder.cpp ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698