SDL_gpu  0.11.0
A hardware-accelerated, cross-platform 2D graphics API
Macros | Functions
renderer_OpenGL_1_BASE.c File Reference
#include "SDL_gpu_OpenGL_1_BASE.h"
#include "SDL_gpu_RendererImpl.h"
#include "renderer_GL_common.inl"
#include "renderer_shapes_GL_common.inl"

Go to the source code of this file.

Macros

#define SDL_GPU_USE_OPENGL
 
#define SDL_GPU_DISABLE_SHADERS
 
#define SDL_GPU_DISABLE_RENDER_TO_TEXTURE
 
#define SDL_GPU_USE_FIXED_FUNCTION_PIPELINE
 
#define SDL_GPU_GL_TIER   1
 
#define SDL_GPU_GL_MAJOR_VERSION   1
 
#define SDL_GPU_APPLY_TRANSFORMS_TO_GL_STACK
 
#define SDL_GPU_NO_VAO
 

Functions

GPU_RendererGPU_CreateRenderer_OpenGL_1_BASE (GPU_RendererID request)
 
void GPU_FreeRenderer_OpenGL_1_BASE (GPU_Renderer *renderer)
 

Macro Definition Documentation

◆ SDL_GPU_APPLY_TRANSFORMS_TO_GL_STACK

#define SDL_GPU_APPLY_TRANSFORMS_TO_GL_STACK

Definition at line 20 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_DISABLE_RENDER_TO_TEXTURE

#define SDL_GPU_DISABLE_RENDER_TO_TEXTURE

Definition at line 16 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_DISABLE_SHADERS

#define SDL_GPU_DISABLE_SHADERS

Definition at line 15 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_GL_MAJOR_VERSION

#define SDL_GPU_GL_MAJOR_VERSION   1

Definition at line 19 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_GL_TIER

#define SDL_GPU_GL_TIER   1

Definition at line 18 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_NO_VAO

#define SDL_GPU_NO_VAO

Definition at line 21 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_USE_FIXED_FUNCTION_PIPELINE

#define SDL_GPU_USE_FIXED_FUNCTION_PIPELINE

Definition at line 17 of file renderer_OpenGL_1_BASE.c.

◆ SDL_GPU_USE_OPENGL

#define SDL_GPU_USE_OPENGL

Definition at line 14 of file renderer_OpenGL_1_BASE.c.

Function Documentation

◆ GPU_CreateRenderer_OpenGL_1_BASE()

GPU_Renderer* GPU_CreateRenderer_OpenGL_1_BASE ( GPU_RendererID  request)

Definition at line 27 of file renderer_OpenGL_1_BASE.c.

◆ GPU_FreeRenderer_OpenGL_1_BASE()

void GPU_FreeRenderer_OpenGL_1_BASE ( GPU_Renderer renderer)

Definition at line 53 of file renderer_OpenGL_1_BASE.c.