OpenGL

Importing OpenGL Extensions Functions with wglGetProcAddress

There are only a small set of the core OpenGL functions that can be imported via p/invoke - the majority of OpenGL functions are actually extension functions which are supported only on specific video cards. OpenGL offers a function called wglGetProcAddress which can return the address of a named function - but how do we deal with this in the managed world? Here's a brief description of how it's handled in SharpGL.
Read more

SharpGL 2.0: Hardware Acceleration

It took a bit of working out, but finally SharpGL can support hardware acceleration. Previously, all rendering in SharpGL was done to a DIB Section, the result of this would be blitted to the screen. Much playing around has shown that in fact this is problematic - rendering to DIB sections can never be hardware accelerated. To hardware accelerate rendering, the rendering must be to a window or a pixel buffer.
Read more