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

Unified Diff: cc/test/test_delegating_output_surface.h

Issue 2194013002: cc: Delete the Renderer base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dcheck-delegating
Patch Set: delete-renderer-base-class: rebase Created 4 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 | « cc/test/layer_tree_pixel_test.cc ('k') | cc/test/test_delegating_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_delegating_output_surface.h
diff --git a/cc/test/test_delegating_output_surface.h b/cc/test/test_delegating_output_surface.h
index fc5f1f81ae464ae8b33dddeca070c834509942a9..2ec1e413e6d8767bd9a7dd83c187179705a213a0 100644
--- a/cc/test/test_delegating_output_surface.h
+++ b/cc/test/test_delegating_output_surface.h
@@ -51,6 +51,9 @@ class TestDelegatingOutputSurface : public OutputSurface,
void SetClient(TestDelegatingOutputSurfaceClient* client) {
test_client_ = client;
}
+ void SetEnlargePassTextureAmount(const gfx::Size& s) {
+ enlarge_pass_texture_amount_ = s;
+ }
Display* display() const { return display_.get(); }
@@ -93,6 +96,7 @@ class TestDelegatingOutputSurface : public OutputSurface,
bool bound_ = false;
TestDelegatingOutputSurfaceClient* test_client_ = nullptr;
+ gfx::Size enlarge_pass_texture_amount_;
std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests_;
« no previous file with comments | « cc/test/layer_tree_pixel_test.cc ('k') | cc/test/test_delegating_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698