OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This file contains the GLES2Decoder class. | 5 // This file contains the GLES2Decoder class. |
6 | 6 |
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/callback_old.h" | 13 #include "base/callback_old.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "gpu/command_buffer/service/common_decoder.h" | 15 #include "gpu/command_buffer/service/common_decoder.h" |
16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/size.h" |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class GLContext; | 19 class GLContext; |
20 class GLSurface; | 20 class GLSurface; |
21 } | 21 } |
22 | 22 |
23 namespace gpu { | 23 namespace gpu { |
24 | 24 |
25 class StreamTextureManager; | 25 class StreamTextureManager; |
26 class SurfaceManager; | |
27 | 26 |
28 namespace gles2 { | 27 namespace gles2 { |
29 | 28 |
30 class ContextGroup; | 29 class ContextGroup; |
31 class GLES2Util; | 30 class GLES2Util; |
32 | 31 |
33 struct DisallowedFeatures { | 32 struct DisallowedFeatures { |
34 DisallowedFeatures() | 33 DisallowedFeatures() |
35 : multisampling(false), | 34 : multisampling(false), |
36 driver_bug_workarounds(false) { | 35 driver_bug_workarounds(false) { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 private: | 140 private: |
142 bool debug_; | 141 bool debug_; |
143 | 142 |
144 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 143 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
145 }; | 144 }; |
146 | 145 |
147 } // namespace gles2 | 146 } // namespace gles2 |
148 } // namespace gpu | 147 } // namespace gpu |
149 | 148 |
150 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 149 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
OLD | NEW |