
Performant way to draw pixels in OGL?
Posted Thursday, 19 January, 2012 - 18:02 by XZibit inHi there
in an earlier project we tried to draw Bitmaps on the screen by using glWritePixels but this was very very very slow. Is there any other solution known to draw pixels (like bitmaps or so on) on the screen in a performer way than pushing pixels over the bus to the gpu?
Is there any buffer existing to put pixels in or can i just youse display lists to do that and if so, does anyone have an example of how to do this?


Comments
Re: Performant way to draw pixels in OGL?
Mayby Pixel Buffer Object alias PBO => http://www.songho.ca/opengl/gl_pbo.html
Iliak
www.mimicprod.net
www.dungeoneye.net : Open source remake of Eye of the Beholder II
Re: Performant way to draw pixels in OGL?
Maybe Pixel Buffer Object alias PBO => http://www.songho.ca/opengl/gl_pbo.html
Iliak
www.mimicprod.net
www.dungeoneye.net : Open source remake of Eye of the Beholder II
Re: Performant way to draw pixels in OGL?
In which version they were first/last supported?
Re: Performant way to draw pixels in OGL?
Google and OpenGL are your friends.... http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt
Dependencies
Written based on the wording of the OpenGL 2.0 specification.
Assumes support for (at least) OpenGL 1.5 or the
ARB_vertex_buffer_object extension.
NV_pixel_data_range affects the definition of this extension.
EXT_pixel_buffer_object interacts with this extension.
Iliak
www.mimicprod.net
www.dungeoneye.net : Open source remake of Eye of the Beholder II
Re: Performant way to draw pixels in OGL?