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 SDL_RenderClear() as a fast method of clearing the screen to th…
…e drawing color. Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine(). Added API for rectangle drawing (as opposed to filling) Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay. Optimized software line drawing quite a bit. Added support for Wu's anti-aliased line drawing, currently disabled by default.
- Loading branch information
Showing
with
1,628 additions
and 492 deletions.
- +3 −1 include/SDL_compat.h
- +86 −7 include/SDL_surface.h
- +63 −9 include/SDL_video.h
- +642 −210 src/video/SDL_blendline.c
- +208 −41 src/video/SDL_draw.h
- +123 −44 src/video/SDL_drawline.c
- +6 −6 src/video/SDL_drawpoint.c
- +73 −12 src/video/SDL_renderer_gl.c
- +76 −13 src/video/SDL_renderer_sw.c
- +13 −6 src/video/SDL_sysvideo.h
- +135 −19 src/video/SDL_video.c
- +42 −16 src/video/dummy/SDL_nullrender.c
- +3 −2 src/video/ps3/SDL_ps3render.c
- +62 −12 src/video/x11/SDL_x11render.c
- +4 −3 src/video/x11/SDL_x11sym.h
- +1 −1 test/automated/Makefile
- +34 −34 test/automated/render/render.c
- +9 −10 test/automated/surface/surface.c
- +0 −1 test/automated/testsdl.c
- +10 −10 test/testdraw2.c
- +12 −12 test/testintersections.c
- +3 −3 test/testnative.c
- +19 −19 test/testsprite2.c
- +1 −1 test/testspriteminimal.c
Oops, something went wrong.