| Index: gpu/command_buffer/service/gles2_cmd_decoder.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| index 589f8af77f51124877a5a75c75fb98eaa82f4c00..94c28677f1f5a48a789bfebcad7bdf690cf07fe7 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| @@ -237,6 +237,12 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
|
| // Perform any idle work that needs to be made.
|
| virtual void PerformIdleWork() = 0;
|
|
|
| + // Whether there is state that needs to be regularly polled.
|
| + virtual bool HasPollingWork() const = 0;
|
| +
|
| + // Perform necessary polling.
|
| + virtual void PerformPollingWork() = 0;
|
| +
|
| // Get the service texture ID corresponding to a client texture ID.
|
| // If no such record is found then return false.
|
| virtual bool GetServiceTextureId(uint32_t client_texture_id,
|
|
|