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

Unified Diff: content/browser/gpu/gpu_data_manager_impl.h

Issue 10389051: Change GPUInfo to handle multiple GPUs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu/gpu_data_manager_impl.h
===================================================================
--- content/browser/gpu/gpu_data_manager_impl.h (revision 136164)
+++ content/browser/gpu/gpu_data_manager_impl.h (working copy)
@@ -81,15 +81,6 @@
// If use-gl switch is osmesa or any, return true.
bool UseGLIsOSMesaOrAny();
- // Merges the second GPUInfo object with the first.
- // If it's the same GPU, i.e., device id and vendor id are the same, then
- // copy over the fields that are not set yet and ignore the rest.
- // If it's a different GPU, then reset and copy over everything.
- // Return true if something changes that may affect blacklisting; currently
- // they are device_id, vendor_id, driver_vendor, driver_version, driver_date,
- // and gl_renderer.
- static bool Merge(content::GPUInfo* object, const content::GPUInfo& other);
Ken Russell (switch to Gerrit) 2012/05/10 01:11:09 Was removing this method intentional? If the GPU p
Zhenyao Mo 2012/05/10 21:55:32 The removal of this Merge function is on purpose.
-
// Try to switch to software rendering, if possible and necessary.
void EnableSoftwareRenderingIfNecessary();

Powered by Google App Engine
This is Rietveld 408576698