| Index: gpu/command_buffer/service/query_manager.h
|
| diff --git a/gpu/command_buffer/service/query_manager.h b/gpu/command_buffer/service/query_manager.h
|
| index 62da3b8672feb9a275bb274df09fd2b713ba28bd..5f14929272c2c5ce77ee4c3c85606894cfce83f8 100644
|
| --- a/gpu/command_buffer/service/query_manager.h
|
| +++ b/gpu/command_buffer/service/query_manager.h
|
| @@ -64,7 +64,7 @@ class GPU_EXPORT QueryManager {
|
| virtual bool End(base::subtle::Atomic32 submit_count) = 0;
|
|
|
| // Returns false if shared memory for sync is invalid.
|
| - virtual bool Process() = 0;
|
| + virtual bool Process(bool did_finish) = 0;
|
|
|
| virtual void Destroy(bool have_context) = 0;
|
|
|
| @@ -170,8 +170,9 @@ class GPU_EXPORT QueryManager {
|
| bool EndQuery(Query* query, base::subtle::Atomic32 submit_count);
|
|
|
| // Processes pending queries. Returns false if any queries are pointing
|
| - // to invalid shared memory.
|
| - bool ProcessPendingQueries();
|
| + // to invalid shared memory. |did_finish| is true if this is called as
|
| + // a result of calling glFinish().
|
| + bool ProcessPendingQueries(bool did_finish);
|
|
|
| // True if there are pending queries.
|
| bool HavePendingQueries();
|
|
|