Commit Graph

  • 9f1e609aa0 Document SDL_HINT_RENDER_LINE_METHOD in the release notes Sam Lantinga 2022-01-08 12:42:36 -08:00
  • 4ef2529bf9 More efficient calculation of render_count Sam Lantinga 2022-01-08 12:37:57 -08:00
  • 5346c93b62 Fixed assertion on number of points rendered Sam Lantinga 2022-01-08 12:28:43 -08:00
  • 4b71962031 Prevent overdraw with connected line segments Sam Lantinga 2022-01-08 12:02:08 -08:00
  • 63d10a0ac2 updates to config.guess and config.sub from mainstream. Ozkan Sezer 2022-01-08 23:00:32 +03:00
  • 09ece861d1 Added the hint SDL_HINT_RENDER_LINE_METHOD to select the line rendering method Sam Lantinga 2022-01-08 11:36:29 -08:00
  • 836a4ec7b1 updates to os/2 build Ozkan Sezer 2022-01-08 22:35:02 +03:00
  • c1e6079836 As an optimization, draw horizontal and vertical lines using rectangles Sam Lantinga 2022-01-08 11:09:11 -08:00
  • 3da7c6305a Assert that we have drawn the expected number of points Sam Lantinga 2022-01-08 11:07:03 -08:00
  • 9f56faeedc Added line drawing using Bresenham's line algorithm (thanks @rtrussell!) Sam Lantinga 2022-01-08 10:59:31 -08:00
  • fe3a33a092 Use RenderGeometry for drawing lines at all scales Sam Lantinga 2022-01-08 10:10:18 -08:00
  • 0696fc0134 cmake: Split SDL2-static and SDL2main into their own target exports Neal Gompa 2022-01-07 14:30:26 -05:00
  • 1694782b2a Remove redundant work when render scale is 1.0 Sam Lantinga 2022-01-08 09:32:23 -08:00
  • 2026a78dc2 Don't flush in RenderDraw*WithRects() Sam Lantinga 2022-01-08 09:23:58 -08:00
  • 18e4d9fed1 Re-enable line drawing path in render drivers Sam Lantinga 2022-01-08 09:02:25 -08:00
  • dca281e810 Fixed getting different results for SDL_PollEvent(NULL) and SDL_PollEvent(&event) Sam Lantinga 2022-01-08 08:49:34 -08:00
  • 93cab32db3 minor update to test/Makefile.os2 Ozkan Sezer 2022-01-08 14:40:20 +03:00
  • 4472b83129 PSP_RunCommandQueue: fix argument to PSP_SetBlendState() Ozkan Sezer 2022-01-08 11:56:56 +03:00
  • df1474b46e psp/SDL_sysfilesystem.c: fixed a minor compiler warning. Ozkan Sezer 2022-01-08 11:55:10 +03:00
  • 21914b4e2f updated Makefile.psp and SDL_config_psp.h Ozkan Sezer 2022-01-08 11:55:10 +03:00
  • f62b807174 wikiheaders.pl: Put the manpages in man/man3 Ryan C. Gordon 2022-01-07 21:31:38 -05:00
  • 9294634840 Updated to version 2.0.20 for release Sam Lantinga 2022-01-07 18:28:25 -08:00
  • cc2013378d render: Fixed some compiler warnings. Ryan C. Gordon 2022-01-07 20:20:57 -05:00
  • 289c3fbb64 Revert "We only need to add the sentinel at the top of SDL_WaitEventTimeout()" Sam Lantinga 2022-01-07 17:07:22 -08:00
  • 1085c317a5 Use the requested cursor size instead of the default cursor size Sam Lantinga 2022-01-07 16:43:53 -08:00
  • 6d3b5d66cd psp: draw lines with RenderGeometry, same as with the other renderers. Ryan C. Gordon 2022-01-07 18:18:53 -05:00
  • 9cb2c549fa Remove QueueDrawLines from D3D, D3D11 Sylvain 2022-01-07 22:43:30 +01:00
  • b88b6b3c23 Remove QueueDrawLines from METAL Sylvain 2022-01-07 22:43:12 +01:00
  • 9aac55317d Remove QueueDrawLines from GL, GLES, GLES2 Sylvain 2022-01-07 22:42:52 +01:00
  • 8ea8b2e697 Use QueueDrawLine if provided, otherwise use RenderGeometry Sylvain 2022-01-07 22:42:13 +01:00
  • c498727471 render: Use RenderGeometry to draw lines Sylvain Becker 2022-01-07 22:14:28 +01:00
  • 4b38d4c96b Leave the Metal view active on the window when recreating the Metal renderer Sam Lantinga 2022-01-07 12:37:28 -08:00
  • 88ac517df0 opengles2: Fix point drawing. Ryan C. Gordon 2022-01-07 15:03:47 -05:00
  • 957c48b4c7 Fixed detecting focus change to child dialogs Sam Lantinga 2022-01-07 10:58:04 -08:00
  • c477768e6f We only need to add the sentinel at the top of SDL_WaitEventTimeout() Sam Lantinga 2022-01-06 18:58:30 -08:00
  • e9134b045a events: Only add sentinels for pumping done inside SDL_WaitEventTimeout() Cameron Gutman 2022-01-06 19:38:10 -06:00
  • 954858846d Move special sentinel handling inside SDL_PeepEvents() Sam Lantinga 2022-01-06 13:58:39 -08:00
  • 2592e6219b Clarify that timeout == 0 is handled at the top of SDL_WaitEventTimeout() Sam Lantinga 2022-01-06 13:30:26 -08:00
  • 8ff2166855 Only return from SDL_PollEvent() if the last sentinel is consumed Sam Lantinga 2022-01-06 12:56:07 -08:00
  • c9ff90b949 Clarify comment Sam Lantinga 2022-01-06 12:03:09 -08:00
  • 31f8c3ef44 Fixed event pump starvation if the application frequently pushes its own events Sam Lantinga 2022-01-06 11:27:44 -08:00
  • e0c5399119 Don't make psp eboot for testoffscreen Wouter Wijsman 2022-01-06 22:29:23 +01:00
  • 5d3f6b0215 wikiheaders.pl: Added support for export to Unix manpages. Ryan C. Gordon 2022-01-06 15:37:05 -05:00
  • 75ac944b9c check for tpcshrd.h and define HAVE_TPCSHRD_H if it's available. Ozkan Sezer 2022-01-06 22:24:00 +03:00
  • 515b5f2a39 Fix build errors in PSP port Wouter Wijsman 2021-12-22 12:04:10 +01:00
  • 34e34ad5a5 Remove debug code from PSP renderer Wouter Wijsman 2021-12-22 11:43:07 +01:00
  • 520c89a00a cleaning stdgregwar 2021-01-19 20:11:36 +01:00
  • 09f4711f40 Fix LRU when destroying texture. stdgregwar 2021-01-09 12:52:55 +01:00
  • c3ec62d6a6 PSP lazier blend states, display mode report with 16bit option stdgregwar 2021-01-09 11:25:39 +01:00
  • 0f5368fe11 PSP cached blending and texturing state, ABGR1555 stencil hack stdgregwar 2021-01-09 10:33:38 +01:00
  • fe405eb27b fixed LRU cache code stdgregwar 2020-12-28 14:00:53 +01:00
  • c1f152292b Spill render targets to ram on PSP stdgregwar 2020-12-27 11:43:22 +01:00
  • 77d874e3c0 Attempt to make render to texture work on PSP stdgregwar 2020-12-26 19:20:17 +01:00
  • 7967c97618 cmake: Do a more thorough test for the old bcm Raspberry Pi libraries. Ryan C. Gordon 2022-01-05 21:02:38 -05:00
  • f3255df9c0 Improve audio compatibility in PSP. Now it supports more formats and frequencies Francisco Javier Trujillo Mata 2021-11-17 23:50:41 +01:00
  • 16f5b9e3c3 Filter jitter on Xbox One controllers when using raw input reports Sam Lantinga 2022-01-05 11:07:52 -08:00
  • eca198d519 Don't build an eboot for testgesture for PSP Wouter Wijsman 2022-01-05 11:50:52 +01:00
  • cd6cb959c0 Only copy resources to PSP eboot directory if it exists Wouter Wijsman 2022-01-05 11:33:51 +01:00
  • 9d0b4d85fc Don't build EBOOT files for all tests for PSP Wouter Wijsman 2022-01-05 11:18:26 +01:00
  • b2ca62f23a Make sure all tests have the resources they need Wouter Wijsman 2022-01-05 11:18:09 +01:00
  • 6d46e30fed Remove extra / in PSP GetPrefPath Wouter Wijsman 2022-01-05 14:31:31 +01:00
  • 33dccbb381 Make sure GetPrefPath also works without org Wouter Wijsman 2022-01-05 14:00:37 +01:00
  • 419ae29d90 joystick: Move WGI driver initialization after Windows driver Cameron Gutman 2022-01-03 21:44:18 -06:00
  • d73bd0d2f6 dinput: Don't crash in SDL_DINPUT_JoystickPresent if DInput init failed Cameron Gutman 2022-01-03 21:39:30 -06:00
  • 3ea82eaaff Under MSVC, build project-sources in parallel. ulatekh 2022-01-04 15:46:04 -07:00
  • 565ef63873 SDL_rwops.c: simplify foo <= 0 checks to !foo with unsigned types. Ozkan Sezer 2022-01-04 11:40:04 +03:00
  • 30f895a5f3 Update os2.yml Ryan C. Gordon 2022-01-03 21:55:10 -05:00
  • 1d918a283c Update os2.yml Ryan C. Gordon 2022-01-03 21:52:47 -05:00
  • 39fc1e87e5 os2.yml: OpenWatcom install fixes Ryan C. Gordon 2022-01-03 21:51:12 -05:00
  • eb3639d3c5 os2.yml: Fix wget command line Ryan C. Gordon 2022-01-03 21:47:04 -05:00
  • 56813d0203 Create os2.yml Ryan C. Gordon 2022-01-03 21:44:17 -05:00
  • 8f924b82d9 kmsdrm: Remove gbm_bo_get_offset() Cameron Gutman 2022-01-03 16:41:03 -06:00
  • a201c94833 Build tests for PSP in CI Wouter Wijsman 2022-01-03 20:43:40 +01:00
  • fcb638ff90 Copy test resources to correct directory on PSP Wouter Wijsman 2022-01-03 19:12:09 +01:00
  • 5e84f6384f Rename test directories for PSP and only build PRX if asked Wouter Wijsman 2022-01-03 18:56:02 +01:00
  • bf2336078c Make tests build for PSP and make them able to launch Wouter Wijsman 2022-01-03 18:41:21 +01:00
  • cd1f24a998 Add forgotten psppower library to link Wouter Wijsman 2022-01-03 18:41:02 +01:00
  • 120c76c84b Updated copyright for 2022 Sam Lantinga 2022-01-03 09:40:00 -08:00
  • 8622eda9e9 SDL_RenderGeometry / software: TRIANGLE_GET_TEXTCOORD interpolates up to the max values included, so reduce by 1 Sylvain 2022-01-02 22:34:56 +01:00
  • 4b112620a3 SDL_cocoamodes.m (Cocoa_GetDisplayDPI): fix build using older toolchains Ozkan Sezer 2022-01-02 19:11:50 +03:00
  • 13a9cd4797 Adding sysfilesystem driver to PSP Francisco Javier Trujillo Mata 2022-01-01 16:08:00 +01:00
  • 0403fa8aa6 X11_WaitEventTimeout: remove unreachable return rohlem 2022-01-02 02:36:23 +01:00
  • d0de4c625a Android: fixes build NDK 21d e 2021-12-31 14:36:32 -03:00
  • 8f81699868 Only clear IME display options if SDL_HINT_IME_SHOW_UI is off (thanks opxdo!) Sam Lantinga 2021-12-31 08:46:54 -08:00
  • e4000c0284 video: SDL_GL_GetAttribute needs to operate on FBO 0. Ryan C. Gordon 2021-12-31 10:30:51 -05:00
  • 2363ddc330 Fixed crash on Windows Subsystem for Android, which doesn't have a USB manager. Sam Lantinga 2021-12-28 17:30:36 -08:00
  • ab6d0d4d50 Fixed undefined behavior in SDL_memset() (thanks andrewrk!) Sam Lantinga 2021-12-28 15:58:15 -08:00
  • 6a7b63802c Fix macOS cursor jumping to corner on first titlebar click shinyquagsire23 2021-12-28 12:07:56 -08:00
  • a35a7d2507 Fix SigSegV from displayInfoInvalidate when changing resolution Edward Li 2021-12-25 05:00:26 +08:00
  • 1c41b53551 macOS: Calculate correct DPI by not using backingScaleFactor Edward Li 2021-12-25 03:47:59 +08:00
  • 724468ae2c GL renderer uses glDrawArrays instead of glBegin/glEnd. Alex Szpakowski 2021-12-13 15:48:55 -04:00
  • a1e992b110 Fixed bug #5118 - [Android] PointerIcon leak in Cursor API Sylvain 2021-12-21 22:07:17 +01:00
  • 5ca0926d8d fixes to visual test MSVC project files. Ozkan Sezer 2021-12-21 20:12:20 +03:00
  • b8d839c0c0 remove all unnecessary stuff from visualtest configury. Ozkan Sezer 2021-12-21 20:01:02 +03:00
  • 8a355116d1 silence -Wwrite-strings in visualtest Ozkan Sezer 2021-12-21 20:01:02 +03:00
  • 71c497a3a3 visualtest windows build fixes Ozkan Sezer 2021-12-21 14:50:00 +03:00
  • 449ef08dcc minimal fixes to visual test, so that it actually builds w/o warnings: Ozkan Sezer 2021-12-21 14:24:20 +03:00
  • 505df1a99b autotools: Fix typo in libgbm print Cameron Gutman 2021-12-19 20:43:48 -06:00
  • 0673e448f0 autotools: improved detection of windows.gaming.input.h Ozkan Sezer 2021-12-20 01:03:56 +03:00
  • 83583dc49d cmake: Fix WGI detection with older SDKs Cameron Gutman 2021-12-19 15:07:37 -06:00