OLD | NEW |
---|---|
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 | 6 |
7 #if USE(ACCELERATED_COMPOSITING) | 7 #if USE(ACCELERATED_COMPOSITING) |
8 | 8 |
9 #include "CCTiledLayerImpl.h" | 9 #include "CCTiledLayerImpl.h" |
10 | 10 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
207 if (opaque()) | 207 if (opaque()) |
208 return visibleContentRect(); | 208 return visibleContentRect(); |
209 return m_tiler->opaqueRegionInContentRect(visibleContentRect()); | 209 return m_tiler->opaqueRegionInContentRect(visibleContentRect()); |
210 } | 210 } |
211 | 211 |
212 void CCTiledLayerImpl::didLoseContext() | 212 void CCTiledLayerImpl::didLoseContext() |
213 { | 213 { |
214 m_tiler->reset(); | 214 m_tiler->reset(); |
215 } | 215 } |
216 | 216 |
217 const char* CCTiledLayerImpl::layerTypeAsString() const | |
218 { | |
219 return "ContentLayer"; | |
jamesr
2012/09/19 21:25:49
lol, ContentLayer
| |
220 } | |
221 | |
217 } // namespace cc | 222 } // namespace cc |
218 | 223 |
219 #endif // USE(ACCELERATED_COMPOSITING) | 224 #endif // USE(ACCELERATED_COMPOSITING) |
OLD | NEW |