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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1452353002: Turn off computation of the interest rect in cc in synchronized paint mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 void setScrollableArea(ScrollableArea*, bool isViewport); 240 void setScrollableArea(ScrollableArea*, bool isViewport);
241 ScrollableArea* scrollableArea() const { return m_scrollableArea; } 241 ScrollableArea* scrollableArea() const { return m_scrollableArea; }
242 242
243 WebContentLayer* contentLayer() const { return m_layer.get(); } 243 WebContentLayer* contentLayer() const { return m_layer.get(); }
244 244
245 static void registerContentsLayer(WebLayer*); 245 static void registerContentsLayer(WebLayer*);
246 static void unregisterContentsLayer(WebLayer*); 246 static void unregisterContentsLayer(WebLayer*);
247 247
248 // GraphicsContextPainter implementation. 248 // GraphicsContextPainter implementation.
249 IntRect interestRect();
249 void paint(GraphicsContext&, const IntRect* interestRect) override; 250 void paint(GraphicsContext&, const IntRect* interestRect) override;
250 251
251 // WebCompositorAnimationDelegate implementation. 252 // WebCompositorAnimationDelegate implementation.
252 void notifyAnimationStarted(double monotonicTime, int group) override; 253 void notifyAnimationStarted(double monotonicTime, int group) override;
253 void notifyAnimationFinished(double monotonicTime, int group) override; 254 void notifyAnimationFinished(double monotonicTime, int group) override;
254 255
255 // WebLayerScrollClient implementation. 256 // WebLayerScrollClient implementation.
256 void didScroll() override; 257 void didScroll() override;
257 258
258 PaintController* paintController() override; 259 PaintController* paintController() override;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 }; 379 };
379 380
380 } // namespace blink 381 } // namespace blink
381 382
382 #ifndef NDEBUG 383 #ifndef NDEBUG
383 // Outside the blink namespace for ease of invocation from gdb. 384 // Outside the blink namespace for ease of invocation from gdb.
384 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 385 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
385 #endif 386 #endif
386 387
387 #endif // GraphicsLayer_h 388 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698