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

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

Issue 1591813002: Make //gpu/* pass gn check (and make it gn checked). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 4 years, 11 months 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
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/cmd_buffer_helper.h"
8 #include "gpu/command_buffer/client/mapped_memory.h" 7 #include "gpu/command_buffer/client/mapped_memory.h"
9 8
10 namespace gpu { 9 namespace gpu {
11 namespace gles2 { 10 namespace gles2 {
12 11
13 BufferTracker::BufferTracker(MappedMemoryManager* manager) 12 BufferTracker::BufferTracker(MappedMemoryManager* manager)
14 : mapped_memory_(manager) { 13 : mapped_memory_(manager) {
15 } 14 }
16 15
17 BufferTracker::~BufferTracker() { 16 BufferTracker::~BufferTracker() {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 buffer->size_ = 0; 79 buffer->size_ = 0;
81 buffer->shm_id_ = 0; 80 buffer->shm_id_ = 0;
82 buffer->shm_offset_ = 0; 81 buffer->shm_offset_ = 0;
83 buffer->address_ = NULL; 82 buffer->address_ = NULL;
84 buffer->last_usage_token_ = 0; 83 buffer->last_usage_token_ = 0;
85 buffer->last_async_upload_token_ = 0; 84 buffer->last_async_upload_token_ = 0;
86 } 85 }
87 86
88 } // namespace gles2 87 } // namespace gles2
89 } // namespace gpu 88 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698