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

Side by Side Diff: services/ui/common/gpu_memory_buffer_impl.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 #ifndef COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_ 5 #ifndef SERVICES_UI_COMMON_GPU_MEMORY_BUFFER_IMPL_H_
6 #define COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_ 6 #define SERVICES_UI_COMMON_GPU_MEMORY_BUFFER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/mus/common/mus_common_export.h"
13 #include "gpu/command_buffer/common/sync_token.h" 12 #include "gpu/command_buffer/common/sync_token.h"
13 #include "services/ui/common/mus_common_export.h"
14 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/geometry/size.h"
15 #include "ui/gfx/gpu_memory_buffer.h" 15 #include "ui/gfx/gpu_memory_buffer.h"
16 16
17 #if defined(USE_OZONE) 17 #if defined(USE_OZONE)
18 #include "ui/ozone/public/native_pixmap.h" 18 #include "ui/ozone/public/native_pixmap.h"
19 #endif 19 #endif
20 20
21 namespace mus { 21 namespace mus {
22 22
23 // Provides common implementation of a GPU memory buffer. 23 // Provides common implementation of a GPU memory buffer.
(...skipping 27 matching lines...) Expand all
51 const gfx::Size size_; 51 const gfx::Size size_;
52 const gfx::BufferFormat format_; 52 const gfx::BufferFormat format_;
53 bool mapped_; 53 bool mapped_;
54 54
55 private: 55 private:
56 DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImpl); 56 DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImpl);
57 }; 57 };
58 58
59 } // namespace mus 59 } // namespace mus
60 60
61 #endif // COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_ 61 #endif // SERVICES_UI_COMMON_GPU_MEMORY_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/common/generic_shared_memory_id_generator.cc ('k') | services/ui/common/gpu_memory_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698