Initial (clean) checkin of wgl spec files.
- added wgl functions to codegen, whitelisting, etc.
- modified wgl typemap to include certain additional types needed for proper codegen
- added gl_types.cpp, where we can safely assert that our substitution sizes match the provided platform types
- added wgl types to GL c_types
- Specified new wgl types as opaque (ptr) types as appropriate
- relaxed pedantic type/size checking that suggested long must be the same size as pointers. This is not guaranteed to be true (and is also not required by vogl)
- renamed a bunch of gl_glx_ files to gl_glx_wgl_ names.
- added vogl_build_options, which encompasses only the options needed to build vogl (removed from vogl_core.h to provide a safer file to be included elsewhere)
- removed the VOGL_VERIFY from plat_getppid for windows. This function is going away anyways.
- added a function to load opengl32.dll from the system folder for windows only.
- bumped required windows version to 0x501 (windows XP+)
- added a conditional breakpoint macro, which will break when the condition is met
- added VOGL_DEBUG_BREAK_ON_FUNCTION to codegen, which allows you to set a simple function name and break at various points of codegen on that specific function
- modified voglgen to work properly for wgl (various places where spec assumptions were only true for glx)
- modified several codegen functions to support multiple alternative spec typemaps (ie, glx and wgl, and eventually agl).
- refactored redundant function cleanup into its own function to be called once for each of the (currently four) cases where it can show up.
- added functions and defines to deal with platform differences around making a context current or getting that current context, etc.
- disable vogl_atexit on windows; it causes crashes because of dll unload ordering.
- added wgl support to interception code (todo: This all needs to be heavily cleaned up and refactored to not be a giant bag of copy/pasta)
- added DllMain support for windows.
removed chunks from vogl_core and moved into vogl_build_options.h