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

Unified Diff: chrome/common/gpu_messages_unittest.cc

Issue 3104011: Add Mac GPU logging code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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.h ('k') | chrome/gpu/gpu_info_collector_mac.mm » ('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 56911)
+++ chrome/common/gpu_messages_unittest.cc (working copy)
@@ -15,7 +15,8 @@
GPUInfo input;
// Test variables taken from Lenovo T61
input.SetGraphicsInfo(0x10de, 0x429, L"6.14.11.7715",
- 0xffff0300, 0xfffe0300);
+ 0xffff0300, 0xfffe0300,
+ 0x00010005);
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::WriteParam(&msg, input);
@@ -28,6 +29,7 @@
EXPECT_EQ(input.driver_version(), output.driver_version());
EXPECT_EQ(input.pixel_shader_version(), output.pixel_shader_version());
EXPECT_EQ(input.vertex_shader_version(), output.vertex_shader_version());
+ EXPECT_EQ(input.gl_version(), output.gl_version());
std::string log_message;
IPC::LogParam(output, &log_message);
« no previous file with comments | « chrome/common/gpu_messages.h ('k') | chrome/gpu/gpu_info_collector_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698