Are there any reasons why a call to disable the glsl program should take 50 ms?
I used to do glFlush, so it cannot be leaked before changing the program.
Turning on the shader takes 0.03ms.
Just guess - if you are working in a compatibility-compatible GL context, disabling the GLSL program may cause the design of a fixed-function program (FFP) based on the current state of the FFP GL.
Source: https://habr.com/ru/post/1711499/More articles:Can I avoid updating UpdatePanel which kills viewstate? - checkboxКак использовать сохраненный источник оплаты для покупки в ActiveMerchant? - ruby-on-railsКаковы детали того, как Wordpress хранит данные аутентификации пользователей? - authenticationHow to avoid listing previously entered values in certain text fields of a form? HTML, PHP - javascriptIs there any way to remove the output file in the event after the build - installerIs it possible to have too many anonymous delegates? - performanceHow to create an iframe with the same domain as the page in Safari / WebKit - javascriptCount cobertura in hudson - plotUser-specific SHGetFolderPath () - registrySetThreadLocale and UTF8 - c ++All Articles