I was jst staring at my wall, it's covered in diagrams and various formulas from past projects, one of them was my opengl gui lib which I never even finished. All of a sudden I have an urge to start a similar experiment.
I am wanting to create my own API for drawing on a "canvas" I guess you could say. Now, say all of my drawing operations have finished and it's all been processed into a bitmap. Should I just go ahead and patblt or something? Is this the best way to do it?? Is there a quicker way to draw a bitmap on the screen? Do I have to use a DC and do I have to use the Win32API to access it?
It's nearly 3am so I'm probably making no sense, and I did search and I'm pretty sure that I do need to use a DC and can't just manipulate the memory block for my "canvas" directly.
How, for instance, does OpenGL draw to the screen?