Re:Microsoft's forthcoming Minecraft Education Edition is wr...
by pjmlp on Wednesday January 27, 2016 @03:03AM
(#10978850)
Those APIs aren't available from the NDK, without an extra JNI performance hit.
Also I bet they don't behave 100% the same way, in regards to timing, across devices.
In graphics programming at the level Carmack develops, every ms counts.
> To fix this, I had to make a small change in the Netflix video decoding system so it would call out to my VR code right after it submitted each frame, letting me know that it had submitted something with a particular release time. I could then immediately update the surface texture and copy it out to my own frame queue, storing the release time with it. This is an unfortunate waste of memory, since I am duplicating over a dozen video frames that are also being buffered on the surface, but it gives me the timing control I need.
Oh, Mr. Carmack...
http://developer.android.com/reference/android/graphics/Surf...
http://developer.android.com/reference/android/graphics/Surf...
And I only started coding for Android last month. I guess I'm an 11x programmer. :) ducks