Bug 213004 - [WinCairo] Resizing window causes rendering glitches in accelerated compositing mode
Summary: [WinCairo] Resizing window causes rendering glitches in accelerated compositi...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 17:37 PDT by Fujii Hironori
Modified: 2020-06-09 17:42 PDT (History)
0 users

See Also:


Attachments
[Patch] eglWaitNative workaround for WebKit1 (829 bytes, patch)
2020-06-09 17:39 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff
[Patch] ANGLE_window_fixed_size (6.39 KB, patch)
2020-06-09 17:42 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2020-06-09 17:37:18 PDT
[WinCairo] Resizing window causes rendering glitches in accelerated compositing mode

1. Start WinCairo MiniBrowser of WebKit1 or WebKit2
2. Go to accelerated compositing mode page. For example, https://webkit.org/ and https://webkit.org/blog-files/3d-transforms/perspective-by-example.html
3. Resize the browser window wider and narrower
4. The content are distorted temporarily.

This issue happens both for WK1 and WK2 of WinCairo.
But, I think they aren't exactly same issue because of WK2's cross-process painting.
Comment 1 Fujii Hironori 2020-06-09 17:38:21 PDT
Reported the bug to upsteam ANGLE.

4665 - D3D11: Resizing window is causing rendering gliches - angleproject
https://crbug.com/angleproject/4665
Comment 2 Fujii Hironori 2020-06-09 17:39:55 PDT
Created attachment 401499 [details]
[Patch] eglWaitNative workaround for WebKit1

eglWaitNative workaround works only for WebKit1.

https://bugs.chromium.org/p/angleproject/issues/detail?id=4665#c2
Comment 3 Fujii Hironori 2020-06-09 17:42:56 PDT
Created attachment 401500 [details]
[Patch] ANGLE_window_fixed_size

ANGLE has ANGLE_window_fixed_size extension.
It was introduced in the following bug.

320021 - Chrome renders window incorrectly on restore from minimize. - chromium
https://bugs.chromium.org/p/chromium/issues/detail?id=320021

I tried ANGLE_window_fixed_size extension in WinCairo WK1 and WK2, but it doesn't solve the bug.