4 ms·
Thanks Gecko. What about UI? With Silverlight, one would write XAML to define a webapp's UI elements (e.g. forms). Is there a NaCl equivalent? (Please excuse my
by lunchbox 17y ago
Thanks Gecko. What about UI? With Silverlight, one would write XAML to define a webapp's UI elements (e.g. forms). Is there a NaCl equivalent? (Please excuse my rudimentary knowledge of how things work under the hood.)
- gecko 17y agoNaCl can talk to the DOM/JavaScript, or can draw things itself using a frame buffer. All demos I've seen use the latter technique. As far as I know, there are currently no standard widgets. http://nativeclient.googlecode.com/svn/data/docs_tarball/nacl/googleclient/native_client/scons-out/doc/html/index.html http://nativeclient.googlecode.com/svn/data/docs_tarball/nac... has a good overview of the APIs available. I had thought that at least a little OpenGL was available as well, though I don't see it enumerated there. I'm unsure whether that's because I'm wrong, or because it's simply not in the generated documentation. At any rate, given that the API is based around framebuffers, it'd be pretty easy to port GDK or a similar system to run in NaCl.