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

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

Issue 6793054: Moved code that runs in both the browser and GPU process from content/gpu to content/common/gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « content/common/gpu/gpu_info.h ('k') | content/common/gpu/gpu_info_unittest.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/gpu_info.h" 5 #include "content/common/gpu/gpu_info.h"
6 6
7 GPUInfo::GPUInfo() 7 GPUInfo::GPUInfo()
8 : finalized(false), 8 : finalized(false),
9 vendor_id(0), 9 vendor_id(0),
10 device_id(0), 10 device_id(0),
11 can_lose_context(false) { 11 can_lose_context(false) {
12 } 12 }
13 13
14 GPUInfo::~GPUInfo() { } 14 GPUInfo::~GPUInfo() { }
15 15
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 can_lose_context = other.can_lose_context; 54 can_lose_context = other.can_lose_context;
55 #if defined(OS_WIN) 55 #if defined(OS_WIN)
56 if (dx_diagnostics.values.size() == 0 && 56 if (dx_diagnostics.values.size() == 0 &&
57 dx_diagnostics.children.size() == 0) 57 dx_diagnostics.children.size() == 0)
58 dx_diagnostics = other.dx_diagnostics; 58 dx_diagnostics = other.dx_diagnostics;
59 #endif 59 #endif
60 } 60 }
61 return changed; 61 return changed;
62 } 62 }
63 63
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_info.h ('k') | content/common/gpu/gpu_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698