Greetings,
I'm trying to find different ways to detect which element was clicked on a rendered image with OpenGL ES 2.x.
It seems that the most common way to do this is to :
Giving a "unique colour" to each object efficiently seems a bit tricky.
However, is there any trick to speed up this dummy redraw ? Given that fragments will only be displayed in a 1x1 area, does the buffer resolution matter ?
Is there any OES extension that could speed up this process even more ?
Interesting... It never occurred to me that a second context could be used like this... Is there a blog article about how OpenGL contexts are implemented on Mali ? Wouldn't context switching stall the rendering pipeline ?
The OpenGL Wiki is far from being exhaustive on the subject.
Also, is there any page regrouping all the blog articles about OpenGL and Mali ?