#include "SDL_gpu_OpenGL_2.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 120 |
#define | SDL_GPU_GL_MAJOR_VERSION 2 |
#define | SDL_GPU_NO_VAO |
Functions | |
GPU_Renderer * | GPU_CreateRenderer_OpenGL_2 (GPU_RendererID request) |
void | GPU_FreeRenderer_OpenGL_2 (GPU_Renderer *renderer) |
#define SDL_GPU_GL_MAJOR_VERSION 2 |
Definition at line 17 of file SDL_gpu_OpenGL_2.c.
#define SDL_GPU_GL_TIER 3 |
Definition at line 15 of file SDL_gpu_OpenGL_2.c.
#define SDL_GPU_GLSL_VERSION 120 |
Definition at line 16 of file SDL_gpu_OpenGL_2.c.
Referenced by GPU_CreateRenderer_OpenGL_2().
#define SDL_GPU_NO_VAO |
Definition at line 18 of file SDL_gpu_OpenGL_2.c.
#define SDL_GPU_USE_GL_TIER3 |
Definition at line 14 of file SDL_gpu_OpenGL_2.c.
#define SDL_GPU_USE_OPENGL |
Definition at line 13 of file SDL_gpu_OpenGL_2.c.
GPU_Renderer* GPU_CreateRenderer_OpenGL_2 | ( | GPU_RendererID | request | ) |
Definition at line 23 of file SDL_gpu_OpenGL_2.c.
References GPU_Renderer::current_context_target, GPU_LANGUAGE_GLSL, GPU_RENDERER_OPENGL_2, 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_2 | ( | GPU_Renderer * | renderer | ) |
Definition at line 43 of file SDL_gpu_OpenGL_2.c.
Referenced by GPU_RegisterRenderers().