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

Unified Diff: cc/test/fake_output_surface.h

Issue 23961003: cc: Remove most methods from RendererClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rendererclient: rebase Created 7 years, 3 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/output/software_renderer_unittest.cc ('k') | cc/test/fake_output_surface.cc » ('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 3f87bd3463063f9ad6f7f95d591c5a8ac79393e0..ab910894a63c98f88e0d6f21514986ec92ec3582 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -108,6 +108,12 @@ class FakeOutputSurface : public OutputSurface {
void ReturnResource(unsigned id, CompositorFrameAck* ack);
+ virtual bool HasExternalStencilTest() const OVERRIDE;
+
+ void set_has_external_stencil_test(bool has_test) {
+ has_external_stencil_test_ = has_test;
+ }
+
protected:
FakeOutputSurface(
scoped_refptr<ContextProvider> context_provider,
@@ -129,6 +135,7 @@ class FakeOutputSurface : public OutputSurface {
size_t num_sent_frames_;
bool needs_begin_frame_;
bool forced_draw_to_software_device_;
+ bool has_external_stencil_test_;
base::WeakPtrFactory<FakeOutputSurface> fake_weak_ptr_factory_;
TransferableResourceArray resources_held_by_parent_;
};
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698