4 ms·
It's something I as a user would also refuse to let go, given that the performance penalty is reasonably small (I think it is).
by solarkraft 3y ago
It's something I as a user would also refuse to let go, given that the performance penalty is reasonably small (I think it is).
- torginus 3y agoI think the point is that it's not - rather than just copying a rectangular area to the screen, you have to go through the intermediate step of rendering everything to a temporary buffer, and compositing the results via a shader.
- chris_wot 3y agoBut… the example given shows that they place the video frame behind the window an make the front window transparent except for the round play button. This apparently offloads the frame… so why not just do the same for rounded corners? What am I missing?
- nagisa 3y agoThe selfie example has an explanation under it. Summary: because the video subsurface is square and needs to be clipped to produce rounded corners. Otherwise you would have corners of the video surface protruding from under the corners.