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

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

Issue 1385793002: Only make timer queries' results available when control returns to browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review feedback from dyen. Created 5 years, 2 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 EXTDisjointTimerQuery_h 5 #ifndef EXTDisjointTimerQuery_h
6 #define EXTDisjointTimerQuery_h 6 #define EXTDisjointTimerQuery_h
7 7
8 #include "bindings/core/v8/ScriptValue.h" 8 #include "bindings/core/v8/ScriptValue.h"
9 #include "modules/webgl/WebGLExtension.h" 9 #include "modules/webgl/WebGLExtension.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 22 matching lines...) Expand all
33 void queryCounterEXT(WebGLTimerQueryEXT*, GLenum); 33 void queryCounterEXT(WebGLTimerQueryEXT*, GLenum);
34 ScriptValue getQueryEXT(ScriptState*, GLenum, GLenum); 34 ScriptValue getQueryEXT(ScriptState*, GLenum, GLenum);
35 ScriptValue getQueryObjectEXT(ScriptState*, WebGLTimerQueryEXT*, GLenum); 35 ScriptValue getQueryObjectEXT(ScriptState*, WebGLTimerQueryEXT*, GLenum);
36 36
37 DECLARE_VIRTUAL_TRACE(); 37 DECLARE_VIRTUAL_TRACE();
38 38
39 private: 39 private:
40 friend class WebGLTimerQueryEXT; 40 friend class WebGLTimerQueryEXT;
41 explicit EXTDisjointTimerQuery(WebGLRenderingContextBase*); 41 explicit EXTDisjointTimerQuery(WebGLRenderingContextBase*);
42 42
43 void OnQueryDeleted(GLuint);
44
45 Member<WebGLTimerQueryEXT> m_currentElapsedQuery; 43 Member<WebGLTimerQueryEXT> m_currentElapsedQuery;
46 }; 44 };
47 45
48 } // namespace blink 46 } // namespace blink
49 47
50 #endif // EXTDisjointTimerQuery_h 48 #endif // EXTDisjointTimerQuery_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698