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

Unified Diff: chrome/test/gpu/gpu_feature_browsertest.cc

Issue 85693007: cc: Defer first OutputSurface creation until client is ready (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « cc/trees/thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/gpu/gpu_feature_browsertest.cc
diff --git a/chrome/test/gpu/gpu_feature_browsertest.cc b/chrome/test/gpu/gpu_feature_browsertest.cc
index 72f13277fe348e536833c70bd2bb31dd481b44e7..bc98d29c3889d6661f195997e9b5ba7d1588e987 100644
--- a/chrome/test/gpu/gpu_feature_browsertest.cc
+++ b/chrome/test/gpu/gpu_feature_browsertest.cc
@@ -532,6 +532,7 @@ IN_PROC_BROWSER_TEST_F(GpuFeatureTest, IOSurfaceReuse) {
ui_test_utils::NavigateToURL(browser(), net::FilePathToFileURL(test_path));
+ LOG(INFO) << "did navigate";
gfx::Rect bounds = browser()->window()->GetBounds();
gfx::Rect new_bounds = bounds;
@@ -555,10 +556,13 @@ IN_PROC_BROWSER_TEST_F(GpuFeatureTest, IOSurfaceReuse) {
for (int offset_i = 0; offset_i < num_offsets; ++offset_i) {
new_bounds.set_width(w_start + offsets[offset_i]);
+ LOG(INFO) << "before wait";
ASSERT_TRUE(ResizeAndWait(new_bounds, "gpu", "gpu", resize_event));
+ LOG(INFO) << "after wait";
TraceEventVector resize_events;
analyzer_->FindEvents(find_resizes, &resize_events);
+ LOG(INFO) << "num rezize events = " << resize_events.size();
for (size_t resize_i = 0; resize_i < resize_events.size(); ++resize_i) {
const trace_analyzer::TraceEvent* resize = resize_events[resize_i];
// Was a create allowed:
@@ -588,6 +592,7 @@ IN_PROC_BROWSER_TEST_F(GpuFeatureTest, IOSurfaceReuse) {
old_width, new_width, num_creates, expected_creates);
}
}
+ LOG(INFO) << "finished test";
}
#endif
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698