VSYNC and other stuff

Hi guys,
I have two questions for you :

  1. Is there an easy way to tell OpenGL to perform a page flipping with VSYNC or without it ?
  2. In DirectX someone could check a CAPS structure and see what actions are done by the hardware (e.g. blitting, alpha blending etc…) and what actions done by software. Is there something like that in OpenGL? (Not the general information from PixelFormat but some detailed information for every action)
    Thanks in advance.


//vsync disable
BOOL (APIENTRY wglSwapIntervalEXT)(int);
wglSwapIntervalEXT=( BOOL (APIENTRY
)(int) )wglGetProcAddress(“wglSwapIntervalEXT”);
if (wglSwapIntervalEXT!=NULL) {
message("Vsync disabled (wglSwapIntervalEXT)
else {
message("Vsync unchanged (wglSwapIntervalEXT not found)