Index: cc/test/fake_output_surface.cc |
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc |
index bc94f1942a11f5eb946dcdd35eb0a9c49cb53888..779396e4eaa6e76a976a440068fe769cc6750b7e 100644 |
--- a/cc/test/fake_output_surface.cc |
+++ b/cc/test/fake_output_surface.cc |
@@ -21,6 +21,7 @@ FakeOutputSurface::FakeOutputSurface( |
num_sent_frames_(0), |
needs_begin_frame_(false), |
forced_draw_to_software_device_(false), |
+ has_external_stencil_test_(false), |
fake_weak_ptr_factory_(this) { |
if (delegated_rendering) { |
capabilities_.delegated_rendering = true; |
@@ -29,11 +30,13 @@ FakeOutputSurface::FakeOutputSurface( |
} |
FakeOutputSurface::FakeOutputSurface( |
- scoped_ptr<SoftwareOutputDevice> software_device, bool delegated_rendering) |
+ scoped_ptr<SoftwareOutputDevice> software_device, |
+ bool delegated_rendering) |
: OutputSurface(software_device.Pass()), |
client_(NULL), |
num_sent_frames_(0), |
forced_draw_to_software_device_(false), |
+ has_external_stencil_test_(false), |
fake_weak_ptr_factory_(this) { |
if (delegated_rendering) { |
capabilities_.delegated_rendering = true; |
@@ -49,6 +52,7 @@ FakeOutputSurface::FakeOutputSurface( |
client_(NULL), |
num_sent_frames_(0), |
forced_draw_to_software_device_(false), |
+ has_external_stencil_test_(false), |
fake_weak_ptr_factory_(this) { |
if (delegated_rendering) { |
capabilities_.delegated_rendering = true; |
@@ -131,4 +135,8 @@ void FakeOutputSurface::ReturnResource(unsigned id, CompositorFrameAck* ack) { |
resources_held_by_parent_.erase(it); |
} |
+bool FakeOutputSurface::HasExternalStencilTest() const { |
+ return has_external_stencil_test_; |
+} |
+ |
} // namespace cc |