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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 10702200: PyAuto test for GPU memory consumption (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated PyAuto test for GPU memory consumption. Created 8 years, 5 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void StopWatchdog(); 46 void StopWatchdog();
47 47
48 // ChildThread overrides. 48 // ChildThread overrides.
49 virtual bool Send(IPC::Message* msg) OVERRIDE; 49 virtual bool Send(IPC::Message* msg) OVERRIDE;
50 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; 50 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
51 51
52 private: 52 private:
53 // Message handlers. 53 // Message handlers.
54 void OnInitialize(); 54 void OnInitialize();
55 void OnCollectGraphicsInfo(); 55 void OnCollectGraphicsInfo();
56 void OnGetMemStats();
56 void OnClean(); 57 void OnClean();
57 void OnCrash(); 58 void OnCrash();
58 void OnHang(); 59 void OnHang();
59 60
60 #if defined(USE_TCMALLOC) 61 #if defined(USE_TCMALLOC)
61 void OnGetGpuTcmalloc(); 62 void OnGetGpuTcmalloc();
62 #endif 63 #endif
63 64
64 #if defined(OS_WIN) 65 #if defined(OS_WIN)
65 static void CollectDxDiagnostics(GpuChildThread* thread); 66 static void CollectDxDiagnostics(GpuChildThread* thread);
(...skipping 17 matching lines...) Expand all
83 84
84 scoped_ptr<GpuChannelManager> gpu_channel_manager_; 85 scoped_ptr<GpuChannelManager> gpu_channel_manager_;
85 86
86 // Information about the GPU, such as device and vendor ID. 87 // Information about the GPU, such as device and vendor ID.
87 content::GPUInfo gpu_info_; 88 content::GPUInfo gpu_info_;
88 89
89 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 90 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
90 }; 91 };
91 92
92 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 93 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698