WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
213 stars 136 forks source link

webgl: Manually sync GL commands for webgl #1202

Closed asurdej-comcast closed 9 months ago

asurdej-comcast commented 11 months ago

Some platforms seem to have an issue with syncing GL operations among threads that results with different graphics artifacts (blinking, rendering old content, etc).

This patch uses GLFenceSync for Nicosia webgl that has less perormance penalty than glFinish(). If GLsync API is not availabe use glFinish() still.