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

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

Issue 2482793005: Implement tex{Sub}Image3D taking sub-rectangles of HTMLImageElements. (Closed)
Patch Set: Early out in case of error. Roll WebGL conformance tests too. Created 4 years, 1 month 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
« no previous file with comments | « DEPS ('k') | third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
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
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698