Chromium Code Reviews| 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 #include "wtf/PassRefPtr.h" | 9 #include "wtf/PassRefPtr.h" |
|
sof
2015/08/01 18:49:14
can be removed.
peria
2015/08/03 09:00:36
Done.
| |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class WebGL2RenderingContextBase; | 13 class WebGL2RenderingContextBase; |
| 14 | 14 |
| 15 class WebGLFenceSync : public WebGLSync { | 15 class WebGLFenceSync : public WebGLSync { |
| 16 public: | 16 public: |
| 17 ~WebGLFenceSync() override; | 17 ~WebGLFenceSync() override; |
| 18 | 18 |
| 19 static PassRefPtrWillBeRawPtr<WebGLSync> create(WebGL2RenderingContextBase*, GLenum condition, GLbitfield flags); | 19 static WebGLSync* create(WebGL2RenderingContextBase*, GLenum condition, GLbi tfield flags); |
| 20 | 20 |
| 21 protected: | 21 protected: |
| 22 WebGLFenceSync(WebGL2RenderingContextBase*, GLenum condition, GLbitfield fla gs); | 22 WebGLFenceSync(WebGL2RenderingContextBase*, GLenum condition, GLbitfield fla gs); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace blink | 25 } // namespace blink |
| 26 | 26 |
| 27 #endif // WebGLFenceSync_h | 27 #endif // WebGLFenceSync_h |
| OLD | NEW |