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

Unified Diff: ui/gl/gl_surface_egl.cc

Issue 2680423002: Introducing 2 usages for SwiftShader (Closed)
Patch Set: Added missing change to GpuDataManagerImplPrivate Created 3 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
Index: ui/gl/gl_surface_egl.cc
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index d1120003f31b179f74e45ec1e0b6d0815e5404c3..2e1cffffe094e5335e9f285a55457729134ea19b 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -379,7 +379,7 @@ void GetEGLInitDisplays(bool supports_angle_d3d,
std::vector<DisplayType>* init_displays) {
// SwiftShader does not use the platform extensions
if (command_line->GetSwitchValueASCII(switches::kUseGL) ==
- kGLImplementationSwiftShaderName) {
+ kGLImplementationSwiftShaderForWebGLName) {
init_displays->push_back(SWIFT_SHADER);
return;
}

Powered by Google App Engine
This is Rietveld 408576698