Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQueryWebGL2.h

Issue 2437233002: Implement EXT_disjoint_timer_query_webgl2 (Closed)
Patch Set: fix logic again Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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 EXTDisjointTimerQueryWebGL2_h
6 #define EXTDisjointTimerQueryWebGL2_h
7
8 #include "bindings/core/v8/ScriptValue.h"
9 #include "modules/webgl/WebGLExtension.h"
10 #include "modules/webgl/WebGLQuery.h"
11 #include "wtf/HashMap.h"
12
13 namespace blink {
14
15 class WebGLRenderingContextBase;
16 class WebGLQuery;
17
18 class EXTDisjointTimerQueryWebGL2 final : public WebGLExtension {
19 DEFINE_WRAPPERTYPEINFO();
20
21 public:
22 static EXTDisjointTimerQueryWebGL2* create(WebGLRenderingContextBase*);
23 static bool supported(WebGLRenderingContextBase*);
24 static const char* extensionName();
25
26 ~EXTDisjointTimerQueryWebGL2() override;
27 WebGLExtensionName name() const override;
28
29 void queryCounterEXT(WebGLQuery*, GLenum);
30
31 DECLARE_VIRTUAL_TRACE();
32
33 private:
34 explicit EXTDisjointTimerQueryWebGL2(WebGLRenderingContextBase*);
35 };
36
37 } // namespace blink
38
39 #endif // EXTDisjointTimerQueryWebGL2_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698