| Index: tools/gpu/gl/GLTestContext.cpp
|
| diff --git a/tools/gpu/gl/GLTestContext.cpp b/tools/gpu/gl/GLTestContext.cpp
|
| index 87cf724139c95b4ab8051021c7155e838c431e27..68980922cdc4c986ef1c3fae325a2ec6dfd9a8bf 100644
|
| --- a/tools/gpu/gl/GLTestContext.cpp
|
| +++ b/tools/gpu/gl/GLTestContext.cpp
|
| @@ -14,7 +14,7 @@ public:
|
| static GLFenceSync* CreateIfSupported(const GLTestContext*);
|
|
|
| SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const override;
|
| - bool waitFence(SkPlatformGpuFence fence, bool flush) const override;
|
| + bool waitFence(SkPlatformGpuFence fence) const override;
|
| void deleteFence(SkPlatformGpuFence fence) const override;
|
|
|
| private:
|
| @@ -112,9 +112,9 @@ SkPlatformGpuFence GLTestContext::GLFenceSync::insertFence() const {
|
| return fGLFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
|
| }
|
|
|
| -bool GLTestContext::GLFenceSync::waitFence(SkPlatformGpuFence fence, bool flush) const {
|
| +bool GLTestContext::GLFenceSync::waitFence(SkPlatformGpuFence fence) const {
|
| GLsync glsync = static_cast<GLsync>(fence);
|
| - return GL_WAIT_FAILED != fGLClientWaitSync(glsync, flush ? GL_SYNC_FLUSH_COMMANDS_BIT : 0, -1);
|
| + return GL_WAIT_FAILED != fGLClientWaitSync(glsync, GL_SYNC_FLUSH_COMMANDS_BIT, -1);
|
| }
|
|
|
| void GLTestContext::GLFenceSync::deleteFence(SkPlatformGpuFence fence) const {
|
|
|