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

Side by Side Diff: gpu/config/gpu_switching_list.cc

Issue 57633007: Merge gpu_switching_list into gpu_driver_bug_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final final Created 7 years, 1 month 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 | « gpu/config/gpu_switching_list.h ('k') | gpu/config/gpu_switching_list_json.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "gpu/config/gpu_switching_list.h"
6
7 #include "gpu/config/gpu_switching_option.h"
8
9 namespace gpu {
10
11 GpuSwitchingList::GpuSwitchingList()
12 : GpuControlList() {
13 }
14
15 GpuSwitchingList::~GpuSwitchingList() {
16 }
17
18 // static
19 GpuSwitchingList* GpuSwitchingList::Create() {
20 GpuSwitchingList* list = new GpuSwitchingList();
21 list->AddSupportedFeature("force_integrated",
22 GPU_SWITCHING_OPTION_FORCE_INTEGRATED);
23 list->AddSupportedFeature("force_discrete",
24 GPU_SWITCHING_OPTION_FORCE_DISCRETE);
25 return list;
26 }
27
28 } // namespace gpu
29
OLDNEW
« no previous file with comments | « gpu/config/gpu_switching_list.h ('k') | gpu/config/gpu_switching_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698