GLFW for non-OpenGL?

deepsender wrote on Sunday, December 11, 2011:


With GLFW, can I get a pointer to a video buffer and write to it without

Similar to Windows GDI.

I currently do this with SDL, but want to try GLFW for the same thing.

functions such as:

SDL_Flip( sdlscreen );

I have used GLFW for OpenGL projects successfully.


elmindreda wrote on Sunday, December 11, 2011:

If you want to do software rendering you should use SDL or another similar
library. GLFW is not intended for this purpose.

deepsender wrote on Tuesday, December 13, 2011:

Can I assume that GLFW provides a standardized memory address to OpenGL for
its rendering?

elmindreda wrote on Wednesday, December 14, 2011:

GLFW does not provide framebuffer addresses to OpenGL. That is not how OpenGL
works. OpenGL is a standardised API intended primarily for hardware-
accelerated rendering; it’s not a software rendering API with direct access to
a framebuffer, like SDL is.

You should read about what OpenGL is if you intend to use it.