Open IntellectualKitty opened 6 years ago
Is there a case where you can operate an application with two videos cards that have different specs? AFAIK multi-gpu setups always require the same model card.
I do wonder however what happens when you dynamically switch between, say, your integrated and dedicated card while the app is running. Never tried myself, but I know you can manually force this (the system itself will pick one or the other right when the context is requested).
Static variables are used to cache values from OpenGL in functions such as
GLint Fbo::getMaxSamples()
andGLint Fbo::getMaxAttachments()
. This doesn't seem to be particularly safe since it's possible that these values can change if the OpenGL context is recreated, especially on systems with multiple displays driven by different graphics cards.