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

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

Issue 2034573004: FYI: Adds V8PrivateProperty::getOrUndefined(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 "modules/webgl/WebGLExtension.h" 8 #include "modules/webgl/WebGLExtension.h"
9 #include "modules/webgl/WebGLRenderingContextBase.h" 9 #include "modules/webgl/WebGLRenderingContextBase.h"
10 10
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 HeapVector<Member<WebGLSampler>> m_samplerUnits; 304 HeapVector<Member<WebGLSampler>> m_samplerUnits;
305 305
306 GLint m_packRowLength; 306 GLint m_packRowLength;
307 GLint m_packSkipPixels; 307 GLint m_packSkipPixels;
308 GLint m_packSkipRows; 308 GLint m_packSkipRows;
309 GLint m_unpackRowLength; 309 GLint m_unpackRowLength;
310 GLint m_unpackImageHeight; 310 GLint m_unpackImageHeight;
311 GLint m_unpackSkipPixels; 311 GLint m_unpackSkipPixels;
312 GLint m_unpackSkipRows; 312 GLint m_unpackSkipRows;
313 GLint m_unpackSkipImages; 313 GLint m_unpackSkipImages;
314
315 ScopedPersistent<v8::Array> m_samplerWrappers;
316 ScopedPersistent<v8::Array> m_queryWrappers;
317 }; 314 };
318 315
319 DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context, 316 DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context,
320 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) >= 2, 317 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) >= 2,
321 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) >= 2) ; 318 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) >= 2) ;
322 319
323 } // namespace blink 320 } // namespace blink
324 321
325 #endif 322 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698