OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 "CCRendererGL.h" | 7 #include "CCRendererGL.h" |
8 | 8 |
9 #include "CCDamageTracker.h" | 9 #include "CCDamageTracker.h" |
10 #include "CCLayerQuad.h" | 10 #include "CCLayerQuad.h" |
11 #include "CCMathUtil.h" | 11 #include "CCMathUtil.h" |
12 #include "CCProxy.h" | 12 #include "CCProxy.h" |
13 #include "CCRenderPass.h" | 13 #include "CCRenderPass.h" |
14 #include "CCRenderSurfaceFilters.h" | 14 #include "CCRenderSurfaceFilters.h" |
15 #include "CCScopedTexture.h" | 15 #include "CCScopedTexture.h" |
16 #include "CCSettings.h" | 16 #include "CCSettings.h" |
17 #include "CCSingleThreadProxy.h" | 17 #include "CCSingleThreadProxy.h" |
18 #include "CCVideoLayerImpl.h" | 18 #include "CCVideoLayerImpl.h" |
19 #include "Extensions3D.h" | 19 #include "Extensions3D.h" |
20 #include "FloatQuad.h" | 20 #include "FloatQuad.h" |
21 #include "GeometryBinding.h" | |
22 #include "GrTexture.h" | 21 #include "GrTexture.h" |
23 #include "NotImplemented.h" | 22 #include "NotImplemented.h" |
24 #include "PlatformColor.h" | |
25 #include "TraceEvent.h" | 23 #include "TraceEvent.h" |
26 #ifdef LOG | 24 #ifdef LOG |
27 #undef LOG | 25 #undef LOG |
28 #endif | 26 #endif |
29 #include "base/string_split.h" | 27 #include "base/string_split.h" |
30 #include "base/string_util.h" | 28 #include "base/string_util.h" |
| 29 #include "cc/geometry_binding.h" |
| 30 #include "cc/platform_color.h" |
31 #include "third_party/skia/include/core/SkBitmap.h" | 31 #include "third_party/skia/include/core/SkBitmap.h" |
32 #include "third_party/skia/include/core/SkColor.h" | 32 #include "third_party/skia/include/core/SkColor.h" |
33 #include <public/WebGraphicsContext3D.h> | 33 #include <public/WebGraphicsContext3D.h> |
34 #include <public/WebSharedGraphicsContext3D.h> | 34 #include <public/WebSharedGraphicsContext3D.h> |
35 #include <public/WebVideoFrame.h> | 35 #include <public/WebVideoFrame.h> |
36 #include <set> | 36 #include <set> |
37 #include <string> | 37 #include <string> |
38 #include <vector> | 38 #include <vector> |
39 #include <wtf/CurrentTime.h> | 39 #include <wtf/CurrentTime.h> |
40 | 40 |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1514 | 1514 |
1515 releaseRenderPassTextures(); | 1515 releaseRenderPassTextures(); |
1516 } | 1516 } |
1517 | 1517 |
1518 bool CCRendererGL::isContextLost() | 1518 bool CCRendererGL::isContextLost() |
1519 { | 1519 { |
1520 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO
R); | 1520 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO
R); |
1521 } | 1521 } |
1522 | 1522 |
1523 } // namespace cc | 1523 } // namespace cc |
OLD | NEW |