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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 763493003: Track scissored damage area for WebGL Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/rendering/RenderImage.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 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 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 IntSize size() const; 134 IntSize size() const;
135 135
136 LayoutRect rect() const { return LayoutRect(location(), LayoutSize(size())); } 136 LayoutRect rect() const { return LayoutRect(location(), LayoutSize(size())); }
137 137
138 bool isRootLayer() const { return m_isRootLayer; } 138 bool isRootLayer() const { return m_isRootLayer; }
139 139
140 RenderLayerCompositor* compositor() const; 140 RenderLayerCompositor* compositor() const;
141 141
142 // Notification from the renderer that its content changed (e.g. current fra me of image changed). 142 // Notification from the renderer that its content changed (e.g. current fra me of image changed).
143 // Allows updates of layer content without invalidating paint. 143 // Allows updates of layer content without invalidating paint.
144 void contentChanged(ContentChangeType); 144 void contentChanged(ContentChangeType, const IntRect&);
145 145
146 void updateLayerPositionsAfterLayout(); 146 void updateLayerPositionsAfterLayout();
147 147
148 bool isPaginated() const { return m_isPaginated; } 148 bool isPaginated() const { return m_isPaginated; }
149 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination Layer; } 149 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination Layer; }
150 150
151 void updateTransformationMatrix(); 151 void updateTransformationMatrix();
152 RenderLayer* renderingContextRoot(); 152 RenderLayer* renderingContextRoot();
153 153
154 // Our current relative position offset. 154 // Our current relative position offset.
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 682
683 } // namespace blink 683 } // namespace blink
684 684
685 #ifndef NDEBUG 685 #ifndef NDEBUG
686 // Outside the WebCore namespace for ease of invocation from gdb. 686 // Outside the WebCore namespace for ease of invocation from gdb.
687 void showLayerTree(const blink::RenderLayer*); 687 void showLayerTree(const blink::RenderLayer*);
688 void showLayerTree(const blink::RenderObject*); 688 void showLayerTree(const blink::RenderObject*);
689 #endif 689 #endif
690 690
691 #endif // RenderLayer_h 691 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderImage.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698