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 | 5 |
6 #include "config.h" | 6 #include "config.h" |
7 | 7 |
8 #if USE(ACCELERATED_COMPOSITING) | 8 #if USE(ACCELERATED_COMPOSITING) |
9 #include "CCRendererGL.h" | 9 #include "CCRendererGL.h" |
10 | 10 |
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1521 } | 1521 } |
1522 | 1522 |
1523 bool CCRendererGL::isContextLost() | 1523 bool CCRendererGL::isContextLost() |
1524 { | 1524 { |
1525 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO
R); | 1525 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO
R); |
1526 } | 1526 } |
1527 | 1527 |
1528 } // namespace cc | 1528 } // namespace cc |
1529 | 1529 |
1530 #endif // USE(ACCELERATED_COMPOSITING) | 1530 #endif // USE(ACCELERATED_COMPOSITING) |
OLD | NEW |