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

Unified Diff: services/ui/ws/gpu_service_proxy.cc

Issue 2562623005: mus/gpu: Rename the client/server side memory buffer managers. (Closed)
Patch Set: tot merge Created 4 years 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 | « services/ui/ws/gpu_service_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/gpu_service_proxy.cc
diff --git a/services/ui/ws/gpu_service_proxy.cc b/services/ui/ws/gpu_service_proxy.cc
index 5a720432e7b6ca270f412a502685d205b6ce9f6c..1745c3737ece255fba65e44f88ed77054b05777f 100644
--- a/services/ui/ws/gpu_service_proxy.cc
+++ b/services/ui/ws/gpu_service_proxy.cc
@@ -14,7 +14,7 @@
#include "mojo/public/cpp/system/buffer.h"
#include "mojo/public/cpp/system/platform_handle.h"
#include "services/service_manager/public/cpp/connection.h"
-#include "services/ui/common/mus_gpu_memory_buffer_manager.h"
+#include "services/ui/common/server_gpu_memory_buffer_manager.h"
#include "services/ui/ws/gpu_service_proxy_delegate.h"
#include "ui/gfx/buffer_format_util.h"
@@ -32,7 +32,7 @@ class GpuServiceImpl : public mojom::GpuService {
public:
GpuServiceImpl(int client_id,
gpu::GPUInfo* gpu_info,
- MusGpuMemoryBufferManager* gpu_memory_buffer_manager,
+ ServerGpuMemoryBufferManager* gpu_memory_buffer_manager,
mojom::GpuServiceInternal* gpu_service_internal)
: client_id_(client_id),
gpu_info_(gpu_info),
@@ -87,7 +87,7 @@ class GpuServiceImpl : public mojom::GpuService {
// The objects these pointers refer to are owned by the GpuServiceProxy
// object.
const gpu::GPUInfo* gpu_info_;
- MusGpuMemoryBufferManager* gpu_memory_buffer_manager_;
+ ServerGpuMemoryBufferManager* gpu_memory_buffer_manager_;
mojom::GpuServiceInternal* gpu_service_internal_;
DISALLOW_COPY_AND_ASSIGN(GpuServiceImpl);
@@ -106,7 +106,7 @@ GpuServiceProxy::GpuServiceProxy(GpuServiceProxyDelegate* delegate)
// connector->ConnectToInterface("gpu", &gpu_main_);
gpu_main_->CreateGpuService(GetProxy(&gpu_service_),
gpu_host_binding_.CreateInterfacePtrAndBind());
- gpu_memory_buffer_manager_ = base::MakeUnique<MusGpuMemoryBufferManager>(
+ gpu_memory_buffer_manager_ = base::MakeUnique<ServerGpuMemoryBufferManager>(
gpu_service_.get(), next_client_id_++);
}
« no previous file with comments | « services/ui/ws/gpu_service_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698