| Index: ui/gl/gl_fence.h
|
| diff --git a/ui/gl/gl_fence.h b/ui/gl/gl_fence.h
|
| index 0f055273bf5d39557e38a74b59745c00b27a2b61..df87657b0b15df24c167a8881156bd3a6b2b643c 100644
|
| --- a/ui/gl/gl_fence.h
|
| +++ b/ui/gl/gl_fence.h
|
| @@ -9,6 +9,10 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "ui/gl/gl_export.h"
|
|
|
| +namespace gfx {
|
| +struct GpuFenceHandle;
|
| +}
|
| +
|
| namespace gl {
|
|
|
| class GL_EXPORT GLFence : public base::RefCounted<GLFence> {
|
| @@ -17,6 +21,8 @@ class GL_EXPORT GLFence : public base::RefCounted<GLFence> {
|
|
|
| static bool IsSupported();
|
| static scoped_refptr<GLFence> Create();
|
| + static scoped_refptr<GLFence> CreateFromGpuFenceHandle(
|
| + const gfx::GpuFenceHandle& handle);
|
|
|
| virtual bool HasCompleted() = 0;
|
| virtual void ClientWait() = 0;
|
|
|