SkRTree usage

38 views
Skip to first unread message

Данил Буланов

unread,
May 19, 2024, 1:04:54 PMMay 19
to skia-discuss
Hello, I have found SkRTree class in the sources, but I was not able to determine in which cases the class is used. So I am intrested when is this class used? For instance, is it used in case of regular drawing to the surface when the object is fully outside of the surface?
Thanks

Lucida

unread,
May 20, 2024, 10:04:53 PMMay 20
to skia-discuss
It's used by SkPictureRecorder to generate SkPicture. And then if you draw the SkPicture with clipRect, the SkRTree will discard the objects located outside of the region I guess.
Reply all
Reply to author
Forward
0 new messages