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

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

Issue 486493002: Merge AcceleratedCompositingForOverflowScroll into PreferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-overflowscroll: imagefailure Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // FIXME: Replace all callers with inCompositingMdoe and remove this functio n. 76 // FIXME: Replace all callers with inCompositingMdoe and remove this functio n.
77 bool staleInCompositingMode() const; 77 bool staleInCompositingMode() const;
78 // This will make a compositing layer at the root automatically, and hook up to 78 // This will make a compositing layer at the root automatically, and hook up to
79 // the native view/window system. 79 // the native view/window system.
80 void setCompositingModeEnabled(bool); 80 void setCompositingModeEnabled(bool);
81 81
82 // Returns true if the accelerated compositing is enabled 82 // Returns true if the accelerated compositing is enabled
83 bool hasAcceleratedCompositing() const { return m_hasAcceleratedCompositing; } 83 bool hasAcceleratedCompositing() const { return m_hasAcceleratedCompositing; }
84 bool layerSquashingEnabled() const; 84 bool layerSquashingEnabled() const;
85 85
86 bool acceleratedCompositingForOverflowScrollEnabled() const; 86 bool preferCompositingToLCDTextEnabled() const;
87 87
88 bool rootShouldAlwaysComposite() const; 88 bool rootShouldAlwaysComposite() const;
89 89
90 // Copy the accelerated compositing related flags from Settings 90 // Copy the accelerated compositing related flags from Settings
91 void updateAcceleratedCompositingSettings(); 91 void updateAcceleratedCompositingSettings();
92 92
93 // Used to indicate that a compositing update will be needed for the next fr ame that gets drawn. 93 // Used to indicate that a compositing update will be needed for the next fr ame that gets drawn.
94 void setNeedsCompositingUpdate(CompositingUpdateType); 94 void setNeedsCompositingUpdate(CompositingUpdateType);
95 95
96 void didLayout(); 96 void didLayout();
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 #if USE(RUBBER_BANDING) 254 #if USE(RUBBER_BANDING)
255 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 255 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
256 #endif 256 #endif
257 257
258 bool m_inOverlayFullscreenVideo; 258 bool m_inOverlayFullscreenVideo;
259 }; 259 };
260 260
261 } // namespace blink 261 } // namespace blink
262 262
263 #endif // RenderLayerCompositor_h 263 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698