Refactor timing: Code review issues, masks refactoring in progress#367
Refactor timing: Code review issues, masks refactoring in progress#367
Conversation
|
@skavish please take a look |
There was a problem hiding this comment.
@skavish I am uncertain in this part. The matrix is calculated once, but current bounds affect the mask canvas size. Is it safe to move it to mask render cycle?
There was a problem hiding this comment.
mask canvas size does not change during one rendering cycle. the masked elements and the mask itself are rendered into canvases the same size.
you need to draw all masked elements into a canvas first, then (after all masked elements are rendered) you need to render mask itself
There was a problem hiding this comment.
I've made a draft for this, not yet tested: refactor-timing...refactor-masks. I will ensure if order of rendering (masked elements before mask itself) is right later, but may be you'll see some pitfalls obvious for you.
There was a problem hiding this comment.
I want to comment there, but I cannot comment on a diff, only on pullrequest
Refactor timing: Code review issues, masks refactoring in progress
No description provided.