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

Side by Side Diff: components/mus/gles2/gpu_memory_buffer_impl.h

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/mus/gles2/command_buffer_task_runner.h ('k') | components/mus/gles2/gpu_state.h » ('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 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 #ifndef COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_ 5 #ifndef COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_
6 #define COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_ 6 #define COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_
7 7
8 #include <memory>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "gpu/command_buffer/common/sync_token.h" 12 #include "gpu/command_buffer/common/sync_token.h"
12 #include "ui/gfx/geometry/size.h" 13 #include "ui/gfx/geometry/size.h"
13 #include "ui/gfx/gpu_memory_buffer.h" 14 #include "ui/gfx/gpu_memory_buffer.h"
14 15
15 #if defined(USE_OZONE) 16 #if defined(USE_OZONE)
16 #include "ui/ozone/public/native_pixmap.h" 17 #include "ui/ozone/public/native_pixmap.h"
17 #endif 18 #endif
18 19
19 namespace mus { 20 namespace mus {
20 21
(...skipping 28 matching lines...) Expand all
49 const gfx::Size size_; 50 const gfx::Size size_;
50 const gfx::BufferFormat format_; 51 const gfx::BufferFormat format_;
51 bool mapped_; 52 bool mapped_;
52 53
53 private: 54 private:
54 DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImpl); 55 DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImpl);
55 }; 56 };
56 57
57 } // namespace mus 58 } // namespace mus
58 59
59 #endif // COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_ 60 #endif // COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « components/mus/gles2/command_buffer_task_runner.h ('k') | components/mus/gles2/gpu_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698