Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: gpu/command_buffer/client/buffer_tracker.cc

Issue 59383006: Delete gpu/command_buffer/client/atomicops.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "gpu/command_buffer/client/buffer_tracker.h" 5 #include "gpu/command_buffer/client/buffer_tracker.h"
6 6
7 #include "gpu/command_buffer/client/atomicops.h"
8 #include "gpu/command_buffer/client/cmd_buffer_helper.h" 7 #include "gpu/command_buffer/client/cmd_buffer_helper.h"
9 #include "gpu/command_buffer/client/mapped_memory.h" 8 #include "gpu/command_buffer/client/mapped_memory.h"
10 9
11 namespace gpu { 10 namespace gpu {
12 namespace gles2 { 11 namespace gles2 {
13 12
14 BufferTracker::BufferTracker(MappedMemoryManager* manager) 13 BufferTracker::BufferTracker(MappedMemoryManager* manager)
15 : mapped_memory_(manager) { 14 : mapped_memory_(manager) {
16 } 15 }
17 16
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 mapped_memory_->FreePendingToken(buffer->address_, token); 58 mapped_memory_->FreePendingToken(buffer->address_, token);
60 buffer->size_ = 0; 59 buffer->size_ = 0;
61 buffer->shm_id_ = 0; 60 buffer->shm_id_ = 0;
62 buffer->shm_offset_ = 0; 61 buffer->shm_offset_ = 0;
63 buffer->address_ = NULL; 62 buffer->address_ = NULL;
64 } 63 }
65 64
66 65
67 } // namespace gles2 66 } // namespace gles2
68 } // namespace gpu 67 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/atomicops.cc ('k') | gpu/command_buffer/client/program_info_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698