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_SURFACE_H_ | 5 #ifndef CC_OUTPUT_OUTPUT_SURFACE_H_ |
6 #define CC_OUTPUT_SURFACE_H_ | 6 #define CC_OUTPUT_OUTPUT_SURFACE_H_ |
7 | 7 |
8 #define USE_CC_OUTPUT_SURFACE // TODO(danakj): Remove this. | 8 #define USE_CC_OUTPUT_SURFACE // TODO(danakj): Remove this. |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/software_output_device.h" | 13 #include "cc/output/software_output_device.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class Rect; | 17 class Rect; |
18 class Size; | 18 class Size; |
19 } | 19 } |
20 | 20 |
21 namespace cc { | 21 namespace cc { |
22 | 22 |
23 class CompositorFrame; | 23 class CompositorFrame; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_ptr<WebKit::WebGraphicsContext3D> context3d_; | 97 scoped_ptr<WebKit::WebGraphicsContext3D> context3d_; |
98 scoped_ptr<cc::SoftwareOutputDevice> software_device_; | 98 scoped_ptr<cc::SoftwareOutputDevice> software_device_; |
99 bool has_gl_discard_backbuffer_; | 99 bool has_gl_discard_backbuffer_; |
100 | 100 |
101 private: | 101 private: |
102 DISALLOW_COPY_AND_ASSIGN(OutputSurface); | 102 DISALLOW_COPY_AND_ASSIGN(OutputSurface); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace cc | 105 } // namespace cc |
106 | 106 |
107 #endif // CC_OUTPUT_SURFACE_H_ | 107 #endif // CC_OUTPUT_OUTPUT_SURFACE_H_ |
OLD | NEW |