Bug 163792 - WebGL2RenderingContext.texSubImage3D() should use a union instead of overloading
Summary: WebGL2RenderingContext.texSubImage3D() should use a union instead of overloading
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on: 163764
Blocks: 163791
  Show dependency treegraph
 
Reported: 2016-10-21 09:48 PDT by Chris Dumez
Modified: 2016-10-21 10:58 PDT (History)
8 users (show)

See Also:


Attachments
Patch (7.52 KB, patch)
2016-10-21 09:50 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-10-21 09:48:47 PDT
WebGL2RenderingContext.texSubImage3D() should use a union instead of overloading for 
- https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7 (for texSubImage3D)
- https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14 (for TexImageSource)

TexImageSource is defined as:
typedef (ImageBitmap or
         ImageData or
         HTMLImageElement or
         HTMLCanvasElement or
         HTMLVideoElement) TexImageSource;
Comment 1 Chris Dumez 2016-10-21 09:50:12 PDT
Created attachment 292358 [details]
Patch
Comment 2 WebKit Commit Bot 2016-10-21 10:58:54 PDT
Comment on attachment 292358 [details]
Patch

Clearing flags on attachment: 292358

Committed r207685: <http://trac.webkit.org/changeset/207685>
Comment 3 WebKit Commit Bot 2016-10-21 10:58:59 PDT
All reviewed patches have been landed.  Closing bug.