Bug 231804

Summary: Cocoa GraphicsContextGLOpenGL should not use WebGLLayer
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, cmarcelo, dino, ews-watchlist, gyuyoung.kim, kbr, kkinnunen, kondapallykalyan, luiz, ryuan.choi, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 231009    
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
none
Patch for landing
none
Patch for landing
ews-feeder: commit-queue-
Patch for landing
none
Patch for landing none

Description Kimmo Kinnunen 2021-10-15 05:57:41 PDT
Cocoa GraphicsContextGLOpenGL should not use WebGLLayer

When in GPU Process, GraphicsContextGLOpenGL does not need WebGLLayer.
Instead, GraphicsContextGLOpenGL should just use the "swap chain" directly, e.g. just hold the IOSurfaces for display buffer and drawing buffer.
Comment 1 Kimmo Kinnunen 2021-10-15 10:18:49 PDT
Created attachment 441396 [details]
Patch
Comment 2 Kimmo Kinnunen 2021-10-15 10:54:05 PDT
Created attachment 441402 [details]
Patch
Comment 3 Kimmo Kinnunen 2021-10-16 03:28:00 PDT
Created attachment 441484 [details]
Patch for landing
Comment 4 Kimmo Kinnunen 2021-10-17 03:24:38 PDT
Created attachment 441529 [details]
Patch for landing
Comment 5 Kimmo Kinnunen 2021-10-17 04:01:28 PDT
Created attachment 441531 [details]
Patch for landing
Comment 6 Kimmo Kinnunen 2021-10-18 00:44:49 PDT
Created attachment 441565 [details]
Patch for landing
Comment 7 EWS 2021-10-18 07:57:30 PDT
Committed r284371 (243156@main): <https://commits.webkit.org/243156@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441565 [details].
Comment 8 Radar WebKit Bug Importer 2021-10-18 07:58:41 PDT
<rdar://problem/84370716>