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