Bug 189610

Summary: WebGL 2 conformance: rgb-format-support.html
Product: WebKit Reporter: Justin Fan <justin_fan>
Component: New BugsAssignee: Justin Fan <justin_fan>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, dino, esprehn+autocc, ews-watchlist, graouts, gyuyoung.kim, justin_fan, kondapallykalyan, noam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Justin Fan 2018-09-13 19:15:28 PDT
WebGL 2 conformance: rbg-format-support.html
Comment 1 Justin Fan 2018-09-13 19:16:03 PDT
<rdar://problem/44403343>
Comment 2 Justin Fan 2018-09-13 19:29:45 PDT
Created attachment 349726 [details]
Patch
Comment 3 Justin Fan 2018-09-13 19:33:34 PDT
Created attachment 349727 [details]
Patch
Comment 4 Dean Jackson 2018-09-14 11:18:24 PDT
Comment on attachment 349727 [details]
Patch

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

> Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:380
> +    // On macOS (OpenGL 4.1) we must emulate GL ES 3/OpenGL 4.2 glGetInternalformativ.

This path might not be just macOS, so just say "On desktop OpenGL"

> Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:396
> +    // FIXME: The way I understand this is that this will return a MINIMUM numSamples for all accepeted internalformats.
> +    // However, the true value of this on supported GL versions is gleaned via a getInternalformativ call that depends on internalformat.

This isn't really a FIXME.
Comment 5 Justin Fan 2018-09-14 15:05:19 PDT
Created attachment 349813 [details]
Patch
Comment 6 WebKit Commit Bot 2018-09-14 17:05:30 PDT
Comment on attachment 349813 [details]
Patch

Clearing flags on attachment: 349813

Committed r236025: <https://trac.webkit.org/changeset/236025>
Comment 7 WebKit Commit Bot 2018-09-14 17:05:32 PDT
All reviewed patches have been landed.  Closing bug.