Lines Matching refs:strategy
107 printf(" -s, --robustness=STRATEGY the robustness strategy to use ("
205 static const char* get_strategy_name_gl(GLint strategy)
207 if (strategy == GL_LOSE_CONTEXT_ON_RESET_ARB)
209 if (strategy == GL_NO_RESET_NOTIFICATION_ARB)
215 static const char* get_strategy_name_glfw(int strategy)
217 if (strategy == GLFW_LOSE_CONTEXT_ON_RESET)
219 if (strategy == GLFW_NO_RESET_NOTIFICATION)
792 GLint strategy;
793 glGetIntegerv(GL_RESET_NOTIFICATION_STRATEGY_ARB, &strategy);
795 printf("%s robustness strategy (0x%08x): %s\n",
797 strategy,
798 get_strategy_name_gl(strategy));
800 printf("%s robustness strategy parsed by GLFW: %s\n",