Chromium Code Reviews| 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 458 GLint, | 458 GLint, |
| 459 GLint, | 459 GLint, |
| 460 GLsizei, | 460 GLsizei, |
| 461 GLsizei, | 461 GLsizei, |
| 462 GLsizei, | 462 GLsizei, |
| 463 GLenum, | 463 GLenum, |
| 464 GLenum, | 464 GLenum, |
| 465 ImageBitmap*, | 465 ImageBitmap*, |
| 466 ExceptionState&); | 466 ExceptionState&); |
| 467 | 467 |
| 468 // TODO(zmo): Obsolete, remove after WebGL2 conformance tests are updated. | |
| 469 void texImage2D(GLenum, | 468 void texImage2D(GLenum, |
|
Ken Russell (switch to Gerrit)
2016/11/17 07:48:45
I think these two texImage2D and texSubImage2D dec
| |
| 470 GLint, | 469 GLint, |
| 471 GLint, | 470 GLint, |
| 472 GLsizei, | 471 GLsizei, |
| 473 GLsizei, | 472 GLsizei, |
| 474 GLint, | 473 GLint, |
| 475 GLenum, | 474 GLenum, |
| 476 GLenum, | 475 GLenum, |
| 477 DOMArrayBufferView*); | 476 DOMArrayBufferView*); |
| 478 void texSubImage2D(GLenum, | 477 void texSubImage2D(GLenum, |
| 479 GLint, | 478 GLint, |
| 480 GLint, | 479 GLint, |
| 481 GLint, | 480 GLint, |
| 482 GLsizei, | 481 GLsizei, |
| 483 GLsizei, | 482 GLsizei, |
| 484 GLenum, | 483 GLenum, |
| 485 GLenum, | 484 GLenum, |
| 486 DOMArrayBufferView*); | 485 DOMArrayBufferView*); |
| 487 void texSubImage3D(GLenum, | |
| 488 GLint, | |
| 489 GLint, | |
| 490 GLint, | |
| 491 GLint, | |
| 492 GLenum, | |
| 493 GLenum, | |
| 494 ImageBitmap*, | |
| 495 ExceptionState&); | |
| 496 | 486 |
| 497 void copyTexSubImage3D(GLenum, | 487 void copyTexSubImage3D(GLenum, |
| 498 GLint, | 488 GLint, |
| 499 GLint, | 489 GLint, |
| 500 GLint, | 490 GLint, |
| 501 GLint, | 491 GLint, |
| 502 GLint, | 492 GLint, |
| 503 GLint, | 493 GLint, |
| 504 GLsizei, | 494 GLsizei, |
| 505 GLsizei); | 495 GLsizei); |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 930 context, | 920 context, |
| 931 context->is3d() && | 921 context->is3d() && |
| 932 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, | 922 WebGLRenderingContextBase::getWebGLVersion(context) >= 2, |
| 933 context.is3d() && | 923 context.is3d() && |
| 934 WebGLRenderingContextBase::getWebGLVersion(&context) >= | 924 WebGLRenderingContextBase::getWebGLVersion(&context) >= |
| 935 2); | 925 2); |
| 936 | 926 |
| 937 } // namespace blink | 927 } // namespace blink |
| 938 | 928 |
| 939 #endif | 929 #endif |
| OLD | NEW |