WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 163795
WebGLRenderingContextBase.bufferData() should use a union instead of overloading
https://bugs.webkit.org/show_bug.cgi?id=163795
Summary
WebGLRenderingContextBase.bufferData() should use a union instead of overloading
Chris Dumez
Reported
2016-10-21 10:02:05 PDT
WebGLRenderingContextBase.bufferData() should use a union instead of overloading: -
https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14
Attachments
Patch
(38.78 KB, patch)
2016-10-22 11:00 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(38.80 KB, patch)
2016-10-22 12:55 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-10-22 11:00:27 PDT
Created
attachment 292501
[details]
Patch
Darin Adler
Comment 2
2016-10-22 12:20:22 PDT
Comment on
attachment 292501
[details]
Patch Looks good, but GTK and EFL builds are failing.
Chris Dumez
Comment 3
2016-10-22 12:55:59 PDT
Created
attachment 292504
[details]
Patch
WebKit Commit Bot
Comment 4
2016-10-22 13:49:21 PDT
Comment on
attachment 292504
[details]
Patch Clearing flags on attachment: 292504 Committed
r207715
: <
http://trac.webkit.org/changeset/207715
>
WebKit Commit Bot
Comment 5
2016-10-22 13:49:25 PDT
All reviewed patches have been landed. Closing bug.
Filip Pizlo
Comment 6
2016-10-27 09:27:06 PDT
Comment on
attachment 292504
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=292504&action=review
> Source/JavaScriptCore/runtime/JSArrayBuffer.h:80 > +inline ArrayBuffer* JSArrayBuffer::toWrapped(JSValue value) > +{ > + return toArrayBuffer(value); > +} > +
FYI, this method, and its goal of reducing special handling of ArrayBuffer contradicts
https://bugs.webkit.org/show_bug.cgi?id=163986
(SharedArrayBuffer), which requires us to increase the special handling of ArrayBuffer. It's going to be necessary for clients of ArrayBuffer to state at the point of use if they are OK with the buffer being shared so that we don't accidentally use a shared array buffer in a context where it would not be safe to do so.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug