--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.
On Wed, Dec 7, 2011 at 7:26 PM, Yuriy O'Donnell <yur...@gmail.com> wrote:
>
> I think it would be very useful to include more GLES samples in the SDK. Tumbler sample is alright, but kind of goes off on tangents a little bit (like all the interaction with javascript stuff). So it is quite difficult to understand which code is necessary/important and which code is just there for the purposes of the sample.
>
> I'd like to see some basic API examples, starting from the minimal code which initializes GL context and renders a single flat shaded triangle.
>
> --
> You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/native-client-discuss/-/rbba3JUd8loJ.
--
Fernando
On Mon, Dec 12, 2011 at 10:34 PM, Nicholas Fullagar
Thanks for your suggestion, I'm going to set up this.
But, for instance, do you know if it is possible to make Chrome load
files from "file:///path/to/tumbler_example/fullscreen_tumbler.html",
by putting "--allow-file-access" and "--allow-file-access-from-files"
switches on command line?
I had tried that, but Chrome's console tells: "NativeClient: NaCl
module load failed: could not load manifest url."
To start your app from disk without a web server ...
... make a chrome extension out of your app (requires writing a small
extension manifest file), add the directory containing the manifest to
chrome via about:extensions plus "Load unpacked extension" ("Developer
mode" checkbox must be checked), in the chrome command line use
--app-id=idjjgbgmcjneochlobpnbmldblahblah (put your application id
here). Replacing .nexe files in your extension does _not_ require
re-adding the extension, just rerun chrome.
--
Egor Pasko
Now I'm wondering why I can't access NaCl files with these switches
on. Normal people would never start Chrome with these. I think that it
should be a development feature in Chrome, since it is easier to test
if a webpage is running properly.
Hi everyone,
I've created an Makefile to build and run the tumbler fullscreen example.
https://docs.google.com/document/pub?id=1gv65sO2tbi1bDSHv5Tiy-8hEVfgqrZuxnj19TcKlkMo
The only issue that I have now, is that my .nexe file is too large (1.2MB for the 32 bit and 1.4MB for the 64 bit).
Now I understand, why the executable is so large.I had a quick idea here:Why Google do not provide a dynamic library to save some space?
So we could compile an application like this, for example:x86_64-nacl-g++ -Lhttp://libs.google.com/ main.c -o hello.x64.nexeSo everytime the application needs a shared library, it would check if it is in cache, if not it should be downloaded from the internet on the link provided during compilation time.
This kind of sample is exactly what I had in mind! SDK needs more samples like this.
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/native-client-discuss/-/uSTr7x5D9AgJ.