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

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

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 "gpu/config/gpu_info_collector.h" 5 #include "gpu/config/gpu_info_collector.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 if (!context_gpu_info.driver_vendor.empty()) 157 if (!context_gpu_info.driver_vendor.empty())
158 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; 158 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor;
159 if (!context_gpu_info.driver_version.empty()) 159 if (!context_gpu_info.driver_version.empty())
160 basic_gpu_info->driver_version = context_gpu_info.driver_version; 160 basic_gpu_info->driver_version = context_gpu_info.driver_version;
161 161
162 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; 162 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context;
163 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; 163 basic_gpu_info->sandboxed = context_gpu_info.sandboxed;
164 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; 164 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering;
165 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; 165 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu;
166 basic_gpu_info->driver_bugs_workarounds =
167 context_gpu_info.driver_bugs_workarounds;
166 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; 168 basic_gpu_info->context_info_state = context_gpu_info.context_info_state;
167 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; 169 basic_gpu_info->initialization_time = context_gpu_info.initialization_time;
168 basic_gpu_info->video_decode_accelerator_supported_profiles = 170 basic_gpu_info->video_decode_accelerator_supported_profiles =
169 context_gpu_info.video_decode_accelerator_supported_profiles; 171 context_gpu_info.video_decode_accelerator_supported_profiles;
170 basic_gpu_info->video_encode_accelerator_supported_profiles = 172 basic_gpu_info->video_encode_accelerator_supported_profiles =
171 context_gpu_info.video_encode_accelerator_supported_profiles; 173 context_gpu_info.video_encode_accelerator_supported_profiles;
172 basic_gpu_info->jpeg_decode_accelerator_supported = 174 basic_gpu_info->jpeg_decode_accelerator_supported =
173 context_gpu_info.jpeg_decode_accelerator_supported; 175 context_gpu_info.jpeg_decode_accelerator_supported;
174 } 176 }
175 177
176 } // namespace gpu 178 } // namespace gpu
177 179
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698