Lines Matching defs:extension
437 // {GLX|WGL}_ARB_create_context extension and fail here
460 // OpenGL 3.0+ uses a different function for extension string retrieval
526 // only present from 3.0 while the extension applies from 1.1
583 // Searches an extension string for the specified extension
682 GLFWAPI int glfwExtensionSupported(const char* extension)
685 assert(extension != NULL);
693 "Cannot query extension without a current OpenGL or OpenGL ES context");
697 if (*extension == '\0')
708 // Check if extension is in the modern OpenGL extensions string list
723 if (strcmp(en, extension) == 0)
729 // Check if extension is in the old style OpenGL extensions string
740 if (_glfwStringInExtensionString(extension, extensions))
744 // Check if extension is in the platform-specific string
745 return window->context.extensionSupported(extension);