Index: components/mus/gpu/gpu_memory_buffer_manager_mus_local.h |
diff --git a/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h b/components/mus/gpu/gpu_memory_buffer_manager_mus_local.h |
similarity index 65% |
copy from blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h |
copy to components/mus/gpu/gpu_memory_buffer_manager_mus_local.h |
index a0de5ac2376115eb5b37ef91f1407b6b89b0cd44..39fc2d2629c45bcb165c80e32ebe26a2a194635b 100644 |
--- a/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h |
+++ b/components/mus/gpu/gpu_memory_buffer_manager_mus_local.h |
@@ -2,21 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ |
-#define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ |
+#ifndef COMPONENTS_MUS_GPU_GPU_MEMORY_BUFFER_MANAGER_MUS_LOCAL_H_ |
+#define COMPONENTS_MUS_GPU_GPU_MEMORY_BUFFER_MANAGER_MUS_LOCAL_H_ |
-#include <memory> |
- |
-#include "base/macros.h" |
#include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
-namespace blimp { |
-namespace client { |
+namespace mus { |
-class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { |
+// A GpuMemoryBufferManager used locally. |
+class GpuMemoryBufferManagerMusLocal : public gpu::GpuMemoryBufferManager { |
public: |
- BlimpGpuMemoryBufferManager(); |
- ~BlimpGpuMemoryBufferManager() override; |
+ GpuMemoryBufferManagerMusLocal(int gpu_client_id, |
+ uint64_t gpu_client_tracing_id); |
+ ~GpuMemoryBufferManagerMusLocal() override; |
// Overridden from gpu::GpuMemoryBufferManager: |
std::unique_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
@@ -37,10 +35,9 @@ class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { |
const gpu::SyncToken& sync_token) override; |
private: |
- DISALLOW_COPY_AND_ASSIGN(BlimpGpuMemoryBufferManager); |
+ DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferManagerMusLocal); |
}; |
-} // namespace client |
-} // namespace blimp |
+} // namespace mus |
-#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ |
+#endif // COMPONENTS_MUS_GPU_GPU_MEMORY_BUFFER_MANAGER_MUS_LOCAL_H_ |