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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2095013003: Changes in DisplayItemClient for spv2 paint invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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) 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 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 Persistent<PaintLayerScrollableArea> scrollableArea; 103 Persistent<PaintLayerScrollableArea> scrollableArea;
104 struct { 104 struct {
105 IntRect rect; 105 IntRect rect;
106 void* pointers[2]; 106 void* pointers[2];
107 } ancestorCompositingInputs; 107 } ancestorCompositingInputs;
108 struct { 108 struct {
109 IntSize size; 109 IntSize size;
110 void* pointer; 110 void* pointer;
111 LayoutRect rect; 111 LayoutRect rect;
112 } previousPaintStatus; 112 } previousPaintStatus;
113 DisplayItemCacheGeneration cacheGeneration;
114 }; 113 };
115 114
116 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh ould stay small"); 115 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh ould stay small");
117 116
118 } // namespace 117 } // namespace
119 118
120 using namespace HTMLNames; 119 using namespace HTMLNames;
121 120
122 PaintLayerRareData::PaintLayerRareData() 121 PaintLayerRareData::PaintLayerRareData()
123 : enclosingPaginationLayer(nullptr) 122 : enclosingPaginationLayer(nullptr)
(...skipping 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2946 2945
2947 void showLayerTree(const blink::LayoutObject* layoutObject) 2946 void showLayerTree(const blink::LayoutObject* layoutObject)
2948 { 2947 {
2949 if (!layoutObject) { 2948 if (!layoutObject) {
2950 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2949 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2951 return; 2950 return;
2952 } 2951 }
2953 showLayerTree(layoutObject->enclosingLayer()); 2952 showLayerTree(layoutObject->enclosingLayer());
2954 } 2953 }
2955 #endif 2954 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698