| 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 be24077ffb867cc1143363e7cce9faa205d17442..0fb4882c76d8a57f7977d9fd99ca1219fad31229 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| @@ -187,12 +187,16 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
|
| // Gets the ValuebufferManager for this context.
|
| virtual ValuebufferManager* GetValuebufferManager() = 0;
|
|
|
| - // Process any pending queries. Returns false if there are no pending queries.
|
| - virtual bool ProcessPendingQueries(bool did_finish) = 0;
|
| + // Returns false if there are no pending queries.
|
| + virtual bool HasPendingQueries() const = 0;
|
|
|
| - // Returns false if there are no idle work to be made.
|
| - virtual bool HasMoreIdleWork() = 0;
|
| + // Process any pending queries.
|
| + virtual void ProcessPendingQueries(bool did_finish) = 0;
|
|
|
| + // Returns false if there is no idle work to be made.
|
| + virtual bool HasMoreIdleWork() const = 0;
|
| +
|
| + // Perform any idle work that needs to be made.
|
| virtual void PerformIdleWork() = 0;
|
|
|
| // Sets a callback which is called when a glResizeCHROMIUM command
|
|
|