Commit History

Author SHA1 Message Date
  Sam Lantinga 09ece861d1 Added the hint SDL_HINT_RENDER_LINE_METHOD to select the line rendering method 4 years ago
  Sam Lantinga c1e6079836 As an optimization, draw horizontal and vertical lines using rectangles 4 years ago
  Sam Lantinga 3da7c6305a Assert that we have drawn the expected number of points 4 years ago
  Sam Lantinga 9f56faeedc Added line drawing using Bresenham's line algorithm (thanks @rtrussell!) 4 years ago
  Sam Lantinga fe3a33a092 Use RenderGeometry for drawing lines at all scales 4 years ago
  Sam Lantinga 1694782b2a Remove redundant work when render scale is 1.0 4 years ago
  Sam Lantinga 2026a78dc2 Don't flush in RenderDraw*WithRects() 4 years ago
  Ryan C. Gordon cc2013378d render: Fixed some compiler warnings. 4 years ago
  Sylvain 8ea8b2e697 Use QueueDrawLine if provided, otherwise use RenderGeometry 4 years ago
  Sylvain Becker c498727471 render: Use RenderGeometry to draw lines 4 years ago
  Sam Lantinga 120c76c84b Updated copyright for 2022 4 years ago
  Sylvain 3d5fcb5da6 Fix warning 4 years ago
  Sylvain 4342e6bd21 SDL_render.c: lighten the cast syntax 4 years ago
  Alex Szpakowski 3a5e148b13 Renderer backends use SDL_Color instead of int for geometry colors. 4 years ago
  Sylvain b7885abc44 Fixed bug #5087: SDL_RenderGeometryRaw() passes colors as int* instead of SDL_Color* 4 years ago
  Sylvain 8927d73b1c RenderGeometry: simplify casting (Thanks Daniel Gibson) 4 years ago
  Sylvain 3e43d6e34b SDL_RenderGeometry: remove some warning "dereferencing type-punned pointer might break strict-aliasing" 4 years ago
  Sylvain d09f80ef18 SDL_DrawPointsF: fix error message typo 4 years ago
  Sylvain 6dafc85017 SDL_DrawLines: minor simpification: 4 years ago
  Sylvain a0818a63e3 Fixed bug #5071 - Float conversion warnings in SDL_render.c (see also #5003) 4 years ago
  Sylvain e14d10263c Change viewport and cliprect to float version: from SDL_Rect to SDL_FRect 4 years ago
  Ozkan Sezer e18be04bc6 Fixed undefined behavior in QueueCmdSetDrawColor() 4 years ago
  Sylvain 161dd83c9a Don´t use "trunc" as var name, since it's also a function 4 years ago
  Sylvain 49369142bd Fixed bug #4625: with integer scale, viewport (as reported by SDL_RenderGetViewport) becomes -2147483648x-2147483648 4 years ago
  Sylvain 70c8d20a46 Revert previous commit a50ca98e2b9ca10368b62e93b6a0977dc68fd584 (see bug #4625) 4 years ago
  Sylvain a50ca98e2b Fixed bug #4625 - SDL_RenderSetLogicalSize issues 4 years ago
  Sam Lantinga 6c4b4ee7a6 Don't assert on API parameters 4 years ago
  Eric Wasylishen 0d98793693 testwm2: Fix video modes menu hit detection when highdpi or logical size used (#4936) 4 years ago
  Sylvain 4960cc3dcb Fixed a few warnings 4 years ago
  Sylvain b793394590 SDL_Renderer: make clear that we use render geometry for fillrect/copy/copyex when there is no specific back-end implementation (currently software, PSP, directfb) 4 years ago