I see GPU PerfStudio 2.2 "Supports DX11, DX10.1, DX10 and OpenGL 3.0 applications"
Does it support OpenGL 1.x and 2.x as well?
GPU PerfStudio should support OpenGL 1.x and 2.x features, however it relies on functionality added in later version of OpenGL. Therefore, the driver will need to have support for certain OpenGL 3.0 features (or comparable extensions) and the OpenGL context that you create may need to be at least 2.1.
Please let us know if you find that something does not work.
Thanks for the info.
The version I'm getting with GL_VERSION is 2.1.8787.
However, when I execute these steps:
what happens is:
Message: Server : 1: 127.0.0.1 - /Process.xml
Message: Server : 2: 127.0.0.1 - /Process.xml
Message: Server : 3: 127.0.0.1 - /Process.xml
Message: Server : 4: 127.0.0.1 - /Process.xml
...
Message: Server : 88: 127.0.0.1 - /Process.xml
then terminates, closing my app as well.
An Error dialog pops up with the message:
"Unable to attach to the current application. Please make sure it is using a supported graphics API."
This is on a HD4870 on Vista 32-bit with Catalyst 9.7.
Appreciate any help
Are you using GLUT?
We currently cannot recognize the call to glutSwapBuffers() or GLUT's call to the actual SwapBuffers function. This prevents us from recognizing that the application is actually using OpenGL. We have this captured a bug and hope to address it soon.
If you are not using GLUT, then please let me know how you are creating your OpenGL context.
Nope, I'm not using GLUT, but your answer pointed me in the right direction!
I was using
wglSwapLayerBuffers(hDC, WGL_SWAP_MAIN_PLANE);
to swap, but after switching to
::SwapBuffers(hDC);
PerfStudio can detect my app.
Thanks for the aid!