* reduce SDL_RenderSetClipRect as much as possible * added some comments * removing draw_sw usage * fixed import * implemented polygon drawing * supports subimage for sdl texture based images * fixed formatting * removed unused code * cleanup * cleanup * formatted code