| Index: cc/output/output_surface.h
|
| diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
|
| index 84d128aa023b7dd7c3c25fe5b2ce36e3dd8951be..aab9c3ec35a228a0ca09b4d3bfa0b7f72384d4a2 100644
|
| --- a/cc/output/output_surface.h
|
| +++ b/cc/output/output_surface.h
|
| @@ -125,6 +125,7 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient {
|
| virtual void SetNeedsBeginFrame(bool enable);
|
|
|
| bool HasClient() { return !!client_; }
|
| + bool IsLost() { return context_is_lost_; }
|
|
|
| protected:
|
| // Synchronously initialize context3d and enter hardware mode.
|
| @@ -141,6 +142,7 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient {
|
| struct cc::OutputSurface::Capabilities capabilities_;
|
| scoped_refptr<ContextProvider> context_provider_;
|
| scoped_ptr<cc::SoftwareOutputDevice> software_device_;
|
| + bool context_is_lost_;
|
| bool has_gl_discard_backbuffer_;
|
| bool has_swap_buffers_complete_callback_;
|
| gfx::Size surface_size_;
|
|
|