| 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_CLIENT_MAPPED_MEMORY_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_MAPPED_MEMORY_H_ |
| 6 #define GPU_COMMAND_BUFFER_CLIENT_MAPPED_MEMORY_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_MAPPED_MEMORY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 | 10 |
| 10 #include "base/bind.h" | 11 #include "base/bind.h" |
| 11 #include "base/macros.h" | 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/trace_event/memory_dump_provider.h" | 14 #include "base/trace_event/memory_dump_provider.h" |
| 14 #include "gpu/command_buffer/client/fenced_allocator.h" | 15 #include "gpu/command_buffer/client/fenced_allocator.h" |
| 15 #include "gpu/command_buffer/common/buffer.h" | 16 #include "gpu/command_buffer/common/buffer.h" |
| 16 #include "gpu/gpu_export.h" | 17 #include "gpu/gpu_export.h" |
| 17 | 18 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 uint32_t shm_offset_; | 273 uint32_t shm_offset_; |
| 273 bool flush_after_release_; | 274 bool flush_after_release_; |
| 274 CommandBufferHelper* helper_; | 275 CommandBufferHelper* helper_; |
| 275 MappedMemoryManager* mapped_memory_manager_; | 276 MappedMemoryManager* mapped_memory_manager_; |
| 276 DISALLOW_COPY_AND_ASSIGN(ScopedMappedMemoryPtr); | 277 DISALLOW_COPY_AND_ASSIGN(ScopedMappedMemoryPtr); |
| 277 }; | 278 }; |
| 278 | 279 |
| 279 } // namespace gpu | 280 } // namespace gpu |
| 280 | 281 |
| 281 #endif // GPU_COMMAND_BUFFER_CLIENT_MAPPED_MEMORY_H_ | 282 #endif // GPU_COMMAND_BUFFER_CLIENT_MAPPED_MEMORY_H_ |
| OLD | NEW |