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

Side by Side Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp

Issue 1329553004: Add a FOUC painting test. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Clean up. 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 /* 1 /*
2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 namespace blink { 66 namespace blink {
67 67
68 DeprecatedPaintLayerCompositor::DeprecatedPaintLayerCompositor(LayoutView& layou tView) 68 DeprecatedPaintLayerCompositor::DeprecatedPaintLayerCompositor(LayoutView& layou tView)
69 : m_layoutView(layoutView) 69 : m_layoutView(layoutView)
70 , m_compositingReasonFinder(layoutView) 70 , m_compositingReasonFinder(layoutView)
71 , m_pendingUpdateType(CompositingUpdateNone) 71 , m_pendingUpdateType(CompositingUpdateNone)
72 , m_hasAcceleratedCompositing(true) 72 , m_hasAcceleratedCompositing(true)
73 , m_compositing(false) 73 , m_compositing(false)
74 , m_rootShouldAlwaysCompositeDirty(true) 74 , m_rootShouldAlwaysCompositeDirty(true)
75 , m_needsUpdateFixedBackground(false) 75 , m_needsUpdateFixedBackground(false)
76 , m_isTrackingPaintInvalidations(false) 76 , m_isTrackingPaintInvalidations(layoutView.frameView()->isTrackingPaintInva lidations())
77 , m_inOverlayFullscreenVideo(false) 77 , m_inOverlayFullscreenVideo(false)
78 , m_needsUpdateDescendantDependentFlags(false) 78 , m_needsUpdateDescendantDependentFlags(false)
79 , m_rootLayerAttachment(RootLayerUnattached) 79 , m_rootLayerAttachment(RootLayerUnattached)
80 { 80 {
81 updateAcceleratedCompositingSettings(); 81 updateAcceleratedCompositingSettings();
82 } 82 }
83 83
84 DeprecatedPaintLayerCompositor::~DeprecatedPaintLayerCompositor() 84 DeprecatedPaintLayerCompositor::~DeprecatedPaintLayerCompositor()
85 { 85 {
86 ASSERT(m_rootLayerAttachment == RootLayerUnattached); 86 ASSERT(m_rootLayerAttachment == RootLayerUnattached);
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 } else if (graphicsLayer == m_scrollLayer.get()) { 1208 } else if (graphicsLayer == m_scrollLayer.get()) {
1209 name = "LocalFrame Scrolling Layer"; 1209 name = "LocalFrame Scrolling Layer";
1210 } else { 1210 } else {
1211 ASSERT_NOT_REACHED(); 1211 ASSERT_NOT_REACHED();
1212 } 1212 }
1213 1213
1214 return name; 1214 return name;
1215 } 1215 }
1216 1216
1217 } // namespace blink 1217 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698