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 "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/TraceWrapperMember.h" | 9 #include "bindings/core/v8/TraceWrapperMember.h" |
10 #include "modules/webgl/WebGLExtension.h" | 10 #include "modules/webgl/WebGLExtension.h" |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 DOMArrayBufferView*); | 486 DOMArrayBufferView*); |
487 void | 487 void |
488 texSubImage3D(GLenum, GLint, GLint, GLint, GLint, GLenum, GLenum, ImageData*); | 488 texSubImage3D(GLenum, GLint, GLint, GLint, GLint, GLenum, GLenum, ImageData*); |
489 void texSubImage3D(GLenum, | 489 void texSubImage3D(GLenum, |
490 GLint, | 490 GLint, |
491 GLint, | 491 GLint, |
492 GLint, | 492 GLint, |
493 GLint, | 493 GLint, |
494 GLenum, | 494 GLenum, |
495 GLenum, | 495 GLenum, |
496 HTMLImageElement*, | |
497 ExceptionState&); | |
498 void texSubImage3D(GLenum, | |
499 GLint, | |
500 GLint, | |
501 GLint, | |
502 GLint, | |
503 GLenum, | |
504 GLenum, | |
505 HTMLCanvasElement*, | 496 HTMLCanvasElement*, |
506 ExceptionState&); | 497 ExceptionState&); |
507 void texSubImage3D(GLenum, | 498 void texSubImage3D(GLenum, |
508 GLint, | 499 GLint, |
509 GLint, | 500 GLint, |
510 GLint, | 501 GLint, |
511 GLint, | 502 GLint, |
512 GLenum, | 503 GLenum, |
513 GLenum, | 504 GLenum, |
514 HTMLVideoElement*, | 505 HTMLVideoElement*, |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 context, | 948 context, |
958 context->is3d() && | 949 context->is3d() && |
959 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, | 950 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, |
960 context.is3d() && | 951 context.is3d() && |
961 WebGLRenderingContextBase::getWebGLVersion(&context) >= | 952 WebGLRenderingContextBase::getWebGLVersion(&context) >= |
962 2); | 953 2); |
963 | 954 |
964 } // namespace blink | 955 } // namespace blink |
965 | 956 |
966 #endif | 957 #endif |
OLD | NEW |