WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
209515
[WebGL2] Update texture packing code for software uploads from DOM
https://bugs.webkit.org/show_bug.cgi?id=209515
Summary
[WebGL2] Update texture packing code for software uploads from DOM
Kenneth Russell
Reported
2020-03-24 15:38:24 PDT
The texture packing code for software texture uploads from DOM elements needs to be updated to support WebGL 2.0 formats. This includes code in: Source/WebCore/platform/graphics/FormatConverter.{cpp,h} Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.cpp, GraphicsContextGLOpenGL::packPixels and others.
Attachments
Patch
(1.31 MB, patch)
2020-04-22 17:02 PDT
,
Kenneth Russell
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kenneth Russell
Comment 1
2020-04-22 17:02:16 PDT
Created
attachment 397290
[details]
Patch
Dean Jackson
Comment 2
2020-04-23 12:17:18 PDT
Comment on
attachment 397290
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=397290&action=review
> Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:4338 > + uint8_t* data = reinterpret_cast<uint8_t*>( > + pixels ? pixels->baseAddress() : nullptr); // NEEDS_PORT
We tend to do this on one line.
Kenneth Russell
Comment 3
2020-04-23 12:30:53 PDT
Comment on
attachment 397290
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=397290&action=review
>> Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:4338 >> + pixels ? pixels->baseAddress() : nullptr); // NEEDS_PORT > > We tend to do this on one line.
OK, will keep that in mind and fix this up in a subsequent patch. I'd like to try to get this in sooner so am CQ+'ing it now.
EWS
Comment 4
2020-04-23 12:44:08 PDT
Committed
r260588
: <
https://trac.webkit.org/changeset/260588
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 397290
[details]
.
Radar WebKit Bug Importer
Comment 5
2020-04-23 12:45:16 PDT
<
rdar://problem/62257803
>
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