SDL_gpu  0.11.0
A hardware-accelerated, cross-platform 2D graphics API
Macros | Functions
renderer_OpenGL_3.c File Reference
#include "SDL_gpu_OpenGL_3.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_USE_BUFFER_PIPELINE
 
#define SDL_GPU_ASSUME_CORE_FBO
 
#define SDL_GPU_ASSUME_SHADERS
 
#define SDL_GPU_SKIP_ENABLE_TEXTURE_2D
 
#define SDL_GPU_SKIP_LINE_WIDTH
 
#define SDL_GPU_GL_TIER   3
 
#define SDL_GPU_GLSL_VERSION   130
 
#define SDL_GPU_GLSL_VERSION_CORE   150
 
#define SDL_GPU_GL_MAJOR_VERSION   3
 
#define SDL_GPU_ENABLE_CORE_SHADERS
 

Functions

GPU_RendererGPU_CreateRenderer_OpenGL_3 (GPU_RendererID request)
 
void GPU_FreeRenderer_OpenGL_3 (GPU_Renderer *renderer)
 

Macro Definition Documentation

◆ SDL_GPU_ASSUME_CORE_FBO

#define SDL_GPU_ASSUME_CORE_FBO

Definition at line 17 of file renderer_OpenGL_3.c.

◆ SDL_GPU_ASSUME_SHADERS

#define SDL_GPU_ASSUME_SHADERS

Definition at line 18 of file renderer_OpenGL_3.c.

◆ SDL_GPU_ENABLE_CORE_SHADERS

#define SDL_GPU_ENABLE_CORE_SHADERS

Definition at line 25 of file renderer_OpenGL_3.c.

◆ SDL_GPU_GL_MAJOR_VERSION

#define SDL_GPU_GL_MAJOR_VERSION   3

Definition at line 24 of file renderer_OpenGL_3.c.

◆ SDL_GPU_GL_TIER

#define SDL_GPU_GL_TIER   3

Definition at line 21 of file renderer_OpenGL_3.c.

◆ SDL_GPU_GLSL_VERSION

#define SDL_GPU_GLSL_VERSION   130

Definition at line 22 of file renderer_OpenGL_3.c.

◆ SDL_GPU_GLSL_VERSION_CORE

#define SDL_GPU_GLSL_VERSION_CORE   150

Definition at line 23 of file renderer_OpenGL_3.c.

◆ SDL_GPU_SKIP_ENABLE_TEXTURE_2D

#define SDL_GPU_SKIP_ENABLE_TEXTURE_2D

Definition at line 19 of file renderer_OpenGL_3.c.

◆ SDL_GPU_SKIP_LINE_WIDTH

#define SDL_GPU_SKIP_LINE_WIDTH

Definition at line 20 of file renderer_OpenGL_3.c.

◆ SDL_GPU_USE_BUFFER_PIPELINE

#define SDL_GPU_USE_BUFFER_PIPELINE

Definition at line 16 of file renderer_OpenGL_3.c.

◆ SDL_GPU_USE_OPENGL

#define SDL_GPU_USE_OPENGL

Definition at line 15 of file renderer_OpenGL_3.c.

Function Documentation

◆ GPU_CreateRenderer_OpenGL_3()

GPU_Renderer* GPU_CreateRenderer_OpenGL_3 ( GPU_RendererID  request)

Definition at line 31 of file renderer_OpenGL_3.c.

◆ GPU_FreeRenderer_OpenGL_3()

void GPU_FreeRenderer_OpenGL_3 ( GPU_Renderer renderer)

Definition at line 57 of file renderer_OpenGL_3.c.