| 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 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 Loading... |
| 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 |
| OLD | NEW |