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_TEXTURE_COPIER_H_ | 5 #ifndef CC_OUTPUT_TEXTURE_COPIER_H_ |
6 #define CC_TEXTURE_COPIER_H_ | 6 #define CC_OUTPUT_TEXTURE_COPIER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 #include "cc/program_binding.h" | 11 #include "cc/output/program_binding.h" |
12 #include "cc/shader.h" | 12 #include "cc/output/shader.h" |
13 #include "third_party/khronos/GLES2/gl2.h" | 13 #include "third_party/khronos/GLES2/gl2.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
15 | 15 |
16 namespace WebKit { class WebGraphicsContext3D; } | 16 namespace WebKit { class WebGraphicsContext3D; } |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 | 19 |
20 class CC_EXPORT TextureCopier { | 20 class CC_EXPORT TextureCopier { |
21 public: | 21 public: |
22 struct Parameters { | 22 struct Parameters { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 GLuint fbo_; | 59 GLuint fbo_; |
60 GLuint position_buffer_; | 60 GLuint position_buffer_; |
61 scoped_ptr<BlitProgram> blit_program_; | 61 scoped_ptr<BlitProgram> blit_program_; |
62 bool using_bind_uniforms_; | 62 bool using_bind_uniforms_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier); | 64 DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier); |
65 }; | 65 }; |
66 | 66 |
67 } | 67 } |
68 | 68 |
69 #endif // CC_TEXTURE_COPIER_H_ | 69 #endif // CC_OUTPUT_TEXTURE_COPIER_H_ |
OLD | NEW |