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

Unified Diff: chrome/test/perf/frame_rate/frame_rate_tests.cc

Issue 8491056: Fix frame_rate_tests for Vista. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/frame_rate/frame_rate_tests.cc
diff --git a/chrome/test/perf/frame_rate/frame_rate_tests.cc b/chrome/test/perf/frame_rate/frame_rate_tests.cc
index f44c0020ba5fe160a4e66f482d36c59f86003185..99d40622e257dd4476e09e46c3cee961bf2d7193 100644
--- a/chrome/test/perf/frame_rate/frame_rate_tests.cc
+++ b/chrome/test/perf/frame_rate/frame_rate_tests.cc
@@ -99,6 +99,7 @@ class FrameRateTest
if (!HasFlag(kUseGpu)) {
launch_arguments_.AppendSwitch(switches::kDisableAcceleratedCompositing);
launch_arguments_.AppendSwitch(switches::kDisableExperimentalWebGL);
+ launch_arguments_.AppendSwitch(switches::kDisableAccelerated2dCanvas);
} else {
// This switch is required for enabling the accelerated 2d canvas on
// Chrome versions prior to Chrome 15, which may be the case for the
@@ -120,7 +121,7 @@ class FrameRateTest
gfx::GLImplementation gl_impl = gfx::kGLImplementationNone;
const TraceEvent* gpu_event = analyzer->FindOneEvent(
- Query(EVENT_NAME) == Query::String("GLES2DecoderImpl::Initialize") &&
+ Query(EVENT_NAME) == Query::String("SwapBuffers") &&
Query(EVENT_HAS_NUMBER_ARG, "GLImpl"));
if (gpu_event)
gl_impl = static_cast<gfx::GLImplementation>(
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698