How to create a skshader from larger skimage with sizee greater than 4096.

21 views
Skip to first unread message

sanjeev kumar

unread,
Nov 1, 2021, 6:52:59 AMNov 1
to skia-discuss
My goal is to render a large image using a skshader. In GPU backend, as 4096 is the maximum texture size, i created multiple textures and tiled it into a single skpicture. then created a skimage from skpicture. then directly drawing that skimage works, but creating a skshader or skimagefilter from that skpicture is not working. i need to use some properties that is supported by skshader like SkTileMode, blending multiple layers of skshader, so i need to create a skshader from a larger texture. is it possible???
Reply all
Reply to author
Forward
0 new messages