PDA

View Full Version : How to draw pixels in OpenGL ES 2.0



JasonBecker
09-23-2010, 05:27 AM
Hello,

I would like to know what is the fastest way to draw pixels on the screen using OpenGL ES 2.0. In standard OpenGL library there is function glDrawPixels() where i pass pixel's buffer. What can I do in ES 2.0 ? I read that I can use glTexImage2D, create own buffer for texture and modify it. Do you know if there is any other (fastest) way ?

Thanks

ugluk
09-23-2010, 08:09 AM
The fastest way is to check the OpenGL wiki, copy the simple shaders you find there and off you go.