#include "SDL_gpu_OpenGL_1.h"
#include "../GL_common/SDL_gpu_GL_common.inl"
#include "../GL_common/SDL_gpuShapes_GL_common.inl"
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_Renderer * | GPU_CreateRenderer_OpenGL_1 (GPU_RendererID request) |
void | GPU_FreeRenderer_OpenGL_1 (GPU_Renderer *renderer) |
#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.
GPU_Renderer* GPU_CreateRenderer_OpenGL_1 | ( | GPU_RendererID | request | ) |
Definition at line 23 of file SDL_gpu_OpenGL_1.c.
References GPU_Renderer::current_context_target, GPU_LANGUAGE_GLSL, GPU_RENDERER_OPENGL_1, GPU_RendererID::id, GPU_Renderer::id, SDL_GPU_GLSL_VERSION, SET_COMMON_FUNCTIONS, GPU_Renderer::shader_language, and GPU_Renderer::shader_version.
Referenced by GPU_RegisterRenderers().
void GPU_FreeRenderer_OpenGL_1 | ( | GPU_Renderer * | renderer | ) |
Definition at line 43 of file SDL_gpu_OpenGL_1.c.
Referenced by GPU_RegisterRenderers().