| 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 CC_OUTPUT_DELEGATING_RENDERER_H_ | 5 #ifndef CC_OUTPUT_DELEGATING_RENDERER_H_ |
| 6 #define CC_OUTPUT_DELEGATING_RENDERER_H_ | 6 #define CC_OUTPUT_DELEGATING_RENDERER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/output/compositor_frame.h" | 10 #include "cc/output/compositor_frame.h" |
| 11 #include "cc/output/renderer.h" | 11 #include "cc/output/renderer.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 12 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class OutputSurface; | 16 class OutputSurface; |
| 17 class ResourceProvider; | 17 class ResourceProvider; |
| 18 | 18 |
| 19 class CC_EXPORT DelegatingRenderer : public Renderer { | 19 class CC_EXPORT DelegatingRenderer : public Renderer { |
| 20 public: | 20 public: |
| 21 static scoped_ptr<DelegatingRenderer> Create( | 21 static scoped_ptr<DelegatingRenderer> Create( |
| 22 RendererClient* client, | 22 RendererClient* client, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 RendererCapabilities capabilities_; | 57 RendererCapabilities capabilities_; |
| 58 CompositorFrame frame_for_swap_buffers_; | 58 CompositorFrame frame_for_swap_buffers_; |
| 59 bool visible_; | 59 bool visible_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer); | 61 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace cc | 64 } // namespace cc |
| 65 | 65 |
| 66 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_ | 66 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_ |
| OLD | NEW |