Bug 222508 - Support fast/canvas/webgl/copyBufferSubData.html, fix bugs in fast/canvas/webgl/getBufferSubData-webgl1.html in Metal ANGLE on Simulator
Summary: Support fast/canvas/webgl/copyBufferSubData.html, fix bugs in fast/canvas/we...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-26 17:33 PST by Kyle Piddington
Modified: 2021-02-26 18:45 PST (History)
5 users (show)

See Also:


Attachments
Patch (2.52 KB, patch)
2021-02-26 17:33 PST, Kyle Piddington
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Piddington 2021-02-26 17:33:12 PST
Support  fast/canvas/webgl/copyBufferSubData.html, fix bugs in fast/canvas/webgl/getBufferSubData-webgl1.html in Metal ANGLE on Simulator
Comment 1 Kyle Piddington 2021-02-26 17:33:29 PST
Created attachment 421731 [details]
Patch
Comment 2 EWS Watchlist 2021-02-26 17:34:37 PST
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Comment 3 Dean Jackson 2021-02-26 18:36:26 PST
Comment on attachment 421731 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=421731&action=review

> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/BufferMtl.mm:233
> +    if(result)

Nit: Space before (

> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm:331
> +#else //Simulator should be able to support ES3, despite not supporting ios family 4 in it's entirety.

Nit: Space after // and s/it's/its/

I'll fix these when landing.
Comment 4 Dean Jackson 2021-02-26 18:41:36 PST
Comment on attachment 421731 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=421731&action=review

> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm:337
>      return gl::Version(2, 0);

I think this statement should go inside the else clause. It wouldn't be hit in the TARGET_OS_SIMULATOR path.
Comment 5 Dean Jackson 2021-02-26 18:44:37 PST
Committed r273612 (234658@main): <https://commits.webkit.org/234658@main>
Comment 6 Radar WebKit Bug Importer 2021-02-26 18:45:16 PST
<rdar://problem/74817963>