| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef CCRenderer_h | 5 #ifndef CCRenderer_h |
| 6 #define CCRenderer_h | 6 #define CCRenderer_h |
| 7 | 7 |
| 8 #include "CCLayerTreeHost.h" | 8 #include "CCLayerTreeHost.h" |
| 9 #include "CCRenderPass.h" | 9 #include "CCRenderPass.h" |
| 10 #include "FloatQuad.h" | 10 #include "FloatQuad.h" |
| 11 #include "IntRect.h" | 11 #include "IntRect.h" |
| 12 #include <wtf/Noncopyable.h> | 12 #include <wtf/Noncopyable.h> |
| 13 #include <wtf/PassRefPtr.h> | 13 #include <wtf/PassRefPtr.h> |
| 14 | 14 |
| 15 namespace WebCore { | 15 namespace cc { |
| 16 | 16 |
| 17 class CCScopedTexture; | 17 class CCScopedTexture; |
| 18 class TextureCopier; | 18 class TextureCopier; |
| 19 class TextureUploader; | 19 class TextureUploader; |
| 20 | 20 |
| 21 enum TextureUploaderOption { ThrottledUploader, UnthrottledUploader }; | 21 enum TextureUploaderOption { ThrottledUploader, UnthrottledUploader }; |
| 22 | 22 |
| 23 class CCRendererClient { | 23 class CCRendererClient { |
| 24 public: | 24 public: |
| 25 virtual const IntSize& deviceViewportSize() const = 0; | 25 virtual const IntSize& deviceViewportSize() const = 0; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 : m_client(client) | 81 : m_client(client) |
| 82 { | 82 { |
| 83 } | 83 } |
| 84 | 84 |
| 85 CCRendererClient* m_client; | 85 CCRendererClient* m_client; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } | 88 } |
| 89 | 89 |
| 90 #endif // CCRenderer_h | 90 #endif // CCRenderer_h |
| OLD | NEW |