Fixes audio for Native Client, and other fixes...

- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
This commit is contained in:
Gabriel Jacobo 2014-06-08 18:18:13 -03:00
parent 7b215e8685
commit 37f6d3cb88
11 changed files with 147 additions and 33 deletions

View file

@ -52,9 +52,24 @@ If you want to build a different test, for example testrendercopyex.c:
Once the build finishes, you have to serve the contents with a web server (the
script will give you instructions on how to do that with Python).
================================================================================
RWOps and nacl_io
================================================================================
SDL_RWops work transparently with nacl_io. Two functions are provided to control
mount points:
For convenience, SDL will by default
mount an httpfs tree at / before calling the app's main function. Such setting
can be overriden by calling SDL_NaCl
For more information on how nacl_io and mount points work, see:
https://developer.chrome.com/native-client/devguide/coding/nacl_io
================================================================================
TODO - Known Issues
================================================================================
* Audio backend is not usable yet.
* Testing of all systems with a real application (something other than SDL's tests)