Hi,

So I use a GLSL v1 shader with GLES2 and SDL.
I'm happy to report that in a small window mode, I actually hit 60fps in 
the emscripted JavaScript.
That's awesome!

Now, if I switch to full screen, my fps drops to 30.
Normally, this is not that strange: more pixels, means that the GPU 
fill-rate can't keep up.

But weirdly enough, the native version (c++) of my game can do 60 
regardless of window size.
Even though I use exactly the same vertex and fragment shaders in both the 
native and emscripted version.

How could it be that the webgl version struggles with fill-rate, but the 
native version is just fine?
It does not really make sense to me.

Does the webgl version need to read back the entire frame-buffer to bring 
it back into the browser or something?

Is a full screen mode by a browser different from a native full screen?

Thanks,

 Bram

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to