Chromium Code Reviews| Index: gpu/command_buffer/client/gles2_interface.h |
| diff --git a/gpu/command_buffer/client/gles2_interface.h b/gpu/command_buffer/client/gles2_interface.h |
| index 0b0bc514f2489822582482a66fa8806237cd5e12..0b47301a84cdf53ce2e0caea680b13e979c49731 100644 |
| --- a/gpu/command_buffer/client/gles2_interface.h |
| +++ b/gpu/command_buffer/client/gles2_interface.h |
| @@ -24,6 +24,10 @@ class GLES2Interface { |
| // it means we can easily edit the non-auto generated parts right here in |
| // this file instead of having to edit some template or the code generator. |
| #include "gpu/command_buffer/client/gles2_interface_autogen.h" |
| + |
| + // This method is implemented entirely on the client side by checking for |
| + // errors. |
| + virtual GLboolean IsContextLost() = 0; |
|
danakj
2015/06/08 20:57:10
I am pretty sure putting this method here is wrong
piman
2015/06/08 21:01:57
I suppose what we'd want to add to GLES2Interface
|
| }; |
| } // namespace gles2 |