log render_sdl.c @ 2018:193b804c9845

age author description
Mon, 09 Nov 2020 00:29:47 -0800 Michael Pavone Add a UI button to reset config to defaults
Sun, 11 Oct 2020 18:01:48 -0700 Michael Pavone Fix occasional deadlock on startup when using audio sync
Tue, 12 May 2020 19:22:09 -0700 Michael Pavone Go back to unpausing audio in render_video_loop to ensure the core is no longer running on the main thread when audio callbacks start when using run on audio thread mode
Sat, 09 May 2020 23:25:51 -0700 Michael Pavone Less hacky run on audio thread mode
Sat, 09 May 2020 21:37:35 -0700 Michael Pavone Don't hold frame queue mutex while rendering
Sat, 09 May 2020 21:35:42 -0700 Michael Pavone Fix regression in run on audio thread mode
Sat, 09 May 2020 21:15:33 -0700 Michael Pavone Allow use of NPOT textures as a config option. Useful for some mobile GPUs
Fri, 08 May 2020 16:52:32 -0700 Michael Pavone Avoid expensive re-init from switching to external sync after render_init has been called
Fri, 08 May 2020 00:22:54 -0700 Michael Pavone Make netplay remote sync to network rather than audio or video so it doesn't drift out of sync with the host
Thu, 30 Apr 2020 23:30:22 -0700 Michael Pavone Remove usage of GCC pointer arithmetic on void * extension
Thu, 30 Apr 2020 23:15:50 -0700 Michael Pavone Get WIP net play code compiling on Windows and cleanup some unistd.h includes
Sat, 18 Apr 2020 22:44:17 -0700 Michael Pavone Make requested sample format configurable
Sat, 18 Apr 2020 22:36:13 -0700 Michael Pavone WIP new sync mode that runs emulation on audio thread
Mon, 06 Jan 2020 22:02:57 -0800 Michael Pavone Fix debug view window stuff that got broken when FRAMEBUFFER_UI got added
Mon, 16 Sep 2019 00:45:48 -0700 Mike Pavone Don't render lines that are cropped by overscan. Allows submitting frame earlier when bottom overscan is non-zero which can reduce latency in some cases
Fri, 17 May 2019 08:43:30 -0700 Michael Pavone Split generic part of audio code into a separate file so it can be used in other targets besides SDL
Wed, 08 May 2019 23:44:40 -0700 Michael Pavone Basic UI navigation with controller
Fri, 03 May 2019 18:56:12 -0700 Michael Pavone Reprocess bindings when SDL2 mappings, controller types or controller order change
Fri, 03 May 2019 18:40:13 -0700 Michael Pavone Reorder controllers based on which one receives player input first
Tue, 23 Apr 2019 23:37:15 -0700 Michael Pavone Demote screenshot message to debug level so that a popup is not spawned when saving a screenshot
Sun, 14 Apr 2019 23:37:11 -0700 Michael Pavone Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android)
Thu, 04 Apr 2019 23:08:45 -0700 Michael Pavone Allow Nuklear UI to be used when OpenGL is disabled
Sun, 31 Mar 2019 14:53:29 -0700 Mike Pavone Fix crash that occurs when changing video screen settings if the emulator window is currently fullscreen. Add a little more error handling to Open GL code
Wed, 27 Mar 2019 22:23:55 -0700 Michael Pavone Restore some newlines in debug output that got lost when fixing GDB remote debugging issue
Wed, 27 Mar 2019 22:19:49 -0700 Michael Pavone Request float 32 sample format since it saves us a conversion now that the gain code has been added
Tue, 26 Mar 2019 23:26:08 -0700 Michael Pavone Support controllers that have their dpad mapped to an axis
Sun, 24 Mar 2019 20:09:22 -0700 Michael Pavone Initialize gain_mult when creating an audio source so things work okay for clients that don't explicitly set the gain
Sun, 24 Mar 2019 13:31:22 -0700 Mike Pavone Make sure there are no races between main thread and audio thread around mix_buf. Fix lack of proper termination in shader loading code
Sat, 23 Mar 2019 17:18:10 -0700 Michael Pavone Configurable gain for overall output and individual components
Wed, 20 Mar 2019 22:05:27 -0700 Michael Pavone Avoid printing a bunch of junk to stdout when GDB remote debugging is enabled as this can confuse GDB
Tue, 22 Jan 2019 21:15:38 -0800 Michael Pavone Added some Makefile options to build a packaging friendly executable
Sun, 20 Jan 2019 01:02:48 -0800 Michael Pavone Small fix to sync sample calculation in render_sdl
Fri, 18 Jan 2019 00:09:36 -0800 Michael Pavone Modified audio code to support an arbitrary number of output channels so that things aren't weird if SDL2 picks a number of channels other than what we ask for
Sun, 30 Dec 2018 21:19:26 -0800 Mike Pavone Switched default sync source back to audio as the video option is not ready for prime timeop
Sun, 30 Dec 2018 21:10:44 -0800 Mike Pavone Added support for GLES in addition to desktop GL
Tue, 18 Dec 2018 19:58:00 -0800 Michael Pavone Allow closing VDP debug windows with the close button in the window title bar
Mon, 19 Nov 2018 19:10:16 -0800 Michael Pavone Implemented support for toggling off a debug view
Sat, 10 Nov 2018 15:27:39 -0800 Michael Pavone Fix edge case in DRC audio path
Fri, 09 Nov 2018 09:26:07 -0800 Michael Pavone Use SDL_GL_MakeCurrent to make the SDL renderer API windows play nice with GL windows
Sun, 04 Nov 2018 22:51:50 -0800 Michael Pavone WIP new VDP plane debug view and support for detached VDP debug views generally
Wed, 24 Oct 2018 21:10:12 -0700 Michael Pavone Pull current controller config in binding UI from whatever the actual binding code would end up using
Fri, 03 Aug 2018 19:32:21 -0700 Michael Pavone Allow a gamepad mapping to apply to all controllers, controllers of a particular type (i.e.e 6-button PS4 controllers) or specific controllers (based on SDL2 GUID) in addition to the controller in a certain slot
Tue, 31 Jul 2018 23:08:52 -0700 Michael Pavone Read extral SDL2 mappings on startup from controller_types.cfg
Mon, 30 Jul 2018 09:38:01 -0700 Michael Pavone WIP UI for creating an SDL2 mapping for controllers that don't have one
Sun, 22 Jul 2018 17:48:46 -0700 Michael Pavone Initial heuristics for detecting controller types and showing different labels in UI. Modified controller settings view to first display a list of controllers, only showing mapping after selecting controller
Thu, 28 Jun 2018 09:27:05 -0700 Michael Pavone Fix a number of other memory errors (mostly leaks again) identified by valgrind
Fri, 22 Jun 2018 21:11:38 -0700 Michael Pavone Fix code for handling switch between sync styles at runtime
Thu, 21 Jun 2018 09:44:34 -0700 Michael Pavone Initial attempt at handling switches between sync modes at runtime. Needs work
Wed, 20 Jun 2018 22:49:21 -0700 Michael Pavone Limit underflow warning spam
Wed, 20 Jun 2018 09:43:28 -0700 Michael Pavone Fix double free in sync to video mode
Sat, 05 May 2018 23:30:40 -0700 Michael Pavone Refactor to split device bindings from IO emulation code
Tue, 01 May 2018 23:55:48 -0700 Michael Pavone Fix deadlock when changing settings before loading first ROM
Mon, 30 Apr 2018 23:54:52 -0700 Michael Pavone Fix sync to audio option
Fri, 27 Apr 2018 20:08:47 -0700 Michael Pavone Only save config file if something has changed. Re-initialize audio and video with new settings if config has changed
Tue, 17 Apr 2018 22:26:39 -0700 Michael Pavone Audio DRC seems to be working pretty well now. Removed debug printfs
Tue, 17 Apr 2018 00:20:41 -0700 Michael Pavone Moved resample rate adjustment to after frame flip rather than in audio callback as it makes more sense there. Needs adjustment to avoid audible pitch changes
Sat, 14 Apr 2018 23:08:08 -0700 Michael Pavone Audio DRC now sounds good in both NTSC and PAL, just need to adjust constants to minimize latency without leading to dropouts
Sat, 14 Apr 2018 00:07:20 -0700 Michael Pavone Mostly working dynamic rate control. Needs some tweaking, especially for PAL
Fri, 13 Apr 2018 22:25:50 -0700 Michael Pavone WIP dynamic rate control
Wed, 11 Apr 2018 00:17:23 -0700 Michael Pavone Fix regression in right audio channel
Fri, 30 Mar 2018 00:37:08 -0700 Michael Pavone More audio refactoring in preparation for allowing proper sync to video with dynamic audio rate control
Wed, 28 Mar 2018 23:56:38 -0700 Michael Pavone Add support for float32 format audio samples
Wed, 28 Mar 2018 23:36:08 -0700 Michael Pavone Small cleanup to audio interface between emulation code and renderer backend
Sat, 24 Mar 2018 22:18:23 -0700 Michael Pavone Merge nuklear_ui
Sat, 24 Mar 2018 19:40:51 -0700 Michael Pavone Added png screenshot support
Tue, 13 Mar 2018 22:18:20 -0700 Michael Pavone Set glClearColor back to black nuklear_ui
Sat, 25 Nov 2017 20:43:20 -0800 Michael Pavone Skip loading menu ROM if Nuklear UI is enabled. Allow disabling Nuklear UI in favor of old menu ROM both at compile time and in config. Fall back to ROM UI if GL is unavailable nuklear_ui
Sat, 25 Nov 2017 14:42:38 -0800 Michael Pavone Avoid burning a huge amount of CPU in the menu when emulation is not running and vsync is disabled nuklear_ui
Wed, 22 Nov 2017 10:54:27 -0800 Michael Pavone Fix UI rendering in fullscreen and wome initial work on the "pause" menu nuklear_ui
Tue, 21 Nov 2017 19:07:43 -0800 Michael Pavone Initial work on Nuklear-based UI nuklear_ui
Thu, 24 Aug 2017 19:40:53 -0700 Michael Pavone Clear display in SDL2 renderer before doing the texture copy. This gets rid of the artifacts noted in ticket:29
Thu, 15 Jun 2017 22:51:28 -0700 Michael Pavone Allow selecting linear or nearet neighbor scaling for both the Open GL and SDL 2 renderers
Thu, 15 Jun 2017 19:24:16 -0700 Michael Pavone Allow height to be specified in the config file and properly calculate from the aspect setting if it is not specified
Wed, 14 Jun 2017 20:46:11 -0700 Michael Pavone Fix absolute mouse mode when non-default overscan settings are used
Wed, 14 Jun 2017 09:48:46 -0700 Michael Pavone Initial support for drag and drop. Some work needed for proper menu integration.
Fri, 12 May 2017 23:33:00 -0700 Michael Pavone Use printf rather than info_message for message about game controller mappings so it does not pop up a modal when not run from a terminal
Wed, 10 May 2017 22:06:59 -0700 Michael Pavone Load extra controller mappings from gamecontrollerdb.txt
Sat, 29 Apr 2017 12:32:50 -0700 Michael Pavone Make internal screenshot functionality completely ignore overscan settings rather than only doing it for the height
Sun, 23 Apr 2017 00:54:33 -0700 Michael Pavone Add config file option to disable Open GL rendering
Fri, 21 Apr 2017 23:35:32 -0700 Michael Pavone Fix a deficiency in the way types were handled in my ternary tree. Fixes in which some paths that were constructed from a template with variables would sometimes get an extra garbage character thrown in
Mon, 06 Mar 2017 09:46:50 -0800 Michael Pavone Width on glTexSubImage2D call in render_framebuffer_updated needs to match the buffer pitch
Mon, 06 Mar 2017 00:23:35 -0800 Michael Pavone Initial stab at horizontal border emulation. Only works for H40 and still has a few minor holes to fill
Sat, 04 Mar 2017 11:50:14 -0800 Michael Pavone Implement raw screenshot functionality requested in ticket:10
Wed, 01 Mar 2017 00:14:50 -0800 Michael Pavone Fix scancode for F key
Thu, 26 Jan 2017 23:49:13 -0800 Michael Pavone Basic support for mapping an analog axis to functionality
Thu, 26 Jan 2017 20:28:00 -0800 Michael Pavone Added mappings to allow PS-style names for leftstick/rightstick click actions aka l3/r3
Thu, 26 Jan 2017 00:55:02 -0800 Michael Pavone Allow toggling full screen mode at runtime. Allow resizing the window in windowed mode. Allow specifying the aspect ratio in the config file.
Tue, 24 Jan 2017 23:17:24 -0800 Michael Pavone Adjust mouse cursor in absolute mode/menu to account for presence of top border
Tue, 24 Jan 2017 20:53:10 -0800 Michael Pavone Make gamepad "semantic" mapping play nice with hotplug support
Sun, 22 Jan 2017 16:23:59 -0800 Michael Pavone Initial support for using SDL2 game controller mapping functionality
Wed, 18 Jan 2017 23:43:36 -0800 Michael Pavone Overscan is now configurable
Sun, 15 Jan 2017 15:07:24 -0800 Michael Pavone Initial work on emulating top and bottom border area
Thu, 22 Dec 2016 19:51:25 -0800 Michael Pavone Initial support for Genesis/Megadrive PBC mode. VDP still needs Mode 4 to be useful.
Fri, 09 Dec 2016 09:48:48 -0800 Michael Pavone WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
Mon, 28 Nov 2016 22:45:46 -0800 Michael Pavone Clean up symbol visiblity and delete a ltitle bit of dead code
Mon, 22 Aug 2016 09:46:18 -0700 Michael Pavone Cleanup the separation of render backend and VDP code in preparation for having extra debug windows. Make determination of H40/H32 based on number of lines in each mode.
Tue, 09 Aug 2016 22:54:35 -0700 Michael Pavone Fix NOGL compile option
Fri, 05 Aug 2016 22:24:43 -0700 Michael Pavone Fix a memory corruption bug from failing to grow the buffer for the window caption when switching games
Sun, 15 May 2016 17:53:56 -0700 Michael Pavone Complete SDL to Saturn scan code mapping
Wed, 11 May 2016 01:15:54 -0700 Michael Pavone Initial stab at Saturn keyboard support
Tue, 10 May 2016 08:59:17 -0700 Michael Pavone Fix bug in 68K movep.l when the destination is a register mapped to a host register
Sun, 01 May 2016 14:59:40 -0700 Michael Pavone Set vsync state based on config file rather than just using whatever the system decides for us.
Sun, 01 May 2016 14:29:12 -0700 Michael Pavone Added a config option that allows turning scanlines on and off
Tue, 23 Feb 2016 21:17:56 -0800 Michael Pavone Added reasonable handling of joystick hotplug
Tue, 15 Dec 2015 20:01:50 -0800 Michael Pavone Initial support for relative mouse mode and skeleton of support for capture mode. Avoid mouse position overflow in absolute mode. Allow absolute mode to be set by ROM DB.
Mon, 14 Dec 2015 19:36:01 -0800 Michael Pavone Scale mouse data based on window size
Sat, 28 Nov 2015 21:27:21 -0800 Michael Pavone Mega mouse support is mostly done
Sat, 28 Nov 2015 20:05:15 -0800 Michael Pavone Dividing by FPS_INTERVAL does not make senese as the division was to convert milliseconds to seconds
Sat, 28 Nov 2015 14:49:34 -0800 Michael Pavone Don't try setting the window title on Android
Wed, 25 Nov 2015 20:32:20 -0800 Michael Pavone WIP support for mega mouse
Fri, 13 Nov 2015 22:56:59 -0800 Michael Pavone Selecting a second game from the menu now works
Sun, 08 Nov 2015 18:38:33 -0800 Michael Pavone ROM is now run after being selected in menu. Initial path for menu is read from config file.
Mon, 27 Jul 2015 23:49:14 -0700 Michael Pavone Use binary mode for reading shaders and config files so we actually get the number of bytes we expect
Sun, 26 Jul 2015 13:33:48 -0700 Michael Pavone Minor cleanup
Sun, 26 Jul 2015 13:25:31 -0700 Michael Pavone Merge
Sun, 26 Jul 2015 13:08:22 -0700 =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Use SDL2 renderer as a fallback
Sun, 26 Jul 2015 13:05:05 -0700 =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Add pure SDL2 renderer
Sat, 25 Jul 2015 18:22:07 -0700 Michael Pavone Use a new fatal_error function instead of calling fprintf and exit for fatal errors. This new function more gracefully handles the case in which BlastEm was not started from a terminal or disconnected from ther terminal (Windows).
Sun, 05 Jul 2015 14:21:34 -0700 Michael Pavone WIP changes to support reading cart memory map from ROM DB
Thu, 28 May 2015 23:04:49 -0700 Michael Pavone Fix crash bug in windows build