Hi
SkSurface::MakeRasterN32Premul for CPU-only raster surface
SkSurface::MakeRenderTarget(context...) for a OpenGL accelerated surface
Is that the whole story? I've seen other posts that talk about use of Direct2D on windows etc. What API does the windows backend use?
Do you get some hardware acceleration without using an OpenGl context + surface?
If you do need an OpenGl context + surface, how does that relate internally to use of Direct2D.
I'm sure I've betrayed my ignorance of the Graphics stack on windows, and of this area in general by now...
But, anyway, I'm looking for a model that will help me understand whether and how to use Skia at all.
My use case is providing a new implementation of our in house drawing API (line, text and images) that is faster than GDI, looks better, and it would be good if it renders like the canvasrenderingcontext2d in Chrome.
thanks
ben