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

Side by Side Diff: services/ui/gpu/gpu_service_internal.h

Issue 2310623002: Remove GPU memory UMAs (Closed)
Patch Set: Rebase 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 unified diff | Download patch
« no previous file with comments | « gpu/ipc/service/gpu_memory_manager.cc ('k') | services/ui/gpu/gpu_service_internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ 5 #ifndef SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_
6 #define SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ 6 #define SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/synchronization/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 gfx::BufferFormat format, 91 gfx::BufferFormat format,
92 int client_id); 92 int client_id);
93 93
94 // gpu::GpuChannelManagerDelegate: 94 // gpu::GpuChannelManagerDelegate:
95 void DidCreateOffscreenContext(const GURL& active_url) override; 95 void DidCreateOffscreenContext(const GURL& active_url) override;
96 void DidDestroyChannel(int client_id) override; 96 void DidDestroyChannel(int client_id) override;
97 void DidDestroyOffscreenContext(const GURL& active_url) override; 97 void DidDestroyOffscreenContext(const GURL& active_url) override;
98 void DidLoseContext(bool offscreen, 98 void DidLoseContext(bool offscreen,
99 gpu::error::ContextLostReason reason, 99 gpu::error::ContextLostReason reason,
100 const GURL& active_url) override; 100 const GURL& active_url) override;
101 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override;
102 void StoreShaderToDisk(int client_id, 101 void StoreShaderToDisk(int client_id,
103 const std::string& key, 102 const std::string& key,
104 const std::string& shader) override; 103 const std::string& shader) override;
105 #if defined(OS_WIN) 104 #if defined(OS_WIN)
106 void SendAcceleratedSurfaceCreatedChildWindow( 105 void SendAcceleratedSurfaceCreatedChildWindow(
107 gpu::SurfaceHandle parent_window, 106 gpu::SurfaceHandle parent_window,
108 gpu::SurfaceHandle child_window) override; 107 gpu::SurfaceHandle child_window) override;
109 #endif 108 #endif
110 void SetActiveURL(const GURL& url) override; 109 void SetActiveURL(const GURL& url) override;
111 110
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 gpu::GPUInfo gpu_info_; 153 gpu::GPUInfo gpu_info_;
155 154
156 mojo::Binding<mojom::GpuServiceInternal> binding_; 155 mojo::Binding<mojom::GpuServiceInternal> binding_;
157 156
158 DISALLOW_COPY_AND_ASSIGN(GpuServiceInternal); 157 DISALLOW_COPY_AND_ASSIGN(GpuServiceInternal);
159 }; 158 };
160 159
161 } // namespace ui 160 } // namespace ui
162 161
163 #endif // SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ 162 #endif // SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_memory_manager.cc ('k') | services/ui/gpu/gpu_service_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698