View Single Post
Old 11-02-11, 01:55 PM   #4
EricE
Registered User
 
Join Date: May 2010
Posts: 8
Default Re: OpenGL performance degrading

Sorry for the confusion. We see the problem after executing the following steps:

1. Type 0 and hit enter to pause rendering to the 1920 x 1080 window

2. Type 0 and hit enter to unpause rendering to the 1920 x 1080 window

Prior to pausing the rendering our output looks like:

Window 0 render: 12.52 swap: 0.11
Window 2 render: 3.06 swap: 0
Window 1 render: 3.08 swap: 0.01
Window 0 render: 12.54 swap: 0.08
Window 2 render: 3.07 swap: 0.01
Window 1 render: 3.12 swap: 0.02

It takes about 12.5 ms to render to the 1920 x 1080 window and about 3 ms to render to each of the smaller windows. After resuming rendering it looks like:

Window 2 render: 4.07 swap: 0.11
Window 1 render: 4 swap: 0.15
Window 0 render: 14.26 swap: 2.12
Window 2 render: 3.99 swap: 0.09
Window 0 render: 14.11 swap: 2.17

The times have jumped to about 14 ms and 4 ms, about a 20% increase in the time to render to the three windows. I've attached the entire output of a short run of the code.

Thanks,
Eric
Attached Files
File Type: txt GL-Render.out.txt (1.3 KB, 53 views)
EricE is offline   Reply With Quote