| 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/common/capabilities.h" | 16 #include "gpu/command_buffer/common/capabilities.h" |
| 17 #include "gpu/command_buffer/service/common_decoder.h" | 17 #include "gpu/command_buffer/service/common_decoder.h" |
| 18 #include "gpu/command_buffer/service/logger.h" | 18 #include "gpu/command_buffer/service/logger.h" |
| 19 #include "ui/gfx/size.h" | 19 #include "ui/gfx/geometry/size.h" |
| 20 #include "ui/gl/gl_context.h" | 20 #include "ui/gl/gl_context.h" |
| 21 | 21 |
| 22 namespace gfx { | 22 namespace gfx { |
| 23 class GLContext; | 23 class GLContext; |
| 24 class GLSurface; | 24 class GLSurface; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace gpu { | 27 namespace gpu { |
| 28 | 28 |
| 29 class AsyncPixelTransferDelegate; | 29 class AsyncPixelTransferDelegate; |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 bool log_commands_; | 265 bool log_commands_; |
| 266 bool unsafe_es3_apis_enabled_; | 266 bool unsafe_es3_apis_enabled_; |
| 267 | 267 |
| 268 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); | 268 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); |
| 269 }; | 269 }; |
| 270 | 270 |
| 271 } // namespace gles2 | 271 } // namespace gles2 |
| 272 } // namespace gpu | 272 } // namespace gpu |
| 273 | 273 |
| 274 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ | 274 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ |
| OLD | NEW |