Commit History

Autor SHA1 Mensaxe Data
  Eddy Jansson 9e5cbf034a Disallow non-positive allocation. %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga b9fe6ba0e7 Fixed compile warnings %!s(int64=4) %!d(string=hai) anos
  Sylvain 1ede941f5c SDL_render.c: internally change viewport/cliprect type from SDL_FRect to SDL_DRect (double precision). (see bug #5547) %!s(int64=4) %!d(string=hai) anos
  pionere 0adb67017b avoid NullPointer in SDL_GetRenderTarget %!s(int64=4) %!d(string=hai) anos
  Ethan Lee cb81630816 render: Update the size/scale/viewport on moves, in addition to resizes. %!s(int64=4) %!d(string=hai) anos
  Cameron Cawley 57118fb7de render: Fix setting the scale mode for non-native textures %!s(int64=4) %!d(string=hai) anos
  Mathieu Eyraud 1db47d468a Fix potential memory leak in QueueCmdFillRects %!s(int64=4) %!d(string=hai) anos
  Ryan C. Gordon 4fe7b2cbd1 static analysis: Fixed several complaints from codechecker. %!s(int64=4) %!d(string=hai) anos
  Sylvain Becker c23a7ad38a Add SDL_RenderGetWindow() API to get the window associated with a renderer (#5440) %!s(int64=4) %!d(string=hai) anos
  Sylvain 83df4a354e SDL_render.c: remove unsused case, since renderer target has been forced to NULL previously (see bug #4213) %!s(int64=4) %!d(string=hai) anos
  Sylvain 9dc201d448 Fixed bug #2962 - when SDL_RenderReadPixels format = 0, used format of the target texture %!s(int64=4) %!d(string=hai) anos
  Ryan C. Gordon d81fee7623 SDL_Rect: Added floating point versions of all the rectangle APIs. %!s(int64=4) %!d(string=hai) anos
  Sylvain 18b76fcc5d Fixed bug #3070 - SDL_RenderCopyEx rotation and global scaling around the wrong way (software renderer) %!s(int64=4) %!d(string=hai) anos
  pionere 6d5592a201 minor cleanup of SDL_CreateRenderer %!s(int64=4) %!d(string=hai) anos
  pionere ebdd536676 use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga a29d3acc9e Updated Bresenham line drawing to match software renderer output %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 1f32dd8edc Fixed overdraw with duplicate points, fixed not drawing single point lines %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 3b083b9911 Fixed compile warning %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 4ef2529bf9 More efficient calculation of render_count %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 5346c93b62 Fixed assertion on number of points rendered %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 4b71962031 Prevent overdraw with connected line segments %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 09ece861d1 Added the hint SDL_HINT_RENDER_LINE_METHOD to select the line rendering method %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga c1e6079836 As an optimization, draw horizontal and vertical lines using rectangles %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 3da7c6305a Assert that we have drawn the expected number of points %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 9f56faeedc Added line drawing using Bresenham's line algorithm (thanks @rtrussell!) %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga fe3a33a092 Use RenderGeometry for drawing lines at all scales %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 1694782b2a Remove redundant work when render scale is 1.0 %!s(int64=4) %!d(string=hai) anos
  Sam Lantinga 2026a78dc2 Don't flush in RenderDraw*WithRects() %!s(int64=4) %!d(string=hai) anos
  Ryan C. Gordon cc2013378d render: Fixed some compiler warnings. %!s(int64=4) %!d(string=hai) anos
  Sylvain 8ea8b2e697 Use QueueDrawLine if provided, otherwise use RenderGeometry %!s(int64=4) %!d(string=hai) anos