The goal of this PR is to align the OpenGL and Metal Skia context to a unified API. This will allow for a smooth migration to the DawnContext which isn't platform-specific.
This also fix a minor issue on Android where one onscreen context could created in many threads instead of only once.
It also fix minor inconsistencies with size handling on iOS.
The goal of this PR is to align the OpenGL and Metal Skia context to a unified API. This will allow for a smooth migration to the DawnContext which isn't platform-specific.
This also fix a minor issue on Android where one onscreen context could created in many threads instead of only once.
It also fix minor inconsistencies with size handling on iOS.