#include <SDL_gpu_RendererImpl.h>
Public Member Functions | |
GPU_Target *SDLCALL * | Init (GPU_Renderer *renderer, GPU_RendererID renderer_request, Uint16 w, Uint16 h, GPU_WindowFlagEnum SDL_flags) |
GPU_Target *SDLCALL * | CreateTargetFromWindow (GPU_Renderer *renderer, Uint32 windowID, GPU_Target *target) |
GPU_Target *SDLCALL * | CreateAliasTarget (GPU_Renderer *renderer, GPU_Target *target) |
void (SDLCALL *MakeCurrent)(GPU_Renderer *renderer | |
void (SDLCALL *SetAsCurrent)(GPU_Renderer *renderer) | |
void (SDLCALL *ResetRendererState)(GPU_Renderer *renderer) | |
GPU_bool (SDLCALL *SetWindowResolution)(GPU_Renderer *renderer | |
void (SDLCALL *SetVirtualResolution)(GPU_Renderer *renderer | |
void (SDLCALL *UnsetVirtualResolution)(GPU_Renderer *renderer | |
void (SDLCALL *Quit)(GPU_Renderer *renderer) | |
GPU_bool (SDLCALL *SetFullscreen)(GPU_Renderer *renderer | |
GPU_Camera (SDLCALL *SetCamera)(GPU_Renderer *renderer | |
GPU_Image *SDLCALL * | CreateImage (GPU_Renderer *renderer, Uint16 w, Uint16 h, GPU_FormatEnum format) |
GPU_Image *SDLCALL * | CreateImageUsingTexture (GPU_Renderer *renderer, Uint32 handle, GPU_bool take_ownership) |
GPU_Image *SDLCALL * | CreateAliasImage (GPU_Renderer *renderer, GPU_Image *image) |
GPU_bool (SDLCALL *SaveImage)(GPU_Renderer *renderer | |
GPU_Image *SDLCALL * | CopyImage (GPU_Renderer *renderer, GPU_Image *image) |
void (SDLCALL *UpdateImage)(GPU_Renderer *renderer | |
void (SDLCALL *UpdateImageBytes)(GPU_Renderer *renderer | |
GPU_bool (SDLCALL *ReplaceImage)(GPU_Renderer *renderer | |
GPU_Image *SDLCALL * | CopyImageFromSurface (GPU_Renderer *renderer, SDL_Surface *surface) |
GPU_Image *SDLCALL * | CopyImageFromTarget (GPU_Renderer *renderer, GPU_Target *target) |
SDL_Surface *SDLCALL * | CopySurfaceFromTarget (GPU_Renderer *renderer, GPU_Target *target) |
SDL_Surface *SDLCALL * | CopySurfaceFromImage (GPU_Renderer *renderer, GPU_Image *image) |
void (SDLCALL *FreeImage)(GPU_Renderer *renderer | |
GPU_Target *SDLCALL * | LoadTarget (GPU_Renderer *renderer, GPU_Image *image) |
void (SDLCALL *FreeTarget)(GPU_Renderer *renderer | |
void (SDLCALL *Blit)(GPU_Renderer *renderer | |
void (SDLCALL *BlitRotate)(GPU_Renderer *renderer | |
void (SDLCALL *BlitScale)(GPU_Renderer *renderer | |
void (SDLCALL *BlitTransform)(GPU_Renderer *renderer | |
void (SDLCALL *BlitTransformX)(GPU_Renderer *renderer | |
void (SDLCALL *TriangleBatchX)(GPU_Renderer *renderer | |
void (SDLCALL *GenerateMipmaps)(GPU_Renderer *renderer | |
GPU_Rect (SDLCALL *SetClip)(GPU_Renderer *renderer | |
void (SDLCALL *UnsetClip)(GPU_Renderer *renderer | |
SDL_Color (SDLCALL *GetPixel)(GPU_Renderer *renderer | |
void (SDLCALL *SetImageFilter)(GPU_Renderer *renderer | |
void (SDLCALL *SetWrapMode)(GPU_Renderer *renderer | |
void (SDLCALL *ClearRGBA)(GPU_Renderer *renderer | |
void (SDLCALL *FlushBlitBuffer)(GPU_Renderer *renderer) | |
void (SDLCALL *Flip)(GPU_Renderer *renderer | |
Uint32 (SDLCALL *CreateShaderProgram)(GPU_Renderer *renderer) | |
void (SDLCALL *FreeShaderProgram)(GPU_Renderer *renderer | |
Uint32 (SDLCALL *CompileShader_RW)(GPU_Renderer *renderer | |
Uint32 (SDLCALL *CompileShader)(GPU_Renderer *renderer | |
void (SDLCALL *FreeShader)(GPU_Renderer *renderer | |
void (SDLCALL *AttachShader)(GPU_Renderer *renderer | |
void (SDLCALL *DetachShader)(GPU_Renderer *renderer | |
GPU_bool (SDLCALL *LinkShaderProgram)(GPU_Renderer *renderer | |
void (SDLCALL *ActivateShaderProgram)(GPU_Renderer *renderer | |
void (SDLCALL *DeactivateShaderProgram)(GPU_Renderer *renderer) | |
const char *SDLCALL * | GetShaderMessage (GPU_Renderer *renderer) |
int (SDLCALL *GetAttributeLocation)(GPU_Renderer *renderer | |
int (SDLCALL *GetUniformLocation)(GPU_Renderer *renderer | |
GPU_ShaderBlock (SDLCALL *LoadShaderBlock)(GPU_Renderer *renderer | |
void (SDLCALL *SetShaderBlock)(GPU_Renderer *renderer | |
void (SDLCALL *SetShaderImage)(GPU_Renderer *renderer | |
void (SDLCALL *GetUniformiv)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformi)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformiv)(GPU_Renderer *renderer | |
void (SDLCALL *GetUniformuiv)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformui)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformuiv)(GPU_Renderer *renderer | |
void (SDLCALL *GetUniformfv)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformf)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformfv)(GPU_Renderer *renderer | |
void (SDLCALL *SetUniformMatrixfv)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributef)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributei)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributeui)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributefv)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributeiv)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributeuiv)(GPU_Renderer *renderer | |
void (SDLCALL *SetAttributeSource)(GPU_Renderer *renderer | |
float (SDLCALL *SetLineThickness)(GPU_Renderer *renderer | |
float (SDLCALL *GetLineThickness)(GPU_Renderer *renderer) | |
void (SDLCALL *Pixel)(GPU_Renderer *renderer | |
void (SDLCALL *Line)(GPU_Renderer *renderer | |
void (SDLCALL *Arc)(GPU_Renderer *renderer | |
void (SDLCALL *ArcFilled)(GPU_Renderer *renderer | |
void (SDLCALL *Circle)(GPU_Renderer *renderer | |
void (SDLCALL *CircleFilled)(GPU_Renderer *renderer | |
void (SDLCALL *Ellipse)(GPU_Renderer *renderer | |
void (SDLCALL *EllipseFilled)(GPU_Renderer *renderer | |
void (SDLCALL *Sector)(GPU_Renderer *renderer | |
void (SDLCALL *SectorFilled)(GPU_Renderer *renderer | |
void (SDLCALL *Tri)(GPU_Renderer *renderer | |
void (SDLCALL *TriFilled)(GPU_Renderer *renderer | |
void (SDLCALL *Rectangle)(GPU_Renderer *renderer | |
void (SDLCALL *RectangleFilled)(GPU_Renderer *renderer | |
void (SDLCALL *RectangleRound)(GPU_Renderer *renderer | |
void (SDLCALL *RectangleRoundFilled)(GPU_Renderer *renderer | |
void (SDLCALL *Polygon)(GPU_Renderer *renderer | |
void (SDLCALL *PolygonFilled)(GPU_Renderer *renderer | |
Private implementation of renderer members.
GPU_Image* SDLCALL* GPU_RendererImpl::CopyImage | ( | GPU_Renderer * | renderer, |
GPU_Image * | image | ||
) |
GPU_Image* SDLCALL* GPU_RendererImpl::CopyImageFromSurface | ( | GPU_Renderer * | renderer, |
SDL_Surface * | surface | ||
) |
GPU_Image* SDLCALL* GPU_RendererImpl::CopyImageFromTarget | ( | GPU_Renderer * | renderer, |
GPU_Target * | target | ||
) |
SDL_Surface* SDLCALL* GPU_RendererImpl::CopySurfaceFromImage | ( | GPU_Renderer * | renderer, |
GPU_Image * | image | ||
) |
SDL_Surface* SDLCALL* GPU_RendererImpl::CopySurfaceFromTarget | ( | GPU_Renderer * | renderer, |
GPU_Target * | target | ||
) |
GPU_Image* SDLCALL* GPU_RendererImpl::CreateAliasImage | ( | GPU_Renderer * | renderer, |
GPU_Image * | image | ||
) |
GPU_Target* SDLCALL* GPU_RendererImpl::CreateAliasTarget | ( | GPU_Renderer * | renderer, |
GPU_Target * | target | ||
) |
GPU_Image* SDLCALL* GPU_RendererImpl::CreateImage | ( | GPU_Renderer * | renderer, |
Uint16 | w, | ||
Uint16 | h, | ||
GPU_FormatEnum | format | ||
) |
GPU_Image* SDLCALL* GPU_RendererImpl::CreateImageUsingTexture | ( | GPU_Renderer * | renderer, |
Uint32 | handle, | ||
GPU_bool | take_ownership | ||
) |
GPU_Target* SDLCALL* GPU_RendererImpl::CreateTargetFromWindow | ( | GPU_Renderer * | renderer, |
Uint32 | windowID, | ||
GPU_Target * | target | ||
) |
GPU_RendererImpl::float | ( | SDLCALL * | SetLineThickness | ) |
GPU_RendererImpl::float | ( | SDLCALL * | GetLineThickness | ) |
const char* SDLCALL* GPU_RendererImpl::GetShaderMessage | ( | GPU_Renderer * | renderer | ) |
GPU_RendererImpl::GPU_bool | ( | SDLCALL * | SetWindowResolution | ) |
GPU_RendererImpl::GPU_bool | ( | SDLCALL * | SetFullscreen | ) |
GPU_RendererImpl::GPU_bool | ( | SDLCALL * | SaveImage | ) |
GPU_RendererImpl::GPU_bool | ( | SDLCALL * | ReplaceImage | ) |
GPU_RendererImpl::GPU_bool | ( | SDLCALL * | LinkShaderProgram | ) |
GPU_RendererImpl::GPU_Camera | ( | SDLCALL * | SetCamera | ) |
GPU_RendererImpl::GPU_Rect | ( | SDLCALL * | SetClip | ) |
GPU_RendererImpl::GPU_ShaderBlock | ( | SDLCALL * | LoadShaderBlock | ) |
GPU_Target* SDLCALL* GPU_RendererImpl::Init | ( | GPU_Renderer * | renderer, |
GPU_RendererID | renderer_request, | ||
Uint16 | w, | ||
Uint16 | h, | ||
GPU_WindowFlagEnum | SDL_flags | ||
) |
GPU_RendererImpl::int | ( | SDLCALL * | GetAttributeLocation | ) |
GPU_RendererImpl::int | ( | SDLCALL * | GetUniformLocation | ) |
GPU_Target* SDLCALL* GPU_RendererImpl::LoadTarget | ( | GPU_Renderer * | renderer, |
GPU_Image * | image | ||
) |
GPU_RendererImpl::SDL_Color | ( | SDLCALL * | GetPixel | ) |
GPU_RendererImpl::Uint32 | ( | SDLCALL * | CreateShaderProgram | ) |
GPU_RendererImpl::Uint32 | ( | SDLCALL * | CompileShader_RW | ) |
GPU_RendererImpl::Uint32 | ( | SDLCALL * | CompileShader | ) |
GPU_RendererImpl::void | ( | SDLCALL * | MakeCurrent | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAsCurrent | ) |
Sets up this renderer to act as the current renderer. Called automatically by GPU_SetCurrentRenderer().
GPU_RendererImpl::void | ( | SDLCALL * | ResetRendererState | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetVirtualResolution | ) |
GPU_RendererImpl::void | ( | SDLCALL * | UnsetVirtualResolution | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Quit | ) |
Clean up the renderer state.
GPU_RendererImpl::void | ( | SDLCALL * | UpdateImage | ) |
GPU_RendererImpl::void | ( | SDLCALL * | UpdateImageBytes | ) |
GPU_RendererImpl::void | ( | SDLCALL * | FreeImage | ) |
GPU_RendererImpl::void | ( | SDLCALL * | FreeTarget | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Blit | ) |
GPU_RendererImpl::void | ( | SDLCALL * | BlitRotate | ) |
GPU_RendererImpl::void | ( | SDLCALL * | BlitScale | ) |
GPU_RendererImpl::void | ( | SDLCALL * | BlitTransform | ) |
GPU_RendererImpl::void | ( | SDLCALL * | BlitTransformX | ) |
GPU_RendererImpl::void | ( | SDLCALL * | TriangleBatchX | ) |
GPU_RendererImpl::void | ( | SDLCALL * | GenerateMipmaps | ) |
GPU_RendererImpl::void | ( | SDLCALL * | UnsetClip | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetImageFilter | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetWrapMode | ) |
GPU_RendererImpl::void | ( | SDLCALL * | ClearRGBA | ) |
GPU_RendererImpl::void | ( | SDLCALL * | FlushBlitBuffer | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Flip | ) |
GPU_RendererImpl::void | ( | SDLCALL * | FreeShaderProgram | ) |
GPU_RendererImpl::void | ( | SDLCALL * | FreeShader | ) |
GPU_RendererImpl::void | ( | SDLCALL * | AttachShader | ) |
GPU_RendererImpl::void | ( | SDLCALL * | DetachShader | ) |
GPU_RendererImpl::void | ( | SDLCALL * | ActivateShaderProgram | ) |
GPU_RendererImpl::void | ( | SDLCALL * | DeactivateShaderProgram | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetShaderBlock | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetShaderImage | ) |
GPU_RendererImpl::void | ( | SDLCALL * | GetUniformiv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformi | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformiv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | GetUniformuiv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformui | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformuiv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | GetUniformfv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformf | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformfv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetUniformMatrixfv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributef | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributei | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributeui | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributefv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributeiv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributeuiv | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SetAttributeSource | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Pixel | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Line | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Arc | ) |
GPU_RendererImpl::void | ( | SDLCALL * | ArcFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Circle | ) |
GPU_RendererImpl::void | ( | SDLCALL * | CircleFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Ellipse | ) |
GPU_RendererImpl::void | ( | SDLCALL * | EllipseFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Sector | ) |
GPU_RendererImpl::void | ( | SDLCALL * | SectorFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Tri | ) |
GPU_RendererImpl::void | ( | SDLCALL * | TriFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Rectangle | ) |
GPU_RendererImpl::void | ( | SDLCALL * | RectangleFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | RectangleRound | ) |
GPU_RendererImpl::void | ( | SDLCALL * | RectangleRoundFilled | ) |
GPU_RendererImpl::void | ( | SDLCALL * | Polygon | ) |
GPU_RendererImpl::void | ( | SDLCALL * | PolygonFilled | ) |