Data transfer fast image copy


i am now making a simulation who produces some result.
The simulation generate a set of result (an array of integer numbers in the range [0,255]). At this point I would like to visualize them into a window. So my question is: is there a way just to copy these result into a window’s bitmap without using OpenGL and withous “downloading” the result into the host mem?


just use opengl, it’s very fast, and it’s the only direct way