#include <SDL_gpu.h>
Public Attributes | |
GPU_RendererID | id |
GPU_RendererID | requested_id |
GPU_WindowFlagEnum | SDL_init_flags |
GPU_InitFlagEnum | GPU_init_flags |
GPU_ShaderLanguageEnum | shader_language |
int | shader_version |
GPU_FeatureEnum | enabled_features |
GPU_Target * | current_context_target |
GPU_Target *(* | Init )(GPU_Renderer *renderer, GPU_RendererID renderer_request, Uint16 w, Uint16 h, GPU_WindowFlagEnum SDL_flags) |
Uint8(* | IsFeatureEnabled )(GPU_Renderer *renderer, GPU_FeatureEnum feature) |
GPU_Target *(* | CreateTargetFromWindow )(GPU_Renderer *renderer, Uint32 windowID, GPU_Target *target) |
GPU_Target *(* | CreateAliasTarget )(GPU_Renderer *renderer, GPU_Target *target) |
void(* | MakeCurrent )(GPU_Renderer *renderer, GPU_Target *target, Uint32 windowID) |
void(* | SetAsCurrent )(GPU_Renderer *renderer) |
Uint8(* | SetWindowResolution )(GPU_Renderer *renderer, Uint16 w, Uint16 h) |
void(* | SetVirtualResolution )(GPU_Renderer *renderer, GPU_Target *target, Uint16 w, Uint16 h) |
void(* | UnsetVirtualResolution )(GPU_Renderer *renderer, GPU_Target *target) |
void(* | Quit )(GPU_Renderer *renderer) |
Uint8(* | ToggleFullscreen )(GPU_Renderer *renderer, Uint8 use_desktop_resolution) |
GPU_Camera(* | SetCamera )(GPU_Renderer *renderer, GPU_Target *target, GPU_Camera *cam) |
GPU_Image *(* | CreateImage )(GPU_Renderer *renderer, Uint16 w, Uint16 h, GPU_FormatEnum format) |
GPU_Image *(* | LoadImage )(GPU_Renderer *renderer, const char *filename) |
GPU_Image *(* | CreateAliasImage )(GPU_Renderer *renderer, GPU_Image *image) |
Uint8(* | SaveImage )(GPU_Renderer *renderer, GPU_Image *image, const char *filename) |
GPU_Image *(* | CopyImage )(GPU_Renderer *renderer, GPU_Image *image) |
void(* | UpdateImage )(GPU_Renderer *renderer, GPU_Image *image, SDL_Surface *surface, const GPU_Rect *surface_rect) |
void(* | UpdateSubImage )(GPU_Renderer *renderer, GPU_Image *image, const GPU_Rect *image_rect, SDL_Surface *surface, const GPU_Rect *surface_rect) |
void(* | UpdateImageBytes )(GPU_Renderer *renderer, GPU_Image *image, const GPU_Rect *image_rect, const unsigned char *bytes, int bytes_per_row) |
GPU_Image *(* | CopyImageFromSurface )(GPU_Renderer *renderer, SDL_Surface *surface) |
GPU_Image *(* | CopyImageFromTarget )(GPU_Renderer *renderer, GPU_Target *target) |
SDL_Surface *(* | CopySurfaceFromTarget )(GPU_Renderer *renderer, GPU_Target *target) |
SDL_Surface *(* | CopySurfaceFromImage )(GPU_Renderer *renderer, GPU_Image *image) |
void(* | FreeImage )(GPU_Renderer *renderer, GPU_Image *image) |
GPU_Target *(* | LoadTarget )(GPU_Renderer *renderer, GPU_Image *image) |
void(* | FreeTarget )(GPU_Renderer *renderer, GPU_Target *target) |
void(* | Blit )(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y) |
void(* | BlitRotate )(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float degrees) |
void(* | BlitScale )(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float scaleX, float scaleY) |
void(* | BlitTransform )(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float degrees, float scaleX, float scaleY) |
void(* | BlitTransformX )(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float pivot_x, float pivot_y, float degrees, float scaleX, float scaleY) |
void(* | BlitTransformMatrix )(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float *matrix3x3) |
void(* | BlitBatch )(GPU_Renderer *renderer, GPU_Image *image, GPU_Target *target, unsigned int num_sprites, float *values, GPU_BlitFlagEnum flags) |
void(* | TriangleBatch )(GPU_Renderer *renderer, GPU_Image *image, GPU_Target *target, unsigned short num_vertices, float *values, unsigned int num_indices, unsigned short *indices, GPU_BlitFlagEnum flags) |
void(* | GenerateMipmaps )(GPU_Renderer *renderer, GPU_Image *image) |
GPU_Rect(* | SetClip )(GPU_Renderer *renderer, GPU_Target *target, Sint16 x, Sint16 y, Uint16 w, Uint16 h) |
void(* | UnsetClip )(GPU_Renderer *renderer, GPU_Target *target) |
SDL_Color(* | GetPixel )(GPU_Renderer *renderer, GPU_Target *target, Sint16 x, Sint16 y) |
void(* | SetImageFilter )(GPU_Renderer *renderer, GPU_Image *image, GPU_FilterEnum filter) |
void(* | SetWrapMode )(GPU_Renderer *renderer, GPU_Image *image, GPU_WrapEnum wrap_mode_x, GPU_WrapEnum wrap_mode_y) |
void(* | Clear )(GPU_Renderer *renderer, GPU_Target *target) |
void(* | ClearRGBA )(GPU_Renderer *renderer, GPU_Target *target, Uint8 r, Uint8 g, Uint8 b, Uint8 a) |
void(* | FlushBlitBuffer )(GPU_Renderer *renderer) |
void(* | Flip )(GPU_Renderer *renderer, GPU_Target *target) |
Uint32(* | CompileShader_RW )(GPU_Renderer *renderer, GPU_ShaderEnum shader_type, SDL_RWops *shader_source) |
Uint32(* | CompileShader )(GPU_Renderer *renderer, GPU_ShaderEnum shader_type, const char *shader_source) |
Uint32(* | LinkShaderProgram )(GPU_Renderer *renderer, Uint32 program_object) |
Uint32(* | LinkShaders )(GPU_Renderer *renderer, Uint32 shader_object1, Uint32 shader_object2) |
void(* | FreeShader )(GPU_Renderer *renderer, Uint32 shader_object) |
void(* | FreeShaderProgram )(GPU_Renderer *renderer, Uint32 program_object) |
void(* | AttachShader )(GPU_Renderer *renderer, Uint32 program_object, Uint32 shader_object) |
void(* | DetachShader )(GPU_Renderer *renderer, Uint32 program_object, Uint32 shader_object) |
Uint8(* | IsDefaultShaderProgram )(GPU_Renderer *renderer, Uint32 program_object) |
void(* | ActivateShaderProgram )(GPU_Renderer *renderer, Uint32 program_object, GPU_ShaderBlock *block) |
void(* | DeactivateShaderProgram )(GPU_Renderer *renderer) |
const char *(* | GetShaderMessage )(GPU_Renderer *renderer) |
int(* | GetAttributeLocation )(GPU_Renderer *renderer, Uint32 program_object, const char *attrib_name) |
int(* | GetUniformLocation )(GPU_Renderer *renderer, Uint32 program_object, const char *uniform_name) |
GPU_ShaderBlock(* | LoadShaderBlock )(GPU_Renderer *renderer, Uint32 program_object, const char *position_name, const char *texcoord_name, const char *color_name, const char *modelViewMatrix_name) |
void(* | SetShaderBlock )(GPU_Renderer *renderer, GPU_ShaderBlock block) |
void(* | SetShaderImage )(GPU_Renderer *renderer, GPU_Image *image, int location, int image_unit) |
void(* | GetUniformiv )(GPU_Renderer *renderer, Uint32 program_object, int location, int *values) |
void(* | SetUniformi )(GPU_Renderer *renderer, int location, int value) |
void(* | SetUniformiv )(GPU_Renderer *renderer, int location, int num_elements_per_value, int num_values, int *values) |
void(* | GetUniformuiv )(GPU_Renderer *renderer, Uint32 program_object, int location, unsigned int *values) |
void(* | SetUniformui )(GPU_Renderer *renderer, int location, unsigned int value) |
void(* | SetUniformuiv )(GPU_Renderer *renderer, int location, int num_elements_per_value, int num_values, unsigned int *values) |
void(* | GetUniformfv )(GPU_Renderer *renderer, Uint32 program_object, int location, float *values) |
void(* | SetUniformf )(GPU_Renderer *renderer, int location, float value) |
void(* | SetUniformfv )(GPU_Renderer *renderer, int location, int num_elements_per_value, int num_values, float *values) |
void(* | SetUniformMatrixfv )(GPU_Renderer *renderer, int location, int num_matrices, int num_rows, int num_columns, Uint8 transpose, float *values) |
void(* | SetAttributef )(GPU_Renderer *renderer, int location, float value) |
void(* | SetAttributei )(GPU_Renderer *renderer, int location, int value) |
void(* | SetAttributeui )(GPU_Renderer *renderer, int location, unsigned int value) |
void(* | SetAttributefv )(GPU_Renderer *renderer, int location, int num_elements, float *value) |
void(* | SetAttributeiv )(GPU_Renderer *renderer, int location, int num_elements, int *value) |
void(* | SetAttributeuiv )(GPU_Renderer *renderer, int location, int num_elements, unsigned int *value) |
void(* | SetAttributeSource )(GPU_Renderer *renderer, int num_values, GPU_Attribute source) |
float(* | SetLineThickness )(GPU_Renderer *renderer, float thickness) |
float(* | GetLineThickness )(GPU_Renderer *renderer) |
void(* | Pixel )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, SDL_Color color) |
void(* | Line )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
void(* | Arc )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, float start_angle, float end_angle, SDL_Color color) |
void(* | ArcFilled )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, float start_angle, float end_angle, SDL_Color color) |
void(* | Circle )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, SDL_Color color) |
void(* | CircleFilled )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, SDL_Color color) |
void(* | Sector )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float inner_radius, float outer_radius, float start_angle, float end_angle, SDL_Color color) |
void(* | SectorFilled )(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float inner_radius, float outer_radius, float start_angle, float end_angle, SDL_Color color) |
void(* | Tri )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float x3, float y3, SDL_Color color) |
void(* | TriFilled )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float x3, float y3, SDL_Color color) |
void(* | Rectangle )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
void(* | RectangleFilled )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
void(* | RectangleRound )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float radius, SDL_Color color) |
void(* | RectangleRoundFilled )(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float radius, SDL_Color color) |
void(* | Polygon )(GPU_Renderer *renderer, GPU_Target *target, unsigned int num_vertices, float *vertices, SDL_Color color) |
void(* | PolygonFilled )(GPU_Renderer *renderer, GPU_Target *target, unsigned int num_vertices, float *vertices, SDL_Color color) |
Renderer object which specializes the API to a particular backend.
void(* GPU_Renderer::ActivateShaderProgram)(GPU_Renderer *renderer, Uint32 program_object, GPU_ShaderBlock *block) |
Definition at line 662 of file SDL_gpu.h.
Referenced by DeactivateShaderProgram(), GPU_ActivateShaderProgram(), prepareToRenderImage(), and prepareToRenderShapes().
void(* GPU_Renderer::Arc)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, float start_angle, float end_angle, SDL_Color color) |
void(* GPU_Renderer::ArcFilled)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, float start_angle, float end_angle, SDL_Color color) |
void(* GPU_Renderer::AttachShader)(GPU_Renderer *renderer, Uint32 program_object, Uint32 shader_object) |
Definition at line 653 of file SDL_gpu.h.
Referenced by GPU_AttachShader().
void(* GPU_Renderer::Blit)(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y) |
Definition at line 583 of file SDL_gpu.h.
Referenced by BlitTransformMatrix(), CopyImage(), and GPU_Blit().
void(* GPU_Renderer::BlitBatch)(GPU_Renderer *renderer, GPU_Image *image, GPU_Target *target, unsigned int num_sprites, float *values, GPU_BlitFlagEnum flags) |
Definition at line 601 of file SDL_gpu.h.
Referenced by GPU_BlitBatch(), and GPU_BlitBatchSeparate().
void(* GPU_Renderer::BlitRotate)(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float degrees) |
void(* GPU_Renderer::BlitScale)(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float scaleX, float scaleY) |
void(* GPU_Renderer::BlitTransform)(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float degrees, float scaleX, float scaleY) |
Definition at line 592 of file SDL_gpu.h.
Referenced by GPU_BlitTransform().
void(* GPU_Renderer::BlitTransformMatrix)(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float *matrix3x3) |
Definition at line 598 of file SDL_gpu.h.
Referenced by GPU_BlitTransformMatrix().
void(* GPU_Renderer::BlitTransformX)(GPU_Renderer *renderer, GPU_Image *image, GPU_Rect *src_rect, GPU_Target *target, float x, float y, float pivot_x, float pivot_y, float degrees, float scaleX, float scaleY) |
Definition at line 595 of file SDL_gpu.h.
Referenced by BlitRotate(), BlitScale(), BlitTransform(), and GPU_BlitTransformX().
void(* GPU_Renderer::Circle)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, SDL_Color color) |
void(* GPU_Renderer::CircleFilled)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float radius, SDL_Color color) |
void(* GPU_Renderer::Clear)(GPU_Renderer *renderer, GPU_Target *target) |
void(* GPU_Renderer::ClearRGBA)(GPU_Renderer *renderer, GPU_Target *target, Uint8 r, Uint8 g, Uint8 b, Uint8 a) |
Definition at line 627 of file SDL_gpu.h.
Referenced by GPU_ClearColor(), and GPU_ClearRGBA().
Uint32(* GPU_Renderer::CompileShader)(GPU_Renderer *renderer, GPU_ShaderEnum shader_type, const char *shader_source) |
Definition at line 638 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), and GPU_CompileShader().
Uint32(* GPU_Renderer::CompileShader_RW)(GPU_Renderer *renderer, GPU_ShaderEnum shader_type, SDL_RWops *shader_source) |
Definition at line 635 of file SDL_gpu.h.
Referenced by CompileShader(), and GPU_CompileShader_RW().
GPU_Image*(* GPU_Renderer::CopyImage)(GPU_Renderer *renderer, GPU_Image *image) |
GPU_Image*(* GPU_Renderer::CopyImageFromSurface)(GPU_Renderer *renderer, SDL_Surface *surface) |
Definition at line 562 of file SDL_gpu.h.
Referenced by CopyImageFromTarget(), GPU_CopyImageFromSurface(), and LoadImage().
GPU_Image*(* GPU_Renderer::CopyImageFromTarget)(GPU_Renderer *renderer, GPU_Target *target) |
Definition at line 565 of file SDL_gpu.h.
Referenced by GPU_CopyImageFromTarget().
SDL_Surface*(* GPU_Renderer::CopySurfaceFromImage)(GPU_Renderer *renderer, GPU_Image *image) |
Definition at line 571 of file SDL_gpu.h.
Referenced by GPU_CopySurfaceFromImage().
SDL_Surface*(* GPU_Renderer::CopySurfaceFromTarget)(GPU_Renderer *renderer, GPU_Target *target) |
Definition at line 568 of file SDL_gpu.h.
Referenced by CopyImageFromTarget(), and GPU_CopySurfaceFromTarget().
GPU_Image*(* GPU_Renderer::CreateAliasImage)(GPU_Renderer *renderer, GPU_Image *image) |
Definition at line 544 of file SDL_gpu.h.
Referenced by GPU_CreateAliasImage().
GPU_Target*(* GPU_Renderer::CreateAliasTarget)(GPU_Renderer *renderer, GPU_Target *target) |
Definition at line 511 of file SDL_gpu.h.
Referenced by GPU_CreateAliasTarget().
GPU_Image*(* GPU_Renderer::CreateImage)(GPU_Renderer *renderer, Uint16 w, Uint16 h, GPU_FormatEnum format) |
Definition at line 538 of file SDL_gpu.h.
Referenced by CopyImage(), CopyImageFromSurface(), and GPU_CreateImage().
GPU_Target*(* GPU_Renderer::CreateTargetFromWindow)(GPU_Renderer *renderer, Uint32 windowID, GPU_Target *target) |
Definition at line 508 of file SDL_gpu.h.
Referenced by GPU_CreateTargetFromWindow(), and Init().
GPU_Target* GPU_Renderer::current_context_target |
Current display target
Definition at line 494 of file SDL_gpu.h.
Referenced by ActivateShaderProgram(), applyTexturing(), bindFramebuffer(), bindTexture(), Blit(), BlitBatch(), BlitTransformX(), changeBlending(), changeBlendMode(), changeColor(), changeTexturing(), CreateTargetFromWindow(), disableTexturing(), enableTexturing(), Flip(), flushAndBindFramebuffer(), flushAndBindTexture(), flushAndClearBlitBufferIfCurrentFramebuffer(), flushAndClearBlitBufferIfCurrentTexture(), FlushBlitBuffer(), flushBlitBufferIfCurrentTexture(), FreeTarget(), get_proper_program_id(), GetLineThickness(), GPU_ActivateShaderProgram(), GPU_AttachShader(), GPU_Clear(), GPU_ClearColor(), GPU_ClearRGBA(), GPU_CompileShader(), GPU_CompileShader_RW(), GPU_CopyImage(), GPU_CopyImageFromSurface(), GPU_CopyImageFromTarget(), GPU_CopySurfaceFromImage(), GPU_CopySurfaceFromTarget(), GPU_CreateAliasImage(), GPU_CreateAliasTarget(), GPU_CreateImage(), GPU_CreateRenderer_GLES_1(), GPU_CreateRenderer_GLES_2(), GPU_CreateRenderer_OpenGL_1(), GPU_CreateRenderer_OpenGL_1_BASE(), GPU_CreateRenderer_OpenGL_2(), GPU_CreateRenderer_OpenGL_3(), GPU_CreateTargetFromWindow(), GPU_DeactivateShaderProgram(), GPU_DetachShader(), GPU_Flip(), GPU_FlushBlitBuffer(), GPU_FreeImage(), GPU_FreeShader(), GPU_FreeShaderProgram(), GPU_FreeTarget(), GPU_GenerateMipmaps(), GPU_GetAttributeLocation(), GPU_GetContextTarget(), GPU_GetCurrentShaderProgram(), GPU_GetPixel(), GPU_GetShaderMessage(), GPU_GetUniformfv(), GPU_GetUniformiv(), GPU_GetUniformLocation(), GPU_GetUniformMatrixfv(), GPU_GetUniformuiv(), GPU_IsDefaultShaderProgram(), GPU_IsFeatureEnabled(), GPU_LinkShaderProgram(), GPU_LinkShaders(), GPU_LoadImage(), GPU_LoadShaderBlock(), GPU_LoadTarget(), GPU_MakeCurrent(), GPU_SaveImage(), GPU_SetAttributef(), GPU_SetAttributefv(), GPU_SetAttributei(), GPU_SetAttributeiv(), GPU_SetAttributeSource(), GPU_SetAttributeui(), GPU_SetAttributeuiv(), GPU_SetCamera(), GPU_SetClip(), GPU_SetClipRect(), GPU_SetImageFilter(), GPU_SetShaderBlock(), GPU_SetShaderImage(), GPU_SetShapeBlendEquation(), GPU_SetShapeBlendFunction(), GPU_SetShapeBlending(), GPU_SetShapeBlendMode(), GPU_SetUniformf(), GPU_SetUniformfv(), GPU_SetUniformi(), GPU_SetUniformiv(), GPU_SetUniformMatrixfv(), GPU_SetUniformui(), GPU_SetUniformuiv(), GPU_SetVirtualResolution(), GPU_SetWindowResolution(), GPU_SetWrapMode(), GPU_ToggleFullscreen(), GPU_UnsetClip(), GPU_UnsetVirtualResolution(), GPU_UpdateImage(), GPU_UpdateImageBytes(), GPU_UpdateSubImage(), Init(), isCurrentTarget(), IsDefaultShaderProgram(), makeContextCurrent(), MakeCurrent(), prepareToRenderImage(), prepareToRenderShapes(), Quit(), readImagePixels(), SetAsCurrent(), SetAttributef(), SetAttributefv(), SetAttributei(), SetAttributeiv(), SetAttributeSource(), SetAttributeui(), SetAttributeuiv(), setClipRect(), SetLineThickness(), SetShaderBlock(), SetShaderImage(), SetUniformf(), SetUniformfv(), SetUniformi(), SetUniformiv(), SetUniformMatrixfv(), SetUniformui(), SetUniformuiv(), SetWindowResolution(), ToggleFullscreen(), and TriangleBatch().
void(* GPU_Renderer::DeactivateShaderProgram)(GPU_Renderer *renderer) |
Definition at line 665 of file SDL_gpu.h.
Referenced by GPU_DeactivateShaderProgram().
void(* GPU_Renderer::DetachShader)(GPU_Renderer *renderer, Uint32 program_object, Uint32 shader_object) |
Definition at line 656 of file SDL_gpu.h.
Referenced by GPU_DetachShader().
GPU_FeatureEnum GPU_Renderer::enabled_features |
Definition at line 491 of file SDL_gpu.h.
Referenced by bindFramebuffer(), changeBlendMode(), compareFormats(), CopyImage(), CreateImage(), extBindFramebuffer(), FreeTarget(), Init(), init_features(), IsFeatureEnabled(), LoadTarget(), and SetWrapMode().
void(* GPU_Renderer::Flip)(GPU_Renderer *renderer, GPU_Target *target) |
void(* GPU_Renderer::FlushBlitBuffer)(GPU_Renderer *renderer) |
Definition at line 629 of file SDL_gpu.h.
Referenced by ActivateShaderProgram(), bindFramebuffer(), bindTexture(), Blit(), BlitBatch(), BlitTransformMatrix(), BlitTransformX(), changeBlending(), changeBlendMode(), changeColor(), changeTexturing(), Clear(), ClearRGBA(), disableTexturing(), enableTexturing(), Flip(), flushAndBindFramebuffer(), flushAndBindTexture(), flushAndClearBlitBufferIfCurrentFramebuffer(), flushAndClearBlitBufferIfCurrentTexture(), flushBlitBufferIfCurrentTexture(), FreeTarget(), GenerateMipmaps(), GetPixel(), getRawImageData(), getRawTargetData(), GPU_FlushBlitBuffer(), makeContextCurrent(), MakeCurrent(), prepareToRenderImage(), prepareToRenderShapes(), readTargetPixels(), SetAttributef(), SetAttributefv(), SetAttributei(), SetAttributeiv(), SetAttributeui(), SetAttributeuiv(), SetCamera(), SetClip(), SetLineThickness(), SetShaderImage(), SetUniformf(), SetUniformfv(), SetUniformi(), SetUniformiv(), SetUniformMatrixfv(), SetUniformui(), SetUniformuiv(), SetVirtualResolution(), SetWindowResolution(), TriangleBatch(), UnsetClip(), UnsetVirtualResolution(), UpdateImageBytes(), and UpdateSubImage().
void(* GPU_Renderer::FreeImage)(GPU_Renderer *renderer, GPU_Image *image) |
void(* GPU_Renderer::FreeShader)(GPU_Renderer *renderer, Uint32 shader_object) |
void(* GPU_Renderer::FreeShaderProgram)(GPU_Renderer *renderer, Uint32 program_object) |
Definition at line 650 of file SDL_gpu.h.
Referenced by GPU_FreeShaderProgram().
void(* GPU_Renderer::FreeTarget)(GPU_Renderer *renderer, GPU_Target *target) |
Definition at line 580 of file SDL_gpu.h.
Referenced by FreeImage(), GPU_FreeTarget(), Quit(), and readImagePixels().
void(* GPU_Renderer::GenerateMipmaps)(GPU_Renderer *renderer, GPU_Image *image) |
Definition at line 607 of file SDL_gpu.h.
Referenced by GPU_GenerateMipmaps().
int(* GPU_Renderer::GetAttributeLocation)(GPU_Renderer *renderer, Uint32 program_object, const char *attrib_name) |
Definition at line 671 of file SDL_gpu.h.
Referenced by GPU_GetAttributeLocation(), and LoadShaderBlock().
float(* GPU_Renderer::GetLineThickness)(GPU_Renderer *renderer) |
Definition at line 743 of file SDL_gpu.h.
Referenced by Line(), and Rectangle().
SDL_Color(* GPU_Renderer::GetPixel)(GPU_Renderer *renderer, GPU_Target *target, Sint16 x, Sint16 y) |
const char*(* GPU_Renderer::GetShaderMessage)(GPU_Renderer *renderer) |
Definition at line 668 of file SDL_gpu.h.
Referenced by GPU_GetShaderMessage().
void(* GPU_Renderer::GetUniformfv)(GPU_Renderer *renderer, Uint32 program_object, int location, float *values) |
Definition at line 704 of file SDL_gpu.h.
Referenced by GPU_GetUniformfv(), and GPU_GetUniformMatrixfv().
void(* GPU_Renderer::GetUniformiv)(GPU_Renderer *renderer, Uint32 program_object, int location, int *values) |
Definition at line 686 of file SDL_gpu.h.
Referenced by GPU_GetUniformiv().
int(* GPU_Renderer::GetUniformLocation)(GPU_Renderer *renderer, Uint32 program_object, const char *uniform_name) |
Definition at line 674 of file SDL_gpu.h.
Referenced by GPU_GetUniformLocation(), and LoadShaderBlock().
void(* GPU_Renderer::GetUniformuiv)(GPU_Renderer *renderer, Uint32 program_object, int location, unsigned int *values) |
Definition at line 695 of file SDL_gpu.h.
Referenced by GPU_GetUniformuiv().
GPU_InitFlagEnum GPU_Renderer::GPU_init_flags |
Definition at line 487 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), and Init().
GPU_RendererID GPU_Renderer::id |
Struct identifier of the renderer.
Definition at line 484 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), GPU_AddRenderer(), GPU_CloseCurrentRenderer(), GPU_CreateRenderer_GLES_1(), GPU_CreateRenderer_GLES_2(), GPU_CreateRenderer_OpenGL_1(), GPU_CreateRenderer_OpenGL_1_BASE(), GPU_CreateRenderer_OpenGL_2(), GPU_CreateRenderer_OpenGL_3(), GPU_FreeRenderer(), GPU_GetActiveRendererList(), GPU_InitRendererByID(), and GPU_Quit().
GPU_Target*(* GPU_Renderer::Init)(GPU_Renderer *renderer, GPU_RendererID renderer_request, Uint16 w, Uint16 h, GPU_WindowFlagEnum SDL_flags) |
Definition at line 501 of file SDL_gpu.h.
Referenced by GPU_InitRendererByID().
Uint8(* GPU_Renderer::IsDefaultShaderProgram)(GPU_Renderer *renderer, Uint32 program_object) |
Definition at line 659 of file SDL_gpu.h.
Referenced by GPU_IsDefaultShaderProgram().
Uint8(* GPU_Renderer::IsFeatureEnabled)(GPU_Renderer *renderer, GPU_FeatureEnum feature) |
Definition at line 504 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), and GPU_IsFeatureEnabled().
void(* GPU_Renderer::Line)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
Uint32(* GPU_Renderer::LinkShaderProgram)(GPU_Renderer *renderer, Uint32 program_object) |
Definition at line 641 of file SDL_gpu.h.
Referenced by GPU_LinkShaderProgram(), and LinkShaders().
Uint32(* GPU_Renderer::LinkShaders)(GPU_Renderer *renderer, Uint32 shader_object1, Uint32 shader_object2) |
Definition at line 644 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), and GPU_LinkShaders().
GPU_Image*(* GPU_Renderer::LoadImage)(GPU_Renderer *renderer, const char *filename) |
GPU_ShaderBlock(* GPU_Renderer::LoadShaderBlock)(GPU_Renderer *renderer, Uint32 program_object, const char *position_name, const char *texcoord_name, const char *color_name, const char *modelViewMatrix_name) |
Definition at line 677 of file SDL_gpu.h.
Referenced by GPU_LoadShaderBlock().
GPU_Target*(* GPU_Renderer::LoadTarget)(GPU_Renderer *renderer, GPU_Image *image) |
Definition at line 577 of file SDL_gpu.h.
Referenced by GPU_LoadTarget(), and readImagePixels().
void(* GPU_Renderer::MakeCurrent)(GPU_Renderer *renderer, GPU_Target *target, Uint32 windowID) |
Definition at line 514 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), GPU_MakeCurrent(), and SetAsCurrent().
void(* GPU_Renderer::Pixel)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, SDL_Color color) |
void(* GPU_Renderer::Polygon)(GPU_Renderer *renderer, GPU_Target *target, unsigned int num_vertices, float *vertices, SDL_Color color) |
void(* GPU_Renderer::PolygonFilled)(GPU_Renderer *renderer, GPU_Target *target, unsigned int num_vertices, float *vertices, SDL_Color color) |
void(* GPU_Renderer::Quit)(GPU_Renderer *renderer) |
Clean up the renderer state.
Definition at line 529 of file SDL_gpu.h.
Referenced by GPU_CloseCurrentRenderer(), and GPU_Quit().
void(* GPU_Renderer::Rectangle)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
void(* GPU_Renderer::RectangleFilled)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, SDL_Color color) |
void(* GPU_Renderer::RectangleRound)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float radius, SDL_Color color) |
void(* GPU_Renderer::RectangleRoundFilled)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float radius, SDL_Color color) |
GPU_RendererID GPU_Renderer::requested_id |
Definition at line 485 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow(), and Init().
Uint8(* GPU_Renderer::SaveImage)(GPU_Renderer *renderer, GPU_Image *image, const char *filename) |
GPU_WindowFlagEnum GPU_Renderer::SDL_init_flags |
void(* GPU_Renderer::Sector)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float inner_radius, float outer_radius, float start_angle, float end_angle, SDL_Color color) |
void(* GPU_Renderer::SectorFilled)(GPU_Renderer *renderer, GPU_Target *target, float x, float y, float inner_radius, float outer_radius, float start_angle, float end_angle, SDL_Color color) |
void(* GPU_Renderer::SetAsCurrent)(GPU_Renderer *renderer) |
Sets up this renderer to act as the current renderer. Called automatically by GPU_SetCurrentRenderer().
Definition at line 517 of file SDL_gpu.h.
Referenced by GPU_SetCurrentRenderer().
void(* GPU_Renderer::SetAttributef)(GPU_Renderer *renderer, int location, float value) |
Definition at line 716 of file SDL_gpu.h.
Referenced by GPU_SetAttributef().
void(* GPU_Renderer::SetAttributefv)(GPU_Renderer *renderer, int location, int num_elements, float *value) |
Definition at line 725 of file SDL_gpu.h.
Referenced by GPU_SetAttributefv().
Definition at line 719 of file SDL_gpu.h.
Referenced by GPU_SetAttributei().
void(* GPU_Renderer::SetAttributeiv)(GPU_Renderer *renderer, int location, int num_elements, int *value) |
Definition at line 728 of file SDL_gpu.h.
Referenced by GPU_SetAttributeiv().
void(* GPU_Renderer::SetAttributeSource)(GPU_Renderer *renderer, int num_values, GPU_Attribute source) |
Definition at line 734 of file SDL_gpu.h.
Referenced by GPU_SetAttributeSource().
Definition at line 722 of file SDL_gpu.h.
Referenced by GPU_SetAttributeui().
void(* GPU_Renderer::SetAttributeuiv)(GPU_Renderer *renderer, int location, int num_elements, unsigned int *value) |
Definition at line 731 of file SDL_gpu.h.
Referenced by GPU_SetAttributeuiv().
GPU_Camera(* GPU_Renderer::SetCamera)(GPU_Renderer *renderer, GPU_Target *target, GPU_Camera *cam) |
Definition at line 535 of file SDL_gpu.h.
Referenced by GPU_SetCamera(), and prepareToRenderToTarget().
GPU_Rect(* GPU_Renderer::SetClip)(GPU_Renderer *renderer, GPU_Target *target, Sint16 x, Sint16 y, Uint16 w, Uint16 h) |
Definition at line 610 of file SDL_gpu.h.
Referenced by GPU_SetClip(), and GPU_SetClipRect().
void(* GPU_Renderer::SetImageFilter)(GPU_Renderer *renderer, GPU_Image *image, GPU_FilterEnum filter) |
Definition at line 619 of file SDL_gpu.h.
Referenced by GPU_SetImageFilter().
float(* GPU_Renderer::SetLineThickness)(GPU_Renderer *renderer, float thickness) |
Definition at line 740 of file SDL_gpu.h.
Referenced by CreateTargetFromWindow().
void(* GPU_Renderer::SetShaderBlock)(GPU_Renderer *renderer, GPU_ShaderBlock block) |
Definition at line 680 of file SDL_gpu.h.
Referenced by GPU_SetShaderBlock().
void(* GPU_Renderer::SetShaderImage)(GPU_Renderer *renderer, GPU_Image *image, int location, int image_unit) |
Definition at line 683 of file SDL_gpu.h.
Referenced by GPU_SetShaderImage().
void(* GPU_Renderer::SetUniformf)(GPU_Renderer *renderer, int location, float value) |
Definition at line 707 of file SDL_gpu.h.
Referenced by GPU_SetUniformf().
void(* GPU_Renderer::SetUniformfv)(GPU_Renderer *renderer, int location, int num_elements_per_value, int num_values, float *values) |
Definition at line 710 of file SDL_gpu.h.
Referenced by GPU_SetUniformfv().
Definition at line 689 of file SDL_gpu.h.
Referenced by GPU_SetUniformi().
void(* GPU_Renderer::SetUniformiv)(GPU_Renderer *renderer, int location, int num_elements_per_value, int num_values, int *values) |
Definition at line 692 of file SDL_gpu.h.
Referenced by GPU_SetUniformiv().
void(* GPU_Renderer::SetUniformMatrixfv)(GPU_Renderer *renderer, int location, int num_matrices, int num_rows, int num_columns, Uint8 transpose, float *values) |
Definition at line 713 of file SDL_gpu.h.
Referenced by GPU_SetUniformMatrixfv().
Definition at line 698 of file SDL_gpu.h.
Referenced by GPU_SetUniformui().
void(* GPU_Renderer::SetUniformuiv)(GPU_Renderer *renderer, int location, int num_elements_per_value, int num_values, unsigned int *values) |
Definition at line 701 of file SDL_gpu.h.
Referenced by GPU_SetUniformuiv().
void(* GPU_Renderer::SetVirtualResolution)(GPU_Renderer *renderer, GPU_Target *target, Uint16 w, Uint16 h) |
Definition at line 523 of file SDL_gpu.h.
Referenced by GPU_SetVirtualResolution(), and Init().
Uint8(* GPU_Renderer::SetWindowResolution)(GPU_Renderer *renderer, Uint16 w, Uint16 h) |
Definition at line 520 of file SDL_gpu.h.
Referenced by GPU_SetWindowResolution(), and ToggleFullscreen().
void(* GPU_Renderer::SetWrapMode)(GPU_Renderer *renderer, GPU_Image *image, GPU_WrapEnum wrap_mode_x, GPU_WrapEnum wrap_mode_y) |
Definition at line 622 of file SDL_gpu.h.
Referenced by GPU_SetWrapMode().
GPU_ShaderLanguageEnum GPU_Renderer::shader_language |
Definition at line 489 of file SDL_gpu.h.
Referenced by GPU_CreateRenderer_GLES_1(), GPU_CreateRenderer_GLES_2(), GPU_CreateRenderer_OpenGL_1(), GPU_CreateRenderer_OpenGL_1_BASE(), GPU_CreateRenderer_OpenGL_2(), and GPU_CreateRenderer_OpenGL_3().
int GPU_Renderer::shader_version |
Definition at line 490 of file SDL_gpu.h.
Referenced by GPU_CreateRenderer_GLES_1(), GPU_CreateRenderer_GLES_2(), GPU_CreateRenderer_OpenGL_1(), GPU_CreateRenderer_OpenGL_1_BASE(), GPU_CreateRenderer_OpenGL_2(), and GPU_CreateRenderer_OpenGL_3().
Uint8(* GPU_Renderer::ToggleFullscreen)(GPU_Renderer *renderer, Uint8 use_desktop_resolution) |
Definition at line 532 of file SDL_gpu.h.
Referenced by GPU_ToggleFullscreen().
void(* GPU_Renderer::Tri)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float x3, float y3, SDL_Color color) |
void(* GPU_Renderer::TriangleBatch)(GPU_Renderer *renderer, GPU_Image *image, GPU_Target *target, unsigned short num_vertices, float *values, unsigned int num_indices, unsigned short *indices, GPU_BlitFlagEnum flags) |
Definition at line 604 of file SDL_gpu.h.
Referenced by GPU_TriangleBatch().
void(* GPU_Renderer::TriFilled)(GPU_Renderer *renderer, GPU_Target *target, float x1, float y1, float x2, float y2, float x3, float y3, SDL_Color color) |
void(* GPU_Renderer::UnsetClip)(GPU_Renderer *renderer, GPU_Target *target) |
void(* GPU_Renderer::UnsetVirtualResolution)(GPU_Renderer *renderer, GPU_Target *target) |
Definition at line 526 of file SDL_gpu.h.
Referenced by GPU_UnsetVirtualResolution().
void(* GPU_Renderer::UpdateImage)(GPU_Renderer *renderer, GPU_Image *image, SDL_Surface *surface, const GPU_Rect *surface_rect) |
Definition at line 553 of file SDL_gpu.h.
Referenced by CopyImageFromSurface(), and GPU_UpdateImage().
void(* GPU_Renderer::UpdateImageBytes)(GPU_Renderer *renderer, GPU_Image *image, const GPU_Rect *image_rect, const unsigned char *bytes, int bytes_per_row) |
Definition at line 559 of file SDL_gpu.h.
Referenced by GPU_UpdateImageBytes().
void(* GPU_Renderer::UpdateSubImage)(GPU_Renderer *renderer, GPU_Image *image, const GPU_Rect *image_rect, SDL_Surface *surface, const GPU_Rect *surface_rect) |
Definition at line 556 of file SDL_gpu.h.
Referenced by GPU_UpdateSubImage(), and UpdateImage().