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

Side by Side Diff: content/gpu/gpu_child_thread.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 | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bool OnMessageReceived(const IPC::Message& msg) override; 84 bool OnMessageReceived(const IPC::Message& msg) override;
85 85
86 // gpu::GpuChannelManagerDelegate: 86 // gpu::GpuChannelManagerDelegate:
87 void SetActiveURL(const GURL& url) override; 87 void SetActiveURL(const GURL& url) override;
88 void DidCreateOffscreenContext(const GURL& active_url) override; 88 void DidCreateOffscreenContext(const GURL& active_url) override;
89 void DidDestroyChannel(int client_id) override; 89 void DidDestroyChannel(int client_id) override;
90 void DidDestroyOffscreenContext(const GURL& active_url) override; 90 void DidDestroyOffscreenContext(const GURL& active_url) override;
91 void DidLoseContext(bool offscreen, 91 void DidLoseContext(bool offscreen,
92 gpu::error::ContextLostReason reason, 92 gpu::error::ContextLostReason reason,
93 const GURL& active_url) override; 93 const GURL& active_url) override;
94 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override;
95 #if defined(OS_WIN) 94 #if defined(OS_WIN)
96 void SendAcceleratedSurfaceCreatedChildWindow( 95 void SendAcceleratedSurfaceCreatedChildWindow(
97 gpu::SurfaceHandle parent_window, 96 gpu::SurfaceHandle parent_window,
98 gpu::SurfaceHandle child_window) override; 97 gpu::SurfaceHandle child_window) override;
99 #endif 98 #endif
100 void StoreShaderToDisk(int32_t client_id, 99 void StoreShaderToDisk(int32_t client_id,
101 const std::string& key, 100 const std::string& key,
102 const std::string& shader) override; 101 const std::string& shader) override;
103 102
104 // base::FieldTrialList::Observer: 103 // base::FieldTrialList::Observer:
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 168
170 // Bindings to the shell::mojom::ServiceFactory impl. 169 // Bindings to the shell::mojom::ServiceFactory impl.
171 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; 170 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_;
172 171
173 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 172 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
174 }; 173 };
175 174
176 } // namespace content 175 } // namespace content
177 176
178 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 177 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698