I am developing application . To do some performance profiling I am using Nsight VS 5.5 OpenGL debugger. I see that If my frame takes 21 sec of time to render out of which 20 sec are shown to be consumed in SwapBuffer event. Can anybody tell me how I can dig deeper and see what is happening inside swapbuffer exactly that is taking so much of time ?
I know what ever drawing command I am submitting will be processed likely in swapbuffer call but I want to get where I can still improve.