| Index: gpu/command_buffer/client/cmd_buffer_helper.h
|
| diff --git a/gpu/command_buffer/client/cmd_buffer_helper.h b/gpu/command_buffer/client/cmd_buffer_helper.h
|
| index 1ba1bf79fb2221bffa6230a4357708c5ae1b4b87..99227942ca447c84e57aa4f91fa1ea316e8319d7 100644
|
| --- a/gpu/command_buffer/client/cmd_buffer_helper.h
|
| +++ b/gpu/command_buffer/client/cmd_buffer_helper.h
|
| @@ -44,6 +44,9 @@ class GPU_EXPORT CommandBufferHelper {
|
| // buffer.
|
| bool Initialize(int32 ring_buffer_size);
|
|
|
| + // True if the context is lost.
|
| + bool IsContextLost();
|
| +
|
| // Asynchronously flushes the commands, setting the put pointer to let the
|
| // buffer interface know that new commands have been added. After a flush
|
| // returns, the command buffer service is aware of all pending commands.
|
| @@ -288,6 +291,7 @@ class GPU_EXPORT CommandBufferHelper {
|
| int32 last_put_sent_;
|
| int commands_issued_;
|
| bool usable_;
|
| + bool context_lost_;
|
|
|
| // Using C runtime instead of base because this file cannot depend on base.
|
| clock_t last_flush_time_;
|
|
|