This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added interfaces for batch drawing of points, lines and rects:
SDL_DrawPoints() SDL_BlendPoints() SDL_BlendLines() SDL_DrawLines() SDL_FillRects() SDL_BlendRects() SDL_RenderPoints() SDL_RenderLines() SDL_RenderRects() Renamed SDL_RenderFill() to SDL_RenderRect()
- Loading branch information
Showing
with
1,192 additions
and 523 deletions.
- +2 −0 include/SDL_compat.h
- +22 −0 include/SDL_rect.h
- +24 −15 include/SDL_surface.h
- +33 −1 include/SDL_video.h
- +89 −10 src/video/SDL_blendline.c
- +98 −10 src/video/SDL_blendpoint.c
- +119 −32 src/video/SDL_blendrect.c
- +3 −3 src/video/SDL_draw.h
- +58 −1 src/video/SDL_drawline.c
- +57 −1 src/video/SDL_drawpoint.c
- +40 −27 src/video/SDL_fillrect.c
- +78 −0 src/video/SDL_rect.c
- +66 −38 src/video/SDL_renderer_gl.c
- +43 −41 src/video/SDL_renderer_gles.c
- +135 −100 src/video/SDL_renderer_sw.c
- +6 −4 src/video/SDL_sysvideo.h
- +68 −32 src/video/SDL_video.c
- +39 −40 src/video/dummy/SDL_nullrender.c
- +98 −88 src/video/win32/SDL_d3drender.c
- +82 −48 src/video/win32/SDL_gdirender.c
- +12 −12 test/automated/render/render.c
- +4 −4 test/testdraw2.c
- +5 −5 test/testintersections.c
- +3 −3 test/testnative.c
- +7 −7 test/testsprite2.c
- +1 −1 test/testspriteminimal.c
Oops, something went wrong.