Index: cc/output/context_provider.h |
diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h |
index 0a794d77d6882648cb776fab0b4304843bbdd4d3..d87127c4c63c97ff1b6db193fe7c706aca7b2bc9 100644 |
--- a/cc/output/context_provider.h |
+++ b/cc/output/context_provider.h |
@@ -29,7 +29,6 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { |
virtual class GrContext* GrContext() = 0; |
struct Capabilities { |
- bool bind_uniform_location; |
bool discard_backbuffer; |
bool egl_image_external; |
bool fast_npot_mo8_textures; |
@@ -53,6 +52,9 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { |
// Returns the capabilities of the currently bound 3d context. |
virtual Capabilities ContextCapabilities() = 0; |
+ // Checks if the context is currently known to be lost. |
+ virtual bool IsContextLost() = 0; |
+ |
// Ask the provider to check if the contexts are valid or lost. If they are, |
// this should invalidate the provider so that it can be replaced with a new |
// one. |