4 ms·
I'm curious how Webrender is able to render native controls (buttons, text inputs, etc.) via this method - I suppose they have access to APIs not exposed in e.g
by sgrove 11y ago
I'm curious how Webrender is able to render native controls (buttons, text inputs, etc.) via this method - I suppose they have access to APIs not exposed in e.g. WebGL that make this trivial?
- Manishearth 11y agoWe currently don't use native controls. The form elements are CSS styled and look the same on all platforms. But it would probably be possible to get the toolkit to render the control to a texture or something and move on.
- pcwalton 11y agoNot really, unfortunately. Native toolkits aren't designed for this. As an example, I looked into using HIToolbox (the API Apple uses) for this on the Mac, but it was so obviously unsupported and likely to break at any time that I quickly decided against it.