How to store multiple SkImages

33 views
Skip to first unread message

sAsuKe

unread,
Jun 28, 2021, 8:53:13 AM6/28/21
to skia-discuss
Hi,
    I drawing multiple contents in the CPU surface and storing it as an image in an array and later i'm drawing those images in GPU surface. I'll be having 200+ image in a memory with each has dimension of 1024*1024. So the image is taking too much memory. Is there is anyway that i can compress the image and store it. Currently each memory has occupied 16MB. I tied storing it as a SkData/SkBitmap but i'm getting the same problem as the SkImage.

Thanks.
Reply all
Reply to author
Forward
0 new messages