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

Side by Side Diff: blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h" 5 #include "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
11
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
12 #include "base/numerics/safe_conversions.h" 14 #include "base/numerics/safe_conversions.h"
13 #include "ui/gfx/buffer_format_util.h" 15 #include "ui/gfx/buffer_format_util.h"
14 #include "ui/gfx/gpu_memory_buffer.h" 16 #include "ui/gfx/gpu_memory_buffer.h"
15 17
16 namespace blimp { 18 namespace blimp {
17 namespace client { 19 namespace client {
18 20
19 namespace { 21 namespace {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 138 }
137 139
138 void BlimpGpuMemoryBufferManager::SetDestructionSyncToken( 140 void BlimpGpuMemoryBufferManager::SetDestructionSyncToken(
139 gfx::GpuMemoryBuffer* buffer, 141 gfx::GpuMemoryBuffer* buffer,
140 const gpu::SyncToken& sync_token) { 142 const gpu::SyncToken& sync_token) {
141 NOTIMPLEMENTED(); 143 NOTIMPLEMENTED();
142 } 144 }
143 145
144 } // namespace client 146 } // namespace client
145 } // namespace blimp 147 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698