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

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h

Issue 1393083003: Implement interest rects for synchronized paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 void updateDirectCompositingReasons(PaintLayer*); 174 void updateDirectCompositingReasons(PaintLayer*);
175 175
176 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } 176 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; }
177 177
178 private: 178 private:
179 #if ENABLE(ASSERT) 179 #if ENABLE(ASSERT)
180 void assertNoUnresolvedDirtyBits(); 180 void assertNoUnresolvedDirtyBits();
181 #endif 181 #endif
182 182
183 // GraphicsLayerClient implementation 183 // GraphicsLayerClient implementation
184 void paintContentsIfNeeded(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase) const override;
184 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain tingPhase, const IntRect&) const override; 185 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain tingPhase, const IntRect&) const override;
185 186
186 bool isTrackingPaintInvalidations() const override; 187 bool isTrackingPaintInvalidations() const override;
187 188
188 void updateWithoutAcceleratedCompositing(CompositingUpdateType); 189 void updateWithoutAcceleratedCompositing(CompositingUpdateType);
189 void updateIfNeeded(); 190 void updateIfNeeded();
190 191
191 void ensureRootLayer(); 192 void ensureRootLayer();
192 void destroyRootLayer(); 193 void destroyRootLayer();
193 194
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 248
248 // Layers for overflow controls 249 // Layers for overflow controls
249 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; 250 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
250 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 251 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
251 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 252 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
252 }; 253 };
253 254
254 } // namespace blink 255 } // namespace blink
255 256
256 #endif // PaintLayerCompositor_h 257 #endif // PaintLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698