Lines Matching defs:platform
78 printf(" --platform=PLATFORM the platform to use ("
127 printf(" --angle-type=TYPE the ANGLE platform type to use ("
143 static const char* get_platform_name(int platform)
145 if (platform == GLFW_PLATFORM_WIN32)
147 else if (platform == GLFW_PLATFORM_COCOA)
149 else if (platform == GLFW_PLATFORM_WAYLAND)
151 else if (platform == GLFW_PLATFORM_X11)
153 else if (platform == GLFW_PLATFORM_NULL)
341 printf("GLFW platform: %s\n", get_platform_name(glfwGetPlatform()));
357 int platform = GLFW_ANY_PLATFORM;
396 { "platform", 1, NULL, PLATFORM },
438 platform = GLFW_ANY_PLATFORM;
440 platform = GLFW_PLATFORM_WIN32;
442 platform = GLFW_PLATFORM_COCOA;
444 platform = GLFW_PLATFORM_WAYLAND;
446 platform = GLFW_PLATFORM_X11;
448 platform = GLFW_PLATFORM_NULL;
670 glfwInitHint(GLFW_PLATFORM, platform);