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

Unified Diff: components/mus/common/gpu_memory_buffer_impl.h

Issue 2020293003: Use mus::MojoGpuMemoryBufferManager in mus::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/common/DEPS ('k') | components/mus/common/gpu_memory_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/common/gpu_memory_buffer_impl.h
diff --git a/components/mus/gles2/gpu_memory_buffer_impl.h b/components/mus/common/gpu_memory_buffer_impl.h
similarity index 83%
rename from components/mus/gles2/gpu_memory_buffer_impl.h
rename to components/mus/common/gpu_memory_buffer_impl.h
index 2ad8e99ecd1c1e31c338606c8266a611e2e06b21..84f1f9d90ad4a73544ab8daec5e4ce99783e1a2e 100644
--- a/components/mus/gles2/gpu_memory_buffer_impl.h
+++ b/components/mus/common/gpu_memory_buffer_impl.h
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_
-#define COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_
+#ifndef COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_
+#define COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_
#include <memory>
#include "base/callback.h"
#include "base/macros.h"
+#include "components/mus/common/mus_common_export.h"
#include "gpu/command_buffer/common/sync_token.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -20,7 +21,7 @@
namespace mus {
// Provides common implementation of a GPU memory buffer.
-class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
+class MUS_COMMON_EXPORT GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
public:
~GpuMemoryBufferImpl() override;
@@ -57,4 +58,4 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
} // namespace mus
-#endif // COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_
+#endif // COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_
« no previous file with comments | « components/mus/common/DEPS ('k') | components/mus/common/gpu_memory_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698