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

Unified Diff: chrome/common/gpu_messages_unittest.cc

Issue 6279009: Collect GL_EXTENSIONS string in GPUInfo and display it in about:gpu page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « chrome/common/gpu_messages.cc ('k') | chrome/gpu/gpu_info_collector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_messages_unittest.cc
===================================================================
--- chrome/common/gpu_messages_unittest.cc (revision 72186)
+++ chrome/common/gpu_messages_unittest.cc (working copy)
@@ -22,6 +22,7 @@
input.SetGLVersionString("3.2.0 NVIDIA 195.36.24");
input.SetGLVendor("NVIDIA Corporation");
input.SetGLRenderer("Quadro FX 380/PCI/SSE2");
+ input.SetGLExtensions("GL_ARB_texture_rg GL_ARB_window_pos");
input.SetCanLoseContext(false);
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
@@ -43,6 +44,7 @@
EXPECT_EQ(input.gl_version_string(), output.gl_version_string());
EXPECT_EQ(input.gl_vendor(), output.gl_vendor());
EXPECT_EQ(input.gl_renderer(), output.gl_renderer());
+ EXPECT_EQ(input.gl_extensions(), output.gl_extensions());
EXPECT_EQ(input.can_lose_context(), output.can_lose_context());
std::string log_message;
« no previous file with comments | « chrome/common/gpu_messages.cc ('k') | chrome/gpu/gpu_info_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698