| Summary: | Cocoa GraphicsContextGLOpenGL should not be used by GraphicsContextGLCVANGLE | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||||
| Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | cmarcelo, dino, ews-watchlist, kbr, kkinnunen, kondapallykalyan, luiz, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Local Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 226504, 231009 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Kimmo Kinnunen
2021-09-30 01:30:51 PDT
Created attachment 439731 [details]
Patch
Created attachment 439732 [details]
Patch
Created attachment 439747 [details]
Patch
Comment on attachment 439747 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=439747&action=review Since the underlying ANGLE context relationships haven't changed - still creating a separate shared context for video uploads, with the same parameters - this looks good to me. Agree this is just a refactor. The win failure looks like an unrelated flake. r+ > Source/WebCore/platform/graphics/cocoa/ANGLEUtilitiesCocoa.h:37 > +void* createPbufferAndAttachIOSurface(EGLDisplay, EGLConfig, GLenum target, EGLint usageHint, GLenum internalFormat, GLsizei width, GLsizei height, GLenum type, IOSurfaceRef, GLuint plane); Would it be helpful to put these two free functions in another namespace or as static methods on a class, just to have a little better scoping? Committed r283362 (242371@main): <https://commits.webkit.org/242371@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439747 [details]. |