Lines Matching refs:optarg
437 if (strcasecmp(optarg, PLATFORM_NAME_ANY) == 0)
439 else if (strcasecmp(optarg, PLATFORM_NAME_WIN32) == 0)
441 else if (strcasecmp(optarg, PLATFORM_NAME_COCOA) == 0)
443 else if (strcasecmp(optarg, PLATFORM_NAME_WL) == 0)
445 else if (strcasecmp(optarg, PLATFORM_NAME_X11) == 0)
447 else if (strcasecmp(optarg, PLATFORM_NAME_NULL) == 0)
457 if (strcasecmp(optarg, API_NAME_OPENGL) == 0)
459 else if (strcasecmp(optarg, API_NAME_OPENGL_ES) == 0)
469 if (strcasecmp(optarg, BEHAVIOR_NAME_NONE) == 0)
471 else if (strcasecmp(optarg, BEHAVIOR_NAME_FLUSH) == 0)
481 if (strcasecmp(optarg, API_NAME_NATIVE) == 0)
483 else if (strcasecmp(optarg, API_NAME_EGL) == 0)
485 else if (strcasecmp(optarg, API_NAME_OSMESA) == 0)
514 context_major = atoi(optarg);
518 context_minor = atoi(optarg);
522 if (strcasecmp(optarg, PROFILE_NAME_CORE) == 0)
524 else if (strcasecmp(optarg, PROFILE_NAME_COMPAT) == 0)
534 if (strcasecmp(optarg, STRATEGY_NAME_NONE) == 0)
536 else if (strcasecmp(optarg, STRATEGY_NAME_LOSE) == 0)
549 if (strcmp(optarg, "-") == 0)
552 fb_red_bits = atoi(optarg);
555 if (strcmp(optarg, "-") == 0)
558 fb_green_bits = atoi(optarg);
561 if (strcmp(optarg, "-") == 0)
564 fb_blue_bits = atoi(optarg);
567 if (strcmp(optarg, "-") == 0)
570 fb_alpha_bits = atoi(optarg);
573 if (strcmp(optarg, "-") == 0)
576 fb_depth_bits = atoi(optarg);
579 if (strcmp(optarg, "-") == 0)
582 fb_stencil_bits = atoi(optarg);
585 if (strcmp(optarg, "-") == 0)
588 fb_accum_red_bits = atoi(optarg);
591 if (strcmp(optarg, "-") == 0)
594 fb_accum_green_bits = atoi(optarg);
597 if (strcmp(optarg, "-") == 0)
600 fb_accum_blue_bits = atoi(optarg);
603 if (strcmp(optarg, "-") == 0)
606 fb_accum_alpha_bits = atoi(optarg);
609 if (strcmp(optarg, "-") == 0)
612 fb_aux_buffers = atoi(optarg);
615 if (strcmp(optarg, "-") == 0)
618 fb_samples = atoi(optarg);
633 if (strcmp(optarg, ANGLE_TYPE_OPENGL) == 0)
635 else if (strcmp(optarg, ANGLE_TYPE_OPENGLES) == 0)
637 else if (strcmp(optarg, ANGLE_TYPE_D3D9) == 0)
639 else if (strcmp(optarg, ANGLE_TYPE_D3D11) == 0)
641 else if (strcmp(optarg, ANGLE_TYPE_VULKAN) == 0)
643 else if (strcmp(optarg, ANGLE_TYPE_METAL) == 0)