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_SURFACE_H_ |
6 #define CC_OUTPUT_SURFACE_H_ | 6 #define CC_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/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/software_output_device.h" | 13 #include "cc/software_output_device.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorOutput
Surface.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorOutput
Surface.h" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Rect; | 18 class Rect; |
19 class Size; | 19 class Size; |
20 } | 20 } |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_ptr<cc::SoftwareOutputDevice> software_device_; | 97 scoped_ptr<cc::SoftwareOutputDevice> software_device_; |
98 bool has_gl_discard_backbuffer_; | 98 bool has_gl_discard_backbuffer_; |
99 | 99 |
100 private: | 100 private: |
101 DISALLOW_COPY_AND_ASSIGN(OutputSurface); | 101 DISALLOW_COPY_AND_ASSIGN(OutputSurface); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace cc | 104 } // namespace cc |
105 | 105 |
106 #endif // CC_OUTPUT_SURFACE_H_ | 106 #endif // CC_OUTPUT_SURFACE_H_ |
OLD | NEW |