| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebGLFenceSync_h |
| 6 #define WebGLFenceSync_h |
| 7 |
| 8 #include "core/html/canvas/WebGLSync.h" |
| 9 #include "wtf/PassRefPtr.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class WebGL2RenderingContextBase; |
| 14 |
| 15 class WebGLFenceSync : public WebGLSync { |
| 16 public: |
| 17 ~WebGLFenceSync() override; |
| 18 |
| 19 static PassRefPtrWillBeRawPtr<WebGLSync> create(WebGL2RenderingContextBase*,
GLenum condition, GLbitfield flags); |
| 20 |
| 21 protected: |
| 22 WebGLFenceSync(WebGL2RenderingContextBase*, GLenum condition, GLbitfield fla
gs); |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // WebGLFenceSync_h |
| OLD | NEW |