| 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 #ifndef CCRendererGL_h | 6 #ifndef CCRendererGL_h |
| 7 #define CCRendererGL_h | 7 #define CCRendererGL_h |
| 8 | 8 |
| 9 #if USE(ACCELERATED_COMPOSITING) | 9 #if USE(ACCELERATED_COMPOSITING) |
| 10 | 10 |
| 11 #include "CCCheckerboardDrawQuad.h" | 11 #include "CCCheckerboardDrawQuad.h" |
| 12 #include "CCDebugBorderDrawQuad.h" | 12 #include "CCDebugBorderDrawQuad.h" |
| 13 #include "CCDirectRenderer.h" | 13 #include "CCDirectRenderer.h" |
| 14 #include "CCIOSurfaceDrawQuad.h" | 14 #include "CCIOSurfaceDrawQuad.h" |
| 15 #include "CCRenderPassDrawQuad.h" | 15 #include "CCRenderPassDrawQuad.h" |
| 16 #include "CCRenderer.h" | 16 #include "CCRenderer.h" |
| 17 #include "CCSolidColorDrawQuad.h" | 17 #include "CCSolidColorDrawQuad.h" |
| 18 #include "CCStreamVideoDrawQuad.h" | 18 #include "CCStreamVideoDrawQuad.h" |
| 19 #include "CCTextureDrawQuad.h" | 19 #include "CCTextureDrawQuad.h" |
| 20 #include "CCTileDrawQuad.h" | 20 #include "CCTileDrawQuad.h" |
| 21 #include "CCYUVVideoDrawQuad.h" | 21 #include "CCYUVVideoDrawQuad.h" |
| 22 #include "Extensions3DChromium.h" | 22 #include "Extensions3DChromium.h" |
| 23 #include "TextureCopier.h" | 23 #include "TextureCopier.h" |
| 24 #include <wtf/PassOwnPtr.h> | 24 #include <wtf/PassOwnPtr.h> |
| 25 | 25 |
| 26 namespace WebKit { | 26 namespace WebKit { |
| 27 class WebGraphicsContext3D; | 27 class WebGraphicsContext3D; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace WebCore { | 30 namespace cc { |
| 31 | 31 |
| 32 class CCScopedTexture; | 32 class CCScopedTexture; |
| 33 class GeometryBinding; | 33 class GeometryBinding; |
| 34 class ScopedEnsureFramebufferAllocation; | 34 class ScopedEnsureFramebufferAllocation; |
| 35 | 35 |
| 36 // Class that handles drawing of composited render layers using GL. | 36 // Class that handles drawing of composited render layers using GL. |
| 37 class CCRendererGL : public CCDirectRenderer, | 37 class CCRendererGL : public CCDirectRenderer, |
| 38 public WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffers
CompleteCallbackCHROMIUM, | 38 public WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffers
CompleteCallbackCHROMIUM, |
| 39 public WebKit::WebGraphicsContext3D::WebGraphicsMemoryAlloc
ationChangedCallbackCHROMIUM , | 39 public WebKit::WebGraphicsContext3D::WebGraphicsMemoryAlloc
ationChangedCallbackCHROMIUM , |
| 40 public WebKit::WebGraphicsContext3D::WebGraphicsContextLost
Callback { | 40 public WebKit::WebGraphicsContext3D::WebGraphicsContextLost
Callback { |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 #else | 236 #else |
| 237 #define GLC(context, x) (x) | 237 #define GLC(context, x) (x) |
| 238 #endif | 238 #endif |
| 239 | 239 |
| 240 | 240 |
| 241 } | 241 } |
| 242 | 242 |
| 243 #endif // USE(ACCELERATED_COMPOSITING) | 243 #endif // USE(ACCELERATED_COMPOSITING) |
| 244 | 244 |
| 245 #endif | 245 #endif |
| OLD | NEW |