| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // 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/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "gpu/command_buffer/service/common_decoder.h" | 16 #include "gpu/command_buffer/service/common_decoder.h" |
| 17 #include "gpu/command_buffer/service/logger.h" | 17 #include "gpu/command_buffer/service/logger.h" |
| 18 #include "ui/gfx/size.h" | 18 #include "ui/gfx/size.h" |
| 19 #include "ui/gl/gl_context.h" | 19 #include "ui/gl/gl_context.h" |
| 20 | 20 |
| 21 namespace gfx { | 21 namespace gfx { |
| 22 class GLContext; | 22 class GLContext; |
| 23 class GLSurface; | 23 class GLSurface; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace gpu { | 26 namespace gpu { |
| 27 | 27 |
| 28 class AsyncPixelTransferDelegate; | 28 class AsyncPixelTransferDelegate; |
| 29 class AsyncPixelTransferManager; | 29 class AsyncPixelTransferManager; |
| 30 class StreamTextureManager; | |
| 31 struct Mailbox; | 30 struct Mailbox; |
| 32 | 31 |
| 33 namespace gles2 { | 32 namespace gles2 { |
| 34 | 33 |
| 35 class ContextGroup; | 34 class ContextGroup; |
| 36 class ErrorState; | 35 class ErrorState; |
| 37 class GLES2Util; | 36 class GLES2Util; |
| 38 class Logger; | 37 class Logger; |
| 39 class QueryManager; | 38 class QueryManager; |
| 40 class VertexArrayManager; | 39 class VertexArrayManager; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 bool debug_; | 243 bool debug_; |
| 245 bool log_commands_; | 244 bool log_commands_; |
| 246 static bool testing_force_is_angle_; | 245 static bool testing_force_is_angle_; |
| 247 | 246 |
| 248 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 247 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
| 249 }; | 248 }; |
| 250 | 249 |
| 251 } // namespace gles2 | 250 } // namespace gles2 |
| 252 } // namespace gpu | 251 } // namespace gpu |
| 253 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 252 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| OLD | NEW |