| 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <queue> | 11 #include <queue> |
| 12 | 12 |
| 13 #include "base/atomic_ref_count.h" | 13 #include "base/atomic_ref_count.h" |
| 14 #include "base/atomicops.h" | 14 #include "base/atomicops.h" |
| 15 #include "base/callback.h" | 15 #include "base/callback.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/linked_ptr.h" | |
| 18 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 19 #include "base/memory/shared_memory.h" | 18 #include "base/memory/shared_memory.h" |
| 20 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 21 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 20 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
| 22 #include "gpu/command_buffer/service/cmd_parser.h" | 21 #include "gpu/command_buffer/service/cmd_parser.h" |
| 23 #include "gpu/command_buffer/service/command_buffer_service.h" | 22 #include "gpu/command_buffer/service/command_buffer_service.h" |
| 24 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 23 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
| 25 #include "gpu/gpu_export.h" | 24 #include "gpu/gpu_export.h" |
| 26 | 25 |
| 27 namespace gpu { | 26 namespace gpu { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // If non-NULL and |preemption_flag_->IsSet()|, exit PutChanged early. | 127 // If non-NULL and |preemption_flag_->IsSet()|, exit PutChanged early. |
| 129 scoped_refptr<PreemptionFlag> preemption_flag_; | 128 scoped_refptr<PreemptionFlag> preemption_flag_; |
| 130 bool was_preempted_; | 129 bool was_preempted_; |
| 131 | 130 |
| 132 DISALLOW_COPY_AND_ASSIGN(CommandExecutor); | 131 DISALLOW_COPY_AND_ASSIGN(CommandExecutor); |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace gpu | 134 } // namespace gpu |
| 136 | 135 |
| 137 #endif // GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ | 136 #endif // GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ |
| OLD | NEW |