OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #include "CCDelegatedRendererLayerImpl.h" | 7 #include "CCDelegatedRendererLayerImpl.h" |
8 | 8 |
9 #include "CCAppendQuadsData.h" | 9 #include "CCAppendQuadsData.h" |
10 #include "CCQuadSink.h" | 10 #include "CCQuadSink.h" |
11 #include "CCMathUtil.h" | 11 #include "cc/math_util.h" |
12 #include "CCRenderPassDrawQuad.h" | 12 #include "CCRenderPassDrawQuad.h" |
13 #include "CCRenderPassSink.h" | 13 #include "CCRenderPassSink.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 CCDelegatedRendererLayerImpl::CCDelegatedRendererLayerImpl(int id) | 17 CCDelegatedRendererLayerImpl::CCDelegatedRendererLayerImpl(int id) |
18 : CCLayerImpl(id) | 18 : CCLayerImpl(id) |
19 { | 19 { |
20 } | 20 } |
21 | 21 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 quadSink.append(copyQuad.Pass(), appendQuadsData); | 176 quadSink.append(copyQuad.Pass(), appendQuadsData); |
177 } | 177 } |
178 } | 178 } |
179 | 179 |
180 const char* CCDelegatedRendererLayerImpl::layerTypeAsString() const | 180 const char* CCDelegatedRendererLayerImpl::layerTypeAsString() const |
181 { | 181 { |
182 return "DelegatedRendererLayer"; | 182 return "DelegatedRendererLayer"; |
183 } | 183 } |
184 | 184 |
185 } | 185 } |
OLD | NEW |