| 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 "cc/gl_renderer.h" | 5 #include "cc/gl_renderer.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/debug/trace_event.h" | 11 #include "base/debug/trace_event.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/string_split.h" | |
| 14 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 14 #include "base/strings/string_split.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "cc/compositor_frame.h" | 16 #include "cc/compositor_frame.h" |
| 17 #include "cc/compositor_frame_metadata.h" | 17 #include "cc/compositor_frame_metadata.h" |
| 18 #include "cc/context_provider.h" | 18 #include "cc/context_provider.h" |
| 19 #include "cc/damage_tracker.h" | 19 #include "cc/damage_tracker.h" |
| 20 #include "cc/geometry_binding.h" | 20 #include "cc/geometry_binding.h" |
| 21 #include "cc/gl_frame_data.h" | 21 #include "cc/gl_frame_data.h" |
| 22 #include "cc/layer_quad.h" | 22 #include "cc/layer_quad.h" |
| 23 #include "cc/math_util.h" | 23 #include "cc/math_util.h" |
| 24 #include "cc/output_surface.h" | 24 #include "cc/output_surface.h" |
| (...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1862 | 1862 |
| 1863 releaseRenderPassTextures(); | 1863 releaseRenderPassTextures(); |
| 1864 } | 1864 } |
| 1865 | 1865 |
| 1866 bool GLRenderer::isContextLost() | 1866 bool GLRenderer::isContextLost() |
| 1867 { | 1867 { |
| 1868 return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); | 1868 return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); |
| 1869 } | 1869 } |
| 1870 | 1870 |
| 1871 } // namespace cc | 1871 } // namespace cc |
| OLD | NEW |