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

Unified Diff: services/ui/ws/mus_gpu_memory_buffer_manager.h

Issue 2360203003: services/ui: Add mojom API for creating/destroying gpu memory buffer. (Closed)
Patch Set: . Created 4 years, 3 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 | « services/ui/ws/gpu_service_proxy.cc ('k') | services/ui/ws/mus_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/mus_gpu_memory_buffer_manager.h
diff --git a/services/ui/ws/mus_gpu_memory_buffer_manager.h b/services/ui/ws/mus_gpu_memory_buffer_manager.h
index 8e65b87b50cc44a3ee2ab6d138a5e52a1eec9786..e4f9d2a9c9c60ff383a16ee250701ab19d6389a7 100644
--- a/services/ui/ws/mus_gpu_memory_buffer_manager.h
+++ b/services/ui/ws/mus_gpu_memory_buffer_manager.h
@@ -13,7 +13,9 @@
namespace ui {
+namespace mojom {
class GpuServiceInternal;
+}
namespace ws {
@@ -21,7 +23,8 @@ namespace ws {
// mus locally.
class MusGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
public:
- MusGpuMemoryBufferManager(GpuServiceInternal* gpu_service, int client_id);
+ MusGpuMemoryBufferManager(mojom::GpuServiceInternal* gpu_service,
+ int client_id);
~MusGpuMemoryBufferManager() override;
// Overridden from gpu::GpuMemoryBufferManager:
@@ -47,7 +50,7 @@ class MusGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
bool is_native,
const gpu::SyncToken& sync_token);
- GpuServiceInternal* gpu_service_;
+ mojom::GpuServiceInternal* gpu_service_;
const int client_id_;
base::WeakPtrFactory<MusGpuMemoryBufferManager> weak_factory_;
};
« no previous file with comments | « services/ui/ws/gpu_service_proxy.cc ('k') | services/ui/ws/mus_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698