PDA

View Full Version : Strange OGL Behaviour



MagnumOpus
05-30-2013, 10:11 AM
Hey everyone.

I'm programming graphics for a HL mod, and I've bumped into a weird issue after a major optimization went down, and I don't see why this happens in the first place. It seems that for some reason, there's a general slowdown in my code, which I haven't had before. It seems that something is calling DrvCopyContext for no reason and stalling everything, and after looking into this, it seems that this might be related to multithreading, but I am not using multiple threads at all, everything runs on a single thread. The performance drop is pretty noticeable, has anyone else encountered this problem?

Thanks.
MagnumOpus.

thokra
05-31-2013, 05:18 AM
This (http://www.gamedev.net/topic/537378-puzzled-by-opengl-multi-threaded-slowdown/?whichpage=1#3469577) might give you a hint.

MagnumOpus
06-02-2013, 02:14 AM
Thanks for your response, but eventually I found out that it wasn't the cause. I'll post another thread.