#include <vulkan/vulkan.h>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getopt.h"
Go to the source code of this file.
Macros | |
#define | API_NAME_EGL "egl" |
#define | API_NAME_NATIVE "native" |
#define | API_NAME_OPENGL "gl" |
#define | API_NAME_OPENGL_ES "es" |
#define | API_NAME_OSMESA "osmesa" |
#define | BEHAVIOR_NAME_FLUSH "flush" |
#define | BEHAVIOR_NAME_NONE "none" |
#define | PROFILE_NAME_COMPAT "compat" |
#define | PROFILE_NAME_CORE "core" |
#define | STRATEGY_NAME_LOSE "lose" |
#define | STRATEGY_NAME_NONE "none" |
#define | VK_NO_PROTOTYPES |
Functions | |
static void | error_callback (int error, const char *description) |
static const char * | get_api_name (int api) |
static const char * | get_device_type_name (VkPhysicalDeviceType type) |
static const char * | get_profile_name_gl (GLint mask) |
static const char * | get_profile_name_glfw (int profile) |
static const char * | get_strategy_name_gl (GLint strategy) |
static const char * | get_strategy_name_glfw (int strategy) |
static void | list_context_extensions (int client, int major, int minor) |
static void | list_vulkan_device_extensions (VkInstance instance, VkPhysicalDevice device) |
static void | list_vulkan_device_layers (VkInstance instance, VkPhysicalDevice device) |
static void | list_vulkan_instance_extensions (void) |
static void | list_vulkan_instance_layers (void) |
int | main (int argc, char **argv) |
static void | print_version (void) |
static void | usage (void) |
static int | valid_version (void) |
#define API_NAME_EGL "egl" |
Definition at line 45 of file glfwinfo.c.
#define API_NAME_NATIVE "native" |
Definition at line 44 of file glfwinfo.c.
#define API_NAME_OPENGL "gl" |
Definition at line 41 of file glfwinfo.c.
#define API_NAME_OPENGL_ES "es" |
Definition at line 42 of file glfwinfo.c.
#define API_NAME_OSMESA "osmesa" |
Definition at line 46 of file glfwinfo.c.
#define BEHAVIOR_NAME_FLUSH "flush" |
Definition at line 55 of file glfwinfo.c.
#define BEHAVIOR_NAME_NONE "none" |
Definition at line 54 of file glfwinfo.c.
#define PROFILE_NAME_COMPAT "compat" |
Definition at line 49 of file glfwinfo.c.
#define PROFILE_NAME_CORE "core" |
Definition at line 48 of file glfwinfo.c.
#define STRATEGY_NAME_LOSE "lose" |
Definition at line 52 of file glfwinfo.c.
#define STRATEGY_NAME_NONE "none" |
Definition at line 51 of file glfwinfo.c.
#define VK_NO_PROTOTYPES |
Definition at line 26 of file glfwinfo.c.
|
static |
Definition at line 105 of file glfwinfo.c.
|
static |
Definition at line 126 of file glfwinfo.c.
|
static |
Definition at line 110 of file glfwinfo.c.
|
static |
Definition at line 136 of file glfwinfo.c.
|
static |
Definition at line 146 of file glfwinfo.c.
|
static |
Definition at line 156 of file glfwinfo.c.
|
static |
Definition at line 166 of file glfwinfo.c.
|
static |
Definition at line 176 of file glfwinfo.c.
|
static |
Definition at line 271 of file glfwinfo.c.
|
static |
Definition at line 298 of file glfwinfo.c.
Definition at line 212 of file glfwinfo.c.
Definition at line 239 of file glfwinfo.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 360 of file glfwinfo.c.
Definition at line 347 of file glfwinfo.c.
Definition at line 57 of file glfwinfo.c.
|
static |
Definition at line 330 of file glfwinfo.c.