OLD | NEW |
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 Loading... |
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(layoutView.frameView()->isTrackingPaintInva
lidations()) | 76 , m_isTrackingPaintInvalidations(false) |
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 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 } else if (graphicsLayer == m_scrollLayer.get()) { | 1201 } else if (graphicsLayer == m_scrollLayer.get()) { |
1202 name = "LocalFrame Scrolling Layer"; | 1202 name = "LocalFrame Scrolling Layer"; |
1203 } else { | 1203 } else { |
1204 ASSERT_NOT_REACHED(); | 1204 ASSERT_NOT_REACHED(); |
1205 } | 1205 } |
1206 | 1206 |
1207 return name; | 1207 return name; |
1208 } | 1208 } |
1209 | 1209 |
1210 } // namespace blink | 1210 } // namespace blink |
OLD | NEW |