jpbruyere / vkvg

Vulkan 2D graphics library
https://jpbruyere.github.io/vkvg/
MIT License
773 stars 33 forks source link

TimeLine semaphore #117

Open jpbruyere opened 2 years ago

jpbruyere commented 2 years ago

Timeline semaphore looks promising for simple surface with multiple contexts (each in a separate thread) sync. A single timeline semaphore per surface seems sufficient to handle all cases. Even the context flush fence could become unnecessary.

jpbruyere commented 2 years ago

First tests show output performances increased by 25%.

jpbruyere commented 2 years ago

todo: Sync surface patterns paint