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

Unified Diff: cc/test/fake_output_surface.h

Issue 1418273002: cc: Move draw params from SetExternalDrawConstraints to OnDraw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT_SCOPED 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 | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index 06e19c98636ffcdbf64678933d316fe2a1ed7154..6804b137f5087de17597e0da118675f20031f2d7 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -54,6 +54,13 @@ class FakeOutputSurface : public OutputSurface {
new FakeOutputSurface(std::move(software_device), false));
}
+ static scoped_ptr<FakeOutputSurface>
+ Create3dWithResourcelessSoftwareSupport() {
+ return make_scoped_ptr(new FakeOutputSurface(
+ TestContextProvider::Create(),
+ make_scoped_ptr(new SoftwareOutputDevice), false));
+ }
+
static scoped_ptr<FakeOutputSurface> CreateDelegating3d() {
return make_scoped_ptr(
new FakeOutputSurface(TestContextProvider::Create(),
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/fake_output_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698