Apple MacOS X uses CPU timers#2
Conversation
|
thanks for this work. but :
so not a conf specific to APPLE, juste a test to check the support of the extention GL_ARB_timer_query and make available CPU/GPU or just CPU |
|
Ok but figuring out if GL_ARB_timer_query exists is GLEW/GLAD dependent I think. Which creates more problems. |
|
yes and since its GLEW/GLAD dependent, we must provide a function for that to define in the config file like the function for get/make current gl context. CPU profiling is not gpu profiling. So use the CPU when we cant have the GPU can be needed in some case with warning logged, but not only for apple, as the maintainer of this lib i need the full workaround. and this is when the user not have the query counter. its maybe possible to have this support for some version of macos; or specific use case i dont have in mind foe the moment. this behavioru can be maybe on other platforms.re |
Updated iagp to use CPU timers for Mac OSX