Bug 232478

Summary: ANGLE OpenGL: Cherry-pick commit GL: Fix bug with: Skip redundant flushes.
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: ANGLEAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: dino, geofflang, kbr, kkinnunen, kpiddington, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 232476    
Bug Blocks: 232472    
Attachments:
Description Flags
Patch none

Description Kimmo Kinnunen 2021-10-29 00:34:25 PDT
ANGLE OpenGL: Cherry-pick commit GL: Fix bug with: Skip redundant flushes.
ecf27c717f478fc0dfc880a982793fb120284431
Comment 1 Kimmo Kinnunen 2021-10-29 02:39:43 PDT
Created attachment 442800 [details]
Patch
Comment 2 Kenneth Russell 2021-11-02 23:37:09 PDT
Are you sure you want to cherry-pick this? I'm not sure it increased stability in Chrome, and will only make WebKit's and upstream ANGLE diverge further.
Comment 3 Kimmo Kinnunen 2021-11-03 10:16:30 PDT
 (In reply to Kenneth Russell from comment #2)
> Are you sure you want to cherry-pick this? I'm not sure it increased
> stability in Chrome, and will only make WebKit's and upstream ANGLE diverge
> further.

If I understand correctly, bug 232476 is part of mitigation for the crashes.
That patch contains a bug that is fixed by this patch?
Comment 4 Radar WebKit Bug Importer 2021-11-03 10:46:32 PDT
<rdar://problem/84981626>
Comment 5 Kenneth Russell 2021-11-04 15:45:24 PDT
I see. Yes, these were all CLs associated with the parent bug (https://crbug.com/1181068). I'm not sure though how much the flush-related work improved stability. Maybe geofflang@ can comment. Chunking TexSubImage2D calls into 120 KB max chunks was the primary workaround for the kernel panics.
Comment 6 Geoff Lang 2021-11-08 09:09:49 PST
This patch definitely trended the total flush crashes down too. The largest fix was the final one which fixed some invalid GL usage in Chrome.

Won't this roll into WebKit when ANGLE synchronizes?
Comment 7 Kenneth Russell 2021-11-08 14:00:02 PST
Thanks Geoff. It will come into WebKit during the next ANGLE roll into WebKit. It was unclear whether the WebKit team needed this sooner - we're aiming for a matter of a week or two for that roll.
Comment 8 Kimmo Kinnunen 2022-08-11 02:59:12 PDT
This was merged as part of ANGLE update.