summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.h
Commit message (Collapse)AuthorAgeFilesLines
* fix SDL on Windows compile Cowering2015-12-061-7/+7
|
* did license settings for OG and Andrew, cleared up OSD part for licenses (nw) Miodrag Milanovic2015-05-091-5/+2
|
* Added license headers to the rest of files (nw) Miodrag Milanovic2015-05-071-0/+2
|
* Aligned monitor handling between sdl and baseline. [Couriersud] couriersud2015-03-011-3/+3
|
* Fixed windows baseline build. couriersud2015-02-271-5/+5
| | | More osd_dim use. (nw)
* Introduced osd_rect and osd_dim to allow for more code alignment. (nw) couriersud2015-02-271-12/+15
|
* Moved opengl related stuff to modules/opengl couriersud2015-02-261-119/+2
|
* Cleanups and version bumpmame0159 Miodrag Milanovic2015-02-251-18/+18
|
* More alignment of code: couriersud2015-02-221-18/+7
| | | | | | | - HDC is passed differently to gdi renderer (the only one using it). - Merged sdl_window_config and win_window_config into osd_window_config. - Use osd_window_config instead of replicating individual member variables in osd_window.
* Make OpenGL renderer available in mainline build as well. This needs to couriersud2015-02-221-1/+2
| | | | be explicitly enabled by specifying USE_OPENGL=1. More code alignment. [Couriersud]
* More code alignment for windows and renderer. (nw) couriersud2015-02-121-3/+5
|
* Remove start_viewscreen, fix sdl.mak. (nw) couriersud2015-02-121-4/+12
|
* More osd_window migration. (nw) couriersud2015-02-111-18/+38
|
* Identified window properties/variables which are used by renderers. couriersud2015-02-091-11/+44
| | | | Althought the code in window.h is far from nice currently it now allows to address one issue after the other. (nw)
* sdl render operation moved towards the way window deals with renderers. couriersud2015-02-081-29/+33
|
* A bit more alignment between windows and sdl. (nw) couriersud2015-02-061-16/+15
|
* Get rid of "resize" render method. (nw) couriersud2015-02-061-1/+0
|
* Remove some passing around of running_machine where it is not needed. couriersud2015-02-051-7/+8
| | | (nw)
* Moved all window related code to window.c. (nw) couriersud2015-02-051-25/+45
|
* Window creation now is done in windows.c. (nw) couriersud2015-02-041-0/+7
|
* Some more code alignment. (nw) couriersud2015-02-041-2/+9
|
* Safety commit before pull. More code alignment. (nw) couriersud2015-02-041-7/+13
|
* Reowrked the -video soft driver so it works like accel and opengl. That couriersud2015-02-031-1/+18
| | | | will enable the move of some now identical functions back to window.c. (nw)
* Merge branch 'master' of https://github.com/mamedev/mame.git couriersud2015-02-011-0/+6
|\
| * Added BGFX skeleton to SDL build as well (nw) Miodrag Milanovic2015-02-011-0/+6
| |
* | introduced concept of an osd_renderer. Changed draw code to couriersud2015-02-011-20/+16
| | | | | | inherit from this interface. (nw)
* | More transition to "m_" members. (nw) couriersud2015-01-311-9/+13
| |
* | All private members for sdl_window_info now start with "m_". (nw) couriersud2015-01-311-39/+65
|/
* Cleanups and version bumpmame0158 Miodrag Milanovic2015-01-281-2/+2
|
* Fixed two SDL2 bugs: couriersud2015-01-061-5/+2
| | | | | | | - Window height was 0 after a switch from fullscreen to windowed if sdlmame was started in fullscreen - Fixed -switchres. This is now working on Ubuntu 14.04 again. Performance will vary on your hardware and drivers and I suspect SDL to be partly broken.
* Moved sync related osd stuff to osd/modules/sync. (nw) couriersud2015-01-051-1/+1
|
* Renamed draw[sdl2|ogl|sdl]_window_get_primitives and related variables couriersud2015-01-051-1/+1
| | | | to set_target_bounds. That's what is really done here. Moved common code back to window.c. (nw)
* Cleanups and version bumpmame0157 Miodrag Milanovic2014-12-311-54/+53
|
* Changed sdl_window_info to be closer to C++: couriersud2014-12-291-17/+66
| | | | | | - Made some members private - moved static functions into sdl_window_info - extended work_param struct with constructors for better readability
* SDL: More cleanups. (nw) R. Belmont2014-09-011-2/+2
|
* Added window to osd_interface (nw) Miodrag Milanovic2014-09-011-3/+0
| | | | win_monitor_info to class win_window_info to class, partial
* More cleanups, there is issue with srcclean that needs to be taken care as ↵ Miodrag Milanovic2014-07-221-2/+2
| | | | well, just doing now what we can
* SDL: rebuild all GL textures when the core changes resolutions. [R. Belmont] R. Belmont2014-07-171-0/+3
|
* SDL: Removed "totalColors" hack, now only RGB32 is sent to the GPU. [R. Belmont] R. Belmont2014-03-201-1/+0
| | | | | nw: there's much, much more cleanup to be done now, but this serves as a functional baseline.
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-27/+27
|
* First pass at modernizing struct definitions. Aaron Giles2012-09-151-4/+2
|
* updated sdl os-core to compile against stock SDL-2.0 [couriersud]. Couriersud2012-02-121-6/+2
| | | | | | | | | | | - The SDL team has moved from 1.3 to 2.0. At the same time, changes were made to allow SDL1.2 and SDL2.0 to coexist. All SDL2.0 include files are now in /usr/include/SDL2. - Added sdlinc.h to avoid having tons of #ifdef .. #include in the code. - Scalemode is no longer a per-window setting - Fixed a bug in YUV rendering. - Use SDL_GetClipboard (SDL2.0) - Updated README_SDL20.txt Currently, SDL 2.0 is only supported on *nix. Volunteers welcome.
* BIG update. Aaron Giles2011-03-291-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant machine items from address_space and device_t. Neither machine nor m_machine are directly accessible anymore. Instead a new getter machine() is available which returns a machine reference. So: space->machine->xxx ==> space->machine().xxx device->machine->yyy ==> device->machine().yyy Globally changed all running_machine pointers to running_machine references. Any function/method that takes a running_machine takes it as a required parameter (1 or 2 exceptions). Being consistent here gets rid of a lot of odd &machine or *machine, but it does mean a very large bulk change across the project. Structs which have a running_machine * now have that variable renamed to m_machine, and now have a shiny new machine() method that works like the space and device methods above. Since most of these are things that should eventually be devices anyway, consider this a step in that direction. 98% of the update was done with regex searches. The changes are architected such that the compiler will catch the remaining errors: // find things that use an embedded machine directly and replace // with a machine() getter call S: ->machine-> R: ->machine\(\)\. // do the same if via a reference S: \.machine-> R: \.machine\(\)\. // convert function parameters to running_machine & S: running_machine \*machine([^;]) R: running_machine \&machine\1 // replace machine-> with machine. S: machine-> R: machine\. // replace &machine() with machine() S: \&([()->a-z0-9_]+machine\(\)) R: \1 // sanity check: look for this used as a cast (running_machine &) // and change to this: *(running_machine *)
* Cleanups and version bump.mame0141u3 Aaron Giles2011-02-281-1/+1
|
* osd/sdl again compiles against latest SVN 1.3. SDL 1.3 still is WIP so ↵ Couriersud2011-02-121-0/+1
| | | | expect more changes. No whatsnew.
* mame_file is now emu_file and is a class. It is required Aaron Giles2011-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | to pass a core_options object to the constructor, along with a search path. This required pushing either a running_machine or a core_options through some code that wasn't previously ready to handle it. emu_files can be reused over multiple open/close sessions, and a lot of core code cleaned up nicely as things were converted to them. Also created a file_enumerator class for iterating over files in a searchpath. This replaces the old mame_openpath functions. Changed machine->options() to return a reference. Removed public nvram_open() and fixed jchan/kaneko16 to stop directly saving NVRAM. Removed most of the mame_options() calls; this will soon go away entirely, so don't add any more. Added core_options to device_validity_check() so they can be used to validate things.
* Converted render.c objects into C++ objects. Updated all callers. Aaron Giles2010-10-131-2/+2
|
* SDLMAME now compiles against SDL 1.3 up to HG rev 4464. Everything beyond ↵ Couriersud2010-06-031-1/+1
| | | | that revision is completely broken since Sam ripped out multi-keyboard and multi-mice support. Further information in README_SDL13.txt [Couriersud]
* SDL: remove problematic live render type toggle and default OS X to OpenGL R. Belmont2010-06-021-1/+0
|
* Cleanups and version bump. Aaron Giles2010-01-161-6/+6
|