| 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 "FloatQuad.h" | 9 #include "FloatQuad.h" | 
| 10 #include "NotImplemented.h" | 10 #include "NotImplemented.h" | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 30 #include "third_party/khronos/GLES2/gl2ext.h" | 30 #include "third_party/khronos/GLES2/gl2ext.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 "third_party/skia/include/gpu/GrContext.h" | 33 #include "third_party/skia/include/gpu/GrContext.h" | 
| 34 #include "third_party/skia/include/gpu/GrTexture.h" | 34 #include "third_party/skia/include/gpu/GrTexture.h" | 
| 35 #include "third_party/skia/include/gpu/SkGpuDevice.h" | 35 #include "third_party/skia/include/gpu/SkGpuDevice.h" | 
| 36 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h" | 36 #include "third_party/skia/include/gpu/SkGrTexturePixelRef.h" | 
| 37 #include "ui/gfx/rect_conversions.h" | 37 #include "ui/gfx/rect_conversions.h" | 
| 38 #include <public/WebGraphicsContext3D.h> | 38 #include <public/WebGraphicsContext3D.h> | 
| 39 #include <public/WebSharedGraphicsContext3D.h> | 39 #include <public/WebSharedGraphicsContext3D.h> | 
| 40 #include <public/WebVideoFrame.h> |  | 
| 41 #include <set> | 40 #include <set> | 
| 42 #include <string> | 41 #include <string> | 
| 43 #include <vector> | 42 #include <vector> | 
| 44 | 43 | 
| 45 using namespace std; | 44 using namespace std; | 
| 46 using WebKit::WebGraphicsContext3D; | 45 using WebKit::WebGraphicsContext3D; | 
| 47 using WebKit::WebGraphicsMemoryAllocation; | 46 using WebKit::WebGraphicsMemoryAllocation; | 
| 48 using WebKit::WebSharedGraphicsContext3D; | 47 using WebKit::WebSharedGraphicsContext3D; | 
| 49 using WebKit::WebTransformationMatrix; | 48 using WebKit::WebTransformationMatrix; | 
| 50 | 49 | 
| (...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1593 | 1592 | 
| 1594     releaseRenderPassTextures(); | 1593     releaseRenderPassTextures(); | 
| 1595 } | 1594 } | 
| 1596 | 1595 | 
| 1597 bool GLRenderer::isContextLost() | 1596 bool GLRenderer::isContextLost() | 
| 1598 { | 1597 { | 
| 1599     return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); | 1598     return (m_context->getGraphicsResetStatusARB() != GL_NO_ERROR); | 
| 1600 } | 1599 } | 
| 1601 | 1600 | 
| 1602 } // namespace cc | 1601 } // namespace cc | 
| OLD | NEW | 
|---|