Go to the documentation of this file.
21 #include "../SDL_internal.h"
23 #ifndef SDL_sysrender_h_
24 #define SDL_sysrender_h_
136 const Uint8 *Yplane,
int Ypitch,
137 const Uint8 *Uplane,
int Upitch,
138 const Uint8 *Vplane,
int Vpitch);
SDL_RenderDriver DirectFB_RenderDriver
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
GLfixed GLfixed GLint GLint GLfixed points
int(* GL_UnbindTexture)(SDL_Renderer *renderer, SDL_Texture *texture)
SDL_Rect clip_rect_backup
static SDL_BlendMode blendMode
A collection of pixels used in software blitting.
Uint32 render_command_generation
int(* QueueCopyEx)(SDL_Renderer *renderer, SDL_RenderCommand *cmd, SDL_Texture *texture, const SDL_Rect *srcquad, const SDL_FRect *dstrect, const double angle, const SDL_FPoint *center, const SDL_RendererFlip flip)
SDL_RenderDriver GLES2_RenderDriver
int(* RunCommandQueue)(SDL_Renderer *renderer, SDL_RenderCommand *cmd, void *vertices, size_t vertsize)
int(* SetRenderTarget)(SDL_Renderer *renderer, SDL_Texture *texture)
GLuint GLuint GLsizei count
struct SDL_RenderCommand * next
SDL_BlendOperation
The blend operation used when combining source and destination pixel components.
SDL_Rect last_queued_viewport
void(* WindowEvent)(SDL_Renderer *renderer, const SDL_WindowEvent *event)
SDL_BlendFactor
The normalized factor used to multiply pixel components.
SDL_RenderDriver GLES_RenderDriver
GLfloat GLfloat GLfloat GLfloat h
@ SDL_RENDERCMD_SETCLIPRECT
Information on the capabilities of a render driver or context.
The type used to identify a window.
SDL_BlendFactor SDL_GetBlendModeDstAlphaFactor(SDL_BlendMode blendMode)
SDL_RenderDriver D3D11_RenderDriver
int(* QueueSetDrawColor)(SDL_Renderer *renderer, SDL_RenderCommand *cmd)
The structure that defines a point (floating point)
struct SDL_RenderCommand::@23::@27 color
SDL_bool last_queued_cliprect_enabled
EGLSurface EGLNativeWindowType * window
void(* SetTextureScaleMode)(SDL_Renderer *renderer, SDL_Texture *texture, SDL_ScaleMode scaleMode)
SDL_RenderDriver D3D_RenderDriver
SDL_RenderCommand * render_commands_tail
SDL_BlendOperation SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode)
SDL_BlendFactor SDL_GetBlendModeDstColorFactor(SDL_BlendMode blendMode)
SDL_bool(* SupportsBlendMode)(SDL_Renderer *renderer, SDL_BlendMode blendMode)
@ SDL_RENDERCMD_SETVIEWPORT
int(* QueueDrawLines)(SDL_Renderer *renderer, SDL_RenderCommand *cmd, const SDL_FPoint *points, int count)
void * SDL_AllocateRenderVertices(SDL_Renderer *renderer, const size_t numbytes, const size_t alignment, size_t *offset)
SDL_ScaleMode
The scaling mode for a texture.
@ SDL_RENDERCMD_DRAW_POINTS
SDL_RenderCommand * render_commands
SDL_Rect last_queued_cliprect
int(* GL_BindTexture)(SDL_Renderer *renderer, SDL_Texture *texture, float *texw, float *texh)
size_t vertex_data_allocation
SDL_RenderCommandType command
int(* QueueSetViewport)(SDL_Renderer *renderer, SDL_RenderCommand *cmd)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
@ SDL_RENDERCMD_DRAW_LINES
int(* GetOutputSize)(SDL_Renderer *renderer, int *w, int *h)
int(* CreateTexture)(SDL_Renderer *renderer, SDL_Texture *texture)
union SDL_RenderCommand::@23 data
@ SDL_RENDERCMD_FILL_RECTS
void(* DestroyRenderer)(SDL_Renderer *renderer)
int(* LockTexture)(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_Rect *rect, void **pixels, int *pitch)
SDL_Surface * locked_surface
int(* RenderReadPixels)(SDL_Renderer *renderer, const SDL_Rect *rect, Uint32 format, void *pixels, int pitch)
SDL_RenderDriver SW_RenderDriver
static SDL_Renderer * renderer
SDL_BlendOperation SDL_GetBlendModeColorOperation(SDL_BlendMode blendMode)
SDL_BlendFactor SDL_GetBlendModeSrcAlphaFactor(SDL_BlendMode blendMode)
struct SDL_RenderCommand::@23::@25 cliprect
void(* RenderPresent)(SDL_Renderer *renderer)
A rectangle, with the origin at the upper left (integer).
SDL_RenderDriver METAL_RenderDriver
int(* QueueFillRects)(SDL_Renderer *renderer, SDL_RenderCommand *cmd, const SDL_FRect *rects, int count)
int(* UpdateTexture)(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_Rect *rect, const void *pixels, int pitch)
SDL_RendererFlip
Flip constants for SDL_RenderCopyEx.
Window state change event data (event.window.*)
A rectangle, with the origin at the upper left (floating point).
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst numbytes
SDL_bool clipping_enabled
Uint32 last_command_generation
int(* QueueDrawPoints)(SDL_Renderer *renderer, SDL_RenderCommand *cmd, const SDL_FPoint *points, int count)
SDL_RenderCommand * render_commands_pool
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 void
@ SDL_RENDERCMD_SETDRAWCOLOR
int(* QueueCopy)(SDL_Renderer *renderer, SDL_RenderCommand *cmd, SDL_Texture *texture, const SDL_Rect *srcrect, const SDL_FRect *dstrect)
GLenum GLenum GLuint texture
SDL_BlendFactor SDL_GetBlendModeSrcColorFactor(SDL_BlendMode blendMode)
struct SDL_RenderCommand::@23::@24 viewport
EGLSurface EGLint * rects
SDL_RenderDriver GL_RenderDriver
struct SDL_RenderCommand::@23::@26 draw
SDL_bool clipping_enabled_backup
SDL_RenderDriver PSP_RenderDriver
SDL_BlendMode
The blend mode used in SDL_RenderCopy() and drawing operations.
void(* UnlockTexture)(SDL_Renderer *renderer, SDL_Texture *texture)
void(* DestroyTexture)(SDL_Renderer *renderer, SDL_Texture *texture)
int(* UpdateTextureYUV)(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_Rect *rect, const Uint8 *Yplane, int Ypitch, const Uint8 *Uplane, int Upitch, const Uint8 *Vplane, int Vpitch)
GLubyte GLubyte GLubyte GLubyte w