summaryrefslogtreecommitdiff
path: root/vcl/opengl/gdiimpl.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-11-17 21:51:50 +0000
committerMichael Meeks <michael.meeks@collabora.com>2014-11-17 21:57:49 +0000
commit5b14cd7d8d293365ebc03ee1442610180c07ab8d (patch)
tree44ce5f759380a41c15a537554712fdd640141332 /vcl/opengl/gdiimpl.cxx
parent5fffe5e5ece8ab130c9024bd1f04f1d08a8e01c2 (diff)
vcl: make OpenGLContext::makeCurrent unfeasibly faster.
Don't set the same context if it is already set. Apparently this is something that is unbelievably costly on Windows, and very costly on Linux. Instead check if the context is already set, and don't re-set it. Change-Id: If4fed3e555e1388031446be76d6fdfde5b9f13e5
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
0 files changed, 0 insertions, 0 deletions