| 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 b109c7b35483501a2786f6f63dfe9a613ee29ced..589f8af77f51124877a5a75c75fb98eaa82f4c00 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| @@ -93,6 +93,7 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
|
| gpu::CommandBufferId command_buffer_id,
|
| uint64_t release)>
|
| WaitFenceSyncCallback;
|
| + typedef base::Callback<void(void)> NoParamCallback;
|
|
|
| // The default stencil mask, which has all bits set. This really should be a
|
| // GLuint, but we can't #include gl_bindings.h in this file without causing
|
| @@ -292,6 +293,13 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
|
| virtual void SetWaitFenceSyncCallback(
|
| const WaitFenceSyncCallback& callback) = 0;
|
|
|
| + // Sets the callback for the DescheduleUntilFinished and
|
| + // RescheduleAfterFinished calls.
|
| + virtual void SetDescheduleUntilFinishedCallback(
|
| + const NoParamCallback& callback) = 0;
|
| + virtual void SetRescheduleAfterFinishedCallback(
|
| + const NoParamCallback& callback) = 0;
|
| +
|
| virtual void WaitForReadPixels(base::Closure callback) = 0;
|
| virtual uint32_t GetTextureUploadCount() = 0;
|
| virtual base::TimeDelta GetTotalTextureUploadTime() = 0;
|
|
|