| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 DOMArrayBufferView*); | 477 DOMArrayBufferView*); |
| 478 void texSubImage2D(GLenum, | 478 void texSubImage2D(GLenum, |
| 479 GLint, | 479 GLint, |
| 480 GLint, | 480 GLint, |
| 481 GLint, | 481 GLint, |
| 482 GLsizei, | 482 GLsizei, |
| 483 GLsizei, | 483 GLsizei, |
| 484 GLenum, | 484 GLenum, |
| 485 GLenum, | 485 GLenum, |
| 486 DOMArrayBufferView*); | 486 DOMArrayBufferView*); |
| 487 void | |
| 488 texSubImage3D(GLenum, GLint, GLint, GLint, GLint, GLenum, GLenum, ImageData*); | |
| 489 void texSubImage3D(GLenum, | 487 void texSubImage3D(GLenum, |
| 490 GLint, | 488 GLint, |
| 491 GLint, | 489 GLint, |
| 492 GLint, | |
| 493 GLint, | |
| 494 GLenum, | |
| 495 GLenum, | |
| 496 HTMLVideoElement*, | |
| 497 ExceptionState&); | |
| 498 void texSubImage3D(GLenum, | |
| 499 GLint, | |
| 500 GLint, | |
| 501 GLint, | 490 GLint, |
| 502 GLint, | 491 GLint, |
| 503 GLenum, | 492 GLenum, |
| 504 GLenum, | 493 GLenum, |
| 505 ImageBitmap*, | 494 ImageBitmap*, |
| 506 ExceptionState&); | 495 ExceptionState&); |
| 507 | 496 |
| 508 void copyTexSubImage3D(GLenum, | 497 void copyTexSubImage3D(GLenum, |
| 509 GLint, | 498 GLint, |
| 510 GLint, | 499 GLint, |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 context, | 930 context, |
| 942 context->is3d() && | 931 context->is3d() && |
| 943 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, | 932 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, |
| 944 context.is3d() && | 933 context.is3d() && |
| 945 WebGLRenderingContextBase::getWebGLVersion(&context) >= | 934 WebGLRenderingContextBase::getWebGLVersion(&context) >= |
| 946 2); | 935 2); |
| 947 | 936 |
| 948 } // namespace blink | 937 } // namespace blink |
| 949 | 938 |
| 950 #endif | 939 #endif |
| OLD | NEW |