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

Side by Side Diff: Source/core/html/canvas/WebGL2RenderingContextBase.h

Issue 1210673002: Improving support for WebGL2 Query objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing some of kbr@'s nits Created 5 years, 6 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 | Source/core/html/canvas/WebGL2RenderingContextBase.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 WebGL2RenderingContextBase_h 5 #ifndef WebGL2RenderingContextBase_h
6 #define WebGL2RenderingContextBase_h 6 #define WebGL2RenderingContextBase_h
7 7
8 #include "core/html/canvas/WebGLExtension.h" 8 #include "core/html/canvas/WebGLExtension.h"
9 #include "core/html/canvas/WebGLRenderingContextBase.h" 9 #include "core/html/canvas/WebGLRenderingContextBase.h"
10 #include "wtf/PassRefPtr.h" 10 #include "wtf/PassRefPtr.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 RefPtrWillBeMember<WebGLTransformFeedback> m_transformFeedbackBinding; 210 RefPtrWillBeMember<WebGLTransformFeedback> m_transformFeedbackBinding;
211 GLint m_max3DTextureSize; 211 GLint m_max3DTextureSize;
212 GLint m_max3DTextureLevel; 212 GLint m_max3DTextureLevel;
213 213
214 RefPtrWillBeMember<WebGLBuffer> m_boundCopyReadBuffer; 214 RefPtrWillBeMember<WebGLBuffer> m_boundCopyReadBuffer;
215 RefPtrWillBeMember<WebGLBuffer> m_boundCopyWriteBuffer; 215 RefPtrWillBeMember<WebGLBuffer> m_boundCopyWriteBuffer;
216 RefPtrWillBeMember<WebGLBuffer> m_boundPixelPackBuffer; 216 RefPtrWillBeMember<WebGLBuffer> m_boundPixelPackBuffer;
217 RefPtrWillBeMember<WebGLBuffer> m_boundPixelUnpackBuffer; 217 RefPtrWillBeMember<WebGLBuffer> m_boundPixelUnpackBuffer;
218 RefPtrWillBeMember<WebGLBuffer> m_boundTransformFeedbackBuffer; 218 RefPtrWillBeMember<WebGLBuffer> m_boundTransformFeedbackBuffer;
219 RefPtrWillBeMember<WebGLBuffer> m_boundUniformBuffer; 219 RefPtrWillBeMember<WebGLBuffer> m_boundUniformBuffer;
220
221 RefPtrWillBeMember<WebGLQuery> m_currentBooleanOcclusionQuery;
222 RefPtrWillBeMember<WebGLQuery> m_currentTransformFeedbackPrimitivesWrittenQu ery;
220 }; 223 };
221 224
222 DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context, 225 DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context,
223 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) >= 2, 226 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) >= 2,
224 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) >= 2) ; 227 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) >= 2) ;
225 228
226 } // namespace blink 229 } // namespace blink
227 230
228 #endif 231 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/canvas/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698