This might seem simple but i just cant find the answer:- in opengl es (fixed function) lets say u texture map a bitmap to a regular polygon- so the bitmap is now stretched and thus relative position of the color points on the rectangle is different from original bitmap- is there is a way ... I mean a gl. function that- if given the x,y coord on the rectangle surface relative to say the top left rectangle coord as a parameter- will return the colour of that point? Many thanks in advance
Aside from actually rendering it, then reading it back with glReadPixels or something, no. There's no simple method for simulating even very basic texture sampling functionality on the CPU in OpenGLES.