path: root/src/osd/sdl/sdlwork.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged winwork and sdlwork into osd/modules/sync/work_osd.c. Moved couriersud2015-01-061-761/+0
| | | | | | miniwork.c to osd/modules/sync/work_mini.c The makefile now adds either a OSD_SDL, OSD_WINDOWS or OSD_MINI define to DEFS. This was necessary so that work_osd.c could determine the build on a OSD level. (nw)
* Moved sync related osd stuff to osd/modules/sync. (nw) couriersud2015-01-051-10/+1
* Renamed draw[sdl2|ogl|sdl]_window_get_primitives and related variables couriersud2015-01-051-2/+2
| | | | to set_target_bounds. That's what is really done here. Moved common code back to window.c. (nw)
* a few more data race fixes / cleanups (nw) Oliver Stöneberg2015-01-011-26/+32
* fixed yet another data race warning (nw) Oliver Stöneberg2015-01-011-3/+9
* "fixed" uninitialized memory usage/data race in osd_work_item_wait (nw) Oliver Stöneberg2015-01-011-1/+5
| | | | appears to be a Linux-only issue
* more ThreadSanitizer data race warning "fixes" (nw) Oliver Stöneberg2014-12-311-4/+14
* fixed another ThreadSanitizer data race warning (nw) Oliver Stöneberg2014-12-311-3/+3
* fixed ThreadSanitizer data race warnings in winwork.c/sdlwork.c (nw) Oliver Stöneberg2014-12-311-4/+18
* removed cpu mask and thread affinity code from src/osd/sdl/sdlwork.c as ↵ Oliver Stöneberg2014-09-201-47/+0
| | | | suggested by couriersud (nw)
* more sdlwork.c and winwork.c consolidation / SDL now supports envrionment ↵ Oliver Stöneberg2014-09-131-6/+16
| | | | variable OSDWORKQUEUEMAXTHREADS (nw)
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-52/+52
* Final round of struct/union/enum normalization. Aaron Giles2012-09-161-2/+2
* First pass at modernizing struct definitions. Aaron Giles2012-09-151-2/+1
* fixed some "comparison is always true/false" warnings reported by clang by ↵ Miodrag Milanovic2012-05-201-1/+1
| | | | | Firewave in timer.c I have commented not removed lines that are always false
* SDL: support unofficial (not in the OSD class) num_processors API used by ↵ R. Belmont2012-02-261-6/+7
| | | | chdman. Allows chdman to use multiple cores/processors on non-Windows. [R. Belmont]
* Fix autorelease pool warnings when running multithreaded on Mac OS X [Tim ↵ R. Belmont2011-07-181-0/+12
| | | | Lindner]
* (Big tangle of changes that all happened as I was looking into the ROM Aaron Giles2011-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loader rewrite, which is still in progress....) Replaced mamedriv.c with a new driver list mechanism that is generated by the build tools. The emulator core now expects the presence of a file called src/$(TARGET)/$(SUBTARGET).lst which is just a raw list of driver names, one per line. C and C++ comments are still permitted. This file is parsed by a new build tool makelist which extracts the driver names, sorts them, and generates a file called drivlist.c, which is consumed by the core. [Aaron Giles] Added new osdcore function osd_malloc_array() which is identical to osd_malloc() but obviously hints that the underlying allocation is for an array. Updated all callers to use the appropriate form. Modified the Windows allocator to only use guard pages for array-style allocations, allowing us to enable them once again in debug builds. [Aaron Giles] Created new static class driver_list to wrap accesses to the list of available drivers. Improved speed of driver lookups by relying on the presorting done by makelist. [Aaron Giles] Created helper class driver_enumerator as a helper for iterating through the list of drivers. This class supports basic filtering and iteration, and also serves as a temporary cache of machine_configs. [Aaron Giles] Created cli_frontend object to wrap all the CLI handling code in clifront.c. Updated/simplified all the code to take advantage of the driver_enumerator. [Aaron Giles] Created media_auditor object to wrap all the auditing functions in audit.c. Updated all users to the new interface. Note that the new auditing mechanism is slightly out of sync with the romload code in terms of finding ROMs owned by devices, so it may mis-report some issues until the new ROM loading code is in. [Aaron Giles] Added concept of a per-device searchpath. For most devices, their searchpath is just the short name of the device. For driver_devices, the searchpath is driver[;parent[;bios]]. This searchpath will eventually be used by the rom loader to find ROMs. For now it is used by the media auditor only. [Aaron Giles] Created info_xml_creator object to wrap all the info generation functions in info.c. Converted the file to C++ and cleaned up the input processing code. [Aaron Giles] (not for whatsnew ... Known issues: auditing of CHDs appears busted, and debug builds report unfreed memory if you use the built-in game picker)
* The return of the "misc" Couriersud2010-01-211-2/+2
| | | | | | | | | | - Added sdlmisc_<targetos>.c again. This was necessary since certain tools create stubs for e.g. osd_break_into_debugger. If we do not have this in a separate file, the link stage may break. - Applied OS/2 patch [Credit: KO Myung-Hun] - Cleaned up #includes. Removed stdlib.h were possible. - More malloc to osd_malloc rename. - SDL monitor modes are read now when they are needed. This is now consistent across platforms.
* malloc ==> osd_malloc, free ==> osd_free Couriersud2010-01-211-10/+7
* Removed stdlib.h from osdcomm.h. Couriersud2010-01-171-0/+3
| | | | | | - Added #include stdlib.h where now necessary Fixed Solaris build Fixed building unidasm for OSD=sdl on win32
* Cleanups and version bump. Aaron Giles2010-01-161-7/+7
* SDLMAME initial import [R. Belmont, Couriersud] R. Belmont2010-01-131-0/+755