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

Unified Diff: chrome/browser/gpu_process_host_ui_shim.cc

Issue 6526020: Blacklist GPU features on Windows XP.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/resources/gpu_blacklist.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gpu_process_host_ui_shim.cc
===================================================================
--- chrome/browser/gpu_process_host_ui_shim.cc (revision 74823)
+++ chrome/browser/gpu_process_host_ui_shim.cc (working copy)
@@ -4,6 +4,8 @@
#include "chrome/browser/gpu_process_host_ui_shim.h"
+#include "app/app_switches.h"
+#include "app/gfx/gl/gl_implementation.h"
#include "base/command_line.h"
#include "base/metrics/histogram.h"
#include "chrome/browser/browser_thread.h"
@@ -326,7 +328,9 @@
gpu_feature_flags_set_ = true;
const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
- if (!browser_command_line.HasSwitch(switches::kIgnoreGpuBlacklist)) {
+ if (!browser_command_line.HasSwitch(switches::kIgnoreGpuBlacklist) &&
+ browser_command_line.GetSwitchValueASCII(
+ switches::kUseGL) != gfx::kGLImplementationOSMesaName) {
gpu_feature_flags_ = gpu_blacklist_->DetermineGpuFeatureFlags(
GpuBlacklist::kOsAny, NULL, gpu_info);
« no previous file with comments | « no previous file | chrome/browser/resources/gpu_blacklist.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698