Wow that question took a long time to appear, thank you for that.

*what is the point in this?*
The short answer would be as so often: because!
The long one: I'm a freelancer and to be recognized as a system programmer 
(among other things), I want to create a very simple LiveWallpaper in which 
you're able to switch between the rendering engines on-the-fly; imagine 
game-like entities interacting with each other and you switch the rendering 
mechanism and the entities do the same thing as if nothing happened. The 
prototype already works perfectly, the art assets are being done as we 
speak and now the single Canvas-To-GLES20 switch thing is the only one that 
seems to be locked by the underlying system.

And this shouldn't be, because:
1. It works on 2.3.6 so it IS practically possible
2. If something would make problems then GLES20-to-Canvas switch, but this 
one works alright for old AND new versions
3. Seems to me that this is a bug where the underlying framework does not 
unlock everything it should while in Canvas in newer versions

*Why can't you stick to one API?*
I can do either, I can do both at the same time in separate surfaces (as 
bob's answer suggests), and I SHOULD be able to do both in an alternating 
fashion on a single surface.

*Why are you using both?*
It's kind of complicated to use the absolutely same entity logic code for 
animating, the very same art assets, but in completely different rendering 
engines. Multiply "complicated" by multithreaded. And *complicated* equals *
interesting* so there you are.

*It is completely illogical.*
Seems to be some kind of a rhetoric subjective remark accepting the fact 
that you're the more intellectually developed being as compared to my tiny 
self and thus getting to define the boundaries of logic. Which wouldn't 
require any objective answer except LoL.


On Thursday, May 9, 2013 11:59:48 AM UTC+2, reaktor24 wrote:
>
>
> Can I just ask, what is the point in this? Why can't you stick to one API? 
> OpenGL or Canvas. Why are you using both? It is completely illogical.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" 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