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

Side by Side Diff: content/public/common/gpu_info.cc

Issue 10854076: Add GPU memory tab to the task manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate taskman feedback Created 8 years, 4 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 #include "content/public/common/gpu_info.h" 5 #include "content/public/common/gpu_info.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 GPUInfo::GPUDevice::GPUDevice() 9 GPUInfo::GPUDevice::GPUDevice()
10 : vendor_id(0), 10 : vendor_id(0),
11 device_id(0) { 11 device_id(0) {
12 } 12 }
13 13
14 GPUInfo::GPUDevice::~GPUDevice() { } 14 GPUInfo::GPUDevice::~GPUDevice() { }
15 15
16 GPUInfo::GPUInfo() 16 GPUInfo::GPUInfo()
17 : finalized(false), 17 : finalized(false),
18 optimus(false), 18 optimus(false),
19 amd_switchable(false), 19 amd_switchable(false),
20 can_lose_context(false), 20 can_lose_context(false),
21 gpu_accessible(true), 21 gpu_accessible(true),
22 software_rendering(false) { 22 software_rendering(false) {
23 } 23 }
24 24
25 GPUInfo::~GPUInfo() { } 25 GPUInfo::~GPUInfo() { }
26 26
27 GPUVidmemUsageStats::GPUVidmemUsageStats() { }
brettw 2012/08/17 19:07:24 In .cc files I usually don't use the single-line f
ccameron 2012/08/17 20:52:55 Added a newline (this is now in gpu_memory_stats.c
28
29 GPUVidmemUsageStats::~GPUVidmemUsageStats() { }
30
31 GPUVidmemUsageStats::GPUProcessVidmemUsageStats::GPUProcessVidmemUsageStats()
32 : vidmem(0),
33 has_duplicates(false) {
34 }
35
36 GPUVidmemUsageStats::GPUProcessVidmemUsageStats::
37 ~GPUProcessVidmemUsageStats() {}
38
27 } // namespace content 39 } // namespace content
OLDNEW
« content/public/common/gpu_info.h ('K') | « content/public/common/gpu_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698