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 "cc/gl_renderer.h" | 7 #include "cc/gl_renderer.h" |
8 | 8 |
9 #include "CCDamageTracker.h" | 9 #include "CCDamageTracker.h" |
10 #include "CCLayerQuad.h" | |
11 #include "FloatQuad.h" | 10 #include "FloatQuad.h" |
12 #include "GrTexture.h" | 11 #include "GrTexture.h" |
13 #include "NotImplemented.h" | 12 #include "NotImplemented.h" |
14 #include "base/debug/trace_event.h" | 13 #include "base/debug/trace_event.h" |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "base/string_split.h" | 15 #include "base/string_split.h" |
17 #include "base/string_util.h" | 16 #include "base/string_util.h" |
18 #include "cc/geometry_binding.h" | 17 #include "cc/geometry_binding.h" |
| 18 #include "cc/layer_quad.h" |
19 #include "cc/math_util.h" | 19 #include "cc/math_util.h" |
20 #include "cc/platform_color.h" | 20 #include "cc/platform_color.h" |
21 #include "cc/proxy.h" | 21 #include "cc/proxy.h" |
22 #include "cc/render_pass.h" | 22 #include "cc/render_pass.h" |
23 #include "cc/render_surface_filters.h" | 23 #include "cc/render_surface_filters.h" |
24 #include "cc/scoped_texture.h" | 24 #include "cc/scoped_texture.h" |
25 #include "cc/settings.h" | 25 #include "cc/settings.h" |
26 #include "cc/single_thread_proxy.h" | 26 #include "cc/single_thread_proxy.h" |
27 #include "cc/stream_video_draw_quad.h" | 27 #include "cc/stream_video_draw_quad.h" |
28 #include "cc/texture_draw_quad.h" | 28 #include "cc/texture_draw_quad.h" |
(...skipping 1484 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 |