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 "CCVideoLayerImpl.h" | |
18 #include "FloatQuad.h" | 17 #include "FloatQuad.h" |
19 #include "GrTexture.h" | 18 #include "GrTexture.h" |
20 #include "NotImplemented.h" | 19 #include "NotImplemented.h" |
21 #include "base/debug/trace_event.h" | 20 #include "base/debug/trace_event.h" |
22 #include "base/logging.h" | 21 #include "base/logging.h" |
23 #include "base/string_split.h" | 22 #include "base/string_split.h" |
24 #include "base/string_util.h" | 23 #include "base/string_util.h" |
25 #include "cc/geometry_binding.h" | 24 #include "cc/geometry_binding.h" |
26 #include "cc/platform_color.h" | 25 #include "cc/platform_color.h" |
27 #include "cc/single_thread_proxy.h" | 26 #include "cc/single_thread_proxy.h" |
28 #include "cc/stream_video_draw_quad.h" | 27 #include "cc/stream_video_draw_quad.h" |
29 #include "cc/texture_draw_quad.h" | 28 #include "cc/texture_draw_quad.h" |
| 29 #include "cc/video_layer_impl.h" |
30 #include "third_party/khronos/GLES2/gl2.h" | 30 #include "third_party/khronos/GLES2/gl2.h" |
31 #include "third_party/khronos/GLES2/gl2ext.h" | 31 #include "third_party/khronos/GLES2/gl2ext.h" |
32 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
33 #include "third_party/skia/include/core/SkColor.h" | 33 #include "third_party/skia/include/core/SkColor.h" |
34 #include "ui/gfx/rect_conversions.h" | 34 #include "ui/gfx/rect_conversions.h" |
35 #include <public/WebGraphicsContext3D.h> | 35 #include <public/WebGraphicsContext3D.h> |
36 #include <public/WebSharedGraphicsContext3D.h> | 36 #include <public/WebSharedGraphicsContext3D.h> |
37 #include <public/WebVideoFrame.h> | 37 #include <public/WebVideoFrame.h> |
38 #include <set> | 38 #include <set> |
39 #include <string> | 39 #include <string> |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 | 1513 |
1514 releaseRenderPassTextures(); | 1514 releaseRenderPassTextures(); |
1515 } | 1515 } |
1516 | 1516 |
1517 bool CCRendererGL::isContextLost() | 1517 bool CCRendererGL::isContextLost() |
1518 { | 1518 { |
1519 return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); | 1519 return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); |
1520 } | 1520 } |
1521 | 1521 |
1522 } // namespace cc | 1522 } // namespace cc |
OLD | NEW |