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

Side by Side Diff: Source/platform/graphics/paint/DisplayItem.cpp

Issue 1327563003: Don't cache subsequence whose layer is not fully contained by repaint rect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For review Created 5 years, 3 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 | Annotate | Revision Log
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 #include "config.h" 5 #include "config.h"
6 #include "platform/graphics/paint/DisplayItem.h" 6 #include "platform/graphics/paint/DisplayItem.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 struct SameSizeAsDisplayItem { 10 struct SameSizeAsDisplayItem {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 stringBuilder.append(String::format("client: \"%p", client())); 223 stringBuilder.append(String::format("client: \"%p", client()));
224 if (!clientDebugString().isEmpty()) { 224 if (!clientDebugString().isEmpty()) {
225 stringBuilder.append(' '); 225 stringBuilder.append(' ');
226 stringBuilder.append(clientDebugString()); 226 stringBuilder.append(clientDebugString());
227 } 227 }
228 stringBuilder.append("\", type: \""); 228 stringBuilder.append("\", type: \"");
229 stringBuilder.append(typeAsDebugString(type())); 229 stringBuilder.append(typeAsDebugString(type()));
230 stringBuilder.append('"'); 230 stringBuilder.append('"');
231 if (m_skippedCache) 231 if (m_skippedCache)
232 stringBuilder.append(", skippedCache: true"); 232 stringBuilder.append(", skippedCache: true");
233 if (m_isUncacheable)
234 stringBuilder.append(", isUncacheable: true");
233 if (m_scope) 235 if (m_scope)
234 stringBuilder.append(String::format(", scope: %d", m_scope)); 236 stringBuilder.append(String::format(", scope: %d", m_scope));
235 } 237 }
236 238
237 #endif 239 #endif
238 240
239 } // namespace blink 241 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698