we are using skin in a warm bundle and we are trying to create a gpu surface using the api SkSurface::MakeRenderTarget.
The SkImageInfo parameter contains dimensions for the required rendering. However we observe that when the width, height in SkImageInfo crosses certain limits, we get return value as NULL. We have also observed that this dimensions limit is different on different browsers. e.g When we pass width X height (9000 X 9000) on safari, it reruns null, however on chrome and Firefox it returned succesfully for dimension upto (16000 X 16000).
We also found some more cases where it returns null on chrome too.
So I want to understand:
Why we arre getting null surface returned here? What is the exact platform limit hit during SkSurface creation here? Is there any way to get around this? How can we know this limit for different browsers?
Thanks,
Pankaj