The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions
SDL_gpu_OpenGL_1.c File Reference
#include "SDL_gpu_OpenGL_1.h"
#include "../GL_common/SDL_gpu_GL_common.inl"
#include "../GL_common/SDL_gpuShapes_GL_common.inl"
Include dependency graph for SDL_gpu_OpenGL_1.c:

Go to the source code of this file.

Macros

#define SDL_GPU_USE_OPENGL
 
#define SDL_GPU_USE_GL_TIER3
 
#define SDL_GPU_GL_TIER   3
 
#define SDL_GPU_GLSL_VERSION   110
 
#define SDL_GPU_GL_MAJOR_VERSION   1
 
#define SDL_GPU_NO_VAO
 

Functions

GPU_RendererGPU_CreateRenderer_OpenGL_1 (GPU_RendererID request)
 
void GPU_FreeRenderer_OpenGL_1 (GPU_Renderer *renderer)
 

Macro Definition Documentation

#define SDL_GPU_GL_MAJOR_VERSION   1

Definition at line 17 of file SDL_gpu_OpenGL_1.c.

Referenced by CreateTargetFromWindow().

#define SDL_GPU_GL_TIER   3

Definition at line 15 of file SDL_gpu_OpenGL_1.c.

#define SDL_GPU_GLSL_VERSION   110

Definition at line 16 of file SDL_gpu_OpenGL_1.c.

Referenced by GPU_CreateRenderer_OpenGL_1().

#define SDL_GPU_NO_VAO

Definition at line 18 of file SDL_gpu_OpenGL_1.c.

#define SDL_GPU_USE_GL_TIER3

Definition at line 14 of file SDL_gpu_OpenGL_1.c.

#define SDL_GPU_USE_OPENGL

Definition at line 13 of file SDL_gpu_OpenGL_1.c.

Function Documentation

GPU_Renderer* GPU_CreateRenderer_OpenGL_1 ( GPU_RendererID  request)
void GPU_FreeRenderer_OpenGL_1 ( GPU_Renderer renderer)

Definition at line 43 of file SDL_gpu_OpenGL_1.c.

Referenced by GPU_RegisterRenderers().