diff options
Diffstat (limited to 'gpu/command_buffer/service/command_buffer_service.h')
-rw-r--r-- | gpu/command_buffer/service/command_buffer_service.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/command_buffer_service.h b/gpu/command_buffer/service/command_buffer_service.h index cffef5f..9c52531 100644 --- a/gpu/command_buffer/service/command_buffer_service.h +++ b/gpu/command_buffer/service/command_buffer_service.h @@ -40,6 +40,7 @@ class CommandBufferService : public CommandBuffer { virtual Buffer GetTransferBuffer(int32 handle); virtual void SetToken(int32 token); virtual void SetParseError(error::Error error); + virtual void SetContextLostReason(error::ContextLostReason); // Sets a callback that is called whenever the put offset is changed. When // called with sync==true, the callback must not return until some progress @@ -64,6 +65,7 @@ class CommandBufferService : public CommandBuffer { int32 token_; uint32 generation_; error::Error error_; + error::ContextLostReason context_lost_reason_; }; } // namespace gpu |