#include "imgui/imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include "draw.h"
#include "settings.h"
#include "test.h"
#include <algorithm>
#include <stdio.h>
#include <thread>
#include <chrono>
Go to the source code of this file.
|
static void | CharCallback (GLFWwindow *window, unsigned int c) |
|
static bool | CompareTests (const TestEntry &a, const TestEntry &b) |
|
static void | CreateUI (GLFWwindow *window, const char *glslVersion=NULL) |
|
void | glfwErrorCallback (int error, const char *description) |
|
static void | KeyCallback (GLFWwindow *window, int key, int scancode, int action, int mods) |
|
int | main (int, char **) |
|
static void | MouseButtonCallback (GLFWwindow *window, int32 button, int32 action, int32 mods) |
|
static void | MouseMotionCallback (GLFWwindow *, double xd, double yd) |
|
static void | ResizeWindowCallback (GLFWwindow *, int width, int height) |
|
static void | RestartTest () |
|
static void | ScrollCallback (GLFWwindow *window, double dx, double dy) |
|
static void | SortTests () |
|
static void | UpdateUI () |
|
◆ _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS |
◆ IMGUI_DISABLE_OBSOLETE_FUNCTIONS
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS 1 |
◆ CharCallback()
◆ CompareTests()
◆ CreateUI()
static void CreateUI |
( |
GLFWwindow * |
window, |
|
|
const char * |
glslVersion = NULL |
|
) |
| |
|
static |
◆ glfwErrorCallback()
void glfwErrorCallback |
( |
int |
error, |
|
|
const char * |
description |
|
) |
| |
◆ KeyCallback()
static void KeyCallback |
( |
GLFWwindow * |
window, |
|
|
int |
key, |
|
|
int |
scancode, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
, |
|
|
char ** |
|
|
) |
| |
◆ MouseButtonCallback()
◆ MouseMotionCallback()
static void MouseMotionCallback |
( |
GLFWwindow * |
, |
|
|
double |
xd, |
|
|
double |
yd |
|
) |
| |
|
static |
◆ ResizeWindowCallback()
static void ResizeWindowCallback |
( |
GLFWwindow * |
, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ RestartTest()
static void RestartTest |
( |
| ) |
|
|
static |
◆ ScrollCallback()
static void ScrollCallback |
( |
GLFWwindow * |
window, |
|
|
double |
dx, |
|
|
double |
dy |
|
) |
| |
|
static |
◆ SortTests()
static void SortTests |
( |
| ) |
|
|
static |
◆ UpdateUI()
◆ g_mainWindow
◆ s_clickPointWS
◆ s_rightMouseDown
bool s_rightMouseDown = false |
|
static |
◆ s_settings
◆ s_test
◆ s_testSelection
int32 s_testSelection = 0 |
|
static |