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

Unified Diff: gpu/config/gpu_info_collector_unittest.cc

Issue 1481523003: Check gl version before querying GL_MAX_SAMPLES (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « gpu/config/gpu_info_collector.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_collector_unittest.cc
diff --git a/gpu/config/gpu_info_collector_unittest.cc b/gpu/config/gpu_info_collector_unittest.cc
index 0f9b306f3e121c9688e4e6eb265dbbcb0313a3f1..76fc31b2a6e589aa818f0d7bdea105ec5ad327fe 100644
--- a/gpu/config/gpu_info_collector_unittest.cc
+++ b/gpu/config/gpu_info_collector_unittest.cc
@@ -64,7 +64,7 @@ class GPUInfoCollectorTest
test_values_.gl_version = "OpenGL ES 2.0 V@14.0 AU@04.02 (CL@3206)";
test_values_.gl_extensions =
"GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 "
- "GL_EXT_read_format_bgra";
+ "GL_EXT_read_format_bgra GL_EXT_multisampled_render_to_texture";
gl_shading_language_version_ = "1.00";
break;
}
@@ -96,7 +96,7 @@ class GPUInfoCollectorTest
test_values_.gl_version = "2.1 NVIDIA-1.6.18";
test_values_.gl_extensions =
"GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 "
- "GL_EXT_read_format_bgra";
+ "GL_EXT_read_format_bgra GL_EXT_framebuffer_multisample";
gl_shading_language_version_ = "1.20 ";
break;
}
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698