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

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

Issue 2095013003: Changes in DisplayItemClient for spv2 paint invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to DisplayItemClient 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PaintController_h 5 #ifndef PaintController_h
6 #define PaintController_h 6 #define PaintController_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/RuntimeEnabledFeatures.h" 9 #include "platform/RuntimeEnabledFeatures.h"
10 #include "platform/geometry/IntRect.h" 10 #include "platform/geometry/IntRect.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 int m_numCachedNewItems; 210 int m_numCachedNewItems;
211 211
212 #if DCHECK_IS_ON() 212 #if DCHECK_IS_ON()
213 // This is used to check duplicated ids during add(). We could also check 213 // This is used to check duplicated ids during add(). We could also check
214 // during commitNewDisplayItems(), but checking during add() helps developer 214 // during commitNewDisplayItems(), but checking during add() helps developer
215 // easily find where the duplicated ids are from. 215 // easily find where the duplicated ids are from.
216 DisplayItemIndicesByClientMap m_newDisplayItemIndicesByClient; 216 DisplayItemIndicesByClientMap m_newDisplayItemIndicesByClient;
217 #endif 217 #endif
218 218
219 DisplayItemCacheGeneration m_currentCacheGeneration; 219 DisplayItemClient::CacheGenerationOrInvalidationReason m_currentCacheGenerat ion;
220 220
221 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS 221 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS
222 // A stack recording subsequence clients that are currently painting. 222 // A stack recording subsequence clients that are currently painting.
223 Vector<const DisplayItemClient*> m_currentSubsequenceClients; 223 Vector<const DisplayItemClient*> m_currentSubsequenceClients;
224 #endif 224 #endif
225 }; 225 };
226 226
227 } // namespace blink 227 } // namespace blink
228 228
229 #endif // PaintController_h 229 #endif // PaintController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698