summaryrefslogtreecommitdiffstats
path: root/src/emu/render.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* prevent crashing (nw) Miodrag Milanovic2016-07-231-2/+9
|
* Prevent NaN errors by initializing variable in ui::text_layout (nw) AJR2016-06-181-0/+5
| | | | Use osd_printf_verbose instead of popmessage in ay8910 (too annoying even for debug build)
* Fixed MT06222 ImJezze2016-05-281-11/+38
| | | | - fixed offset of vector lines and clipping rectangle when vector primitives are prepared to be rendered into a texture (HLSL) instead of directly on the screen (GDI, D3D)
* plugins/layout: layout embedded script helper plugin [Carl] cracyc2016-04-271-0/+2
| | | | | | | | luaengine: callbacks for plugins (nw) rendlay: layout tag external handler support (nw) fidel_csc and mdndclab: example layout scripts (nw) -- Neither layout script is complete. The chess doesn't handle castling or en passant and the Dungeons and Dragons only does the walls.
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-3/+3
|
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-1/+1
|
* Implemented handling for u_screen_scale and u_screen_offset (nw) ImJezze2016-04-211-2/+2
|
* Cleanup (nw) Miodrag Milanovic2016-04-201-5/+5
|
* Iterate over devices C++11 style AJR2016-04-181-7/+9
| | | | | | Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass. Add a few more typical getters to device_t::subdevice_list.
* Added reasonable texcoord handling without known examples (nw) ImJezze2016-04-171-10/+10
|
* Fixed texture coordinates for vector screen quad (nw) ImJezze2016-04-161-1/+32
|
* Removed hacks for vector screens from shaders (nw) ImJezze2016-04-131-11/+26
| | | | | - added handling of texture coordinates for vector screens to core render - added handling of orientation/rotation for vector screens to D3D renderer
* Make overscan on integer scaled targets optional (add option -intoverscan). Antonio Giner2016-04-051-14/+17
|
* Conflict resolution (nw) AJR2016-03-311-9/+59
|\
| * Compressed internal layouts [David Haywood] Miodrag Milanovic2016-03-301-9/+59
| |
* | Iterate over core classes C++11 style AJR2016-03-311-84/+82
|/ | | | | | | | C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.) device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config. memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
* Cleanups and version bumpmame0172 Miodrag Milanovic2016-03-301-2/+2
|
* Fix issue with ui aspect due to recent changes in -keepaspect Antonio Giner2016-03-251-1/+9
| | | | | This also makes sure ui aspect ratio is computed correctly even on rotated targets.
* Fix wrong aspect in snapshots due to rencent changes in -keepaspect Antonio Giner2016-03-221-1/+1
|
* Apply better factors on multiple-screen views Antonio Giner2016-03-211-22/+15
|
* Fix aspect on rotated games Antonio Giner2016-03-211-9/+13
|
* Move integer scaling implementation to render_target::compute_visible_area Antonio Giner2016-03-201-31/+85
| | | | | - Add core option -unevenstretch - Add core option -unevenstretchx
* Revert changes in layout view prior to rework of integer scaling Antonio Giner2016-03-191-11/+3
|
* Merge remote-tracking branch 'refs/remotes/mamedev/master' Antonio Giner2016-03-181-10/+20
|\
| * Merge pull request #724 from ImJezze/master Scott Stone2016-03-171-10/+20
| |\ | | | | | | HLSL refactoring
| | * Cleanup (nw) ImJezze2016-03-131-27/+7
| | | | | | | | | | | | | | | | | | | | | - options are reset to loaded preset when game is closed - changed default values of options to result in no effects activated - init_slider_list() does not returns but sets g_slider_list directly - removed unnecessary oriented_vector_texcoords
| | * Refactoring of render targes and vector texture coordinates ImJezze2016-03-121-11/+41
| | | | | | | | | | | | | | | | | | | | | | | | - implemented proper texture coordinates for vector quad primitive - vector screen is now processed in texture coordinates - revered workaround for raster screen, which is again processed in texture coordinates - known issue: cocktail mode for vector screen looks wrong
| | * Merge remote-tracking branch 'refs/remotes/mamedev/master' ImJezze2016-02-211-9/+6
| | | | | | | | | | | | Second attempt
* | | Implement integer scaling in core renderer [Calamity] Antonio Giner2016-03-151-4/+16
|/ /
* | Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures Make zip_file and _7z_file classes rather than having free functions everywhere Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache Don't dump as much crap in global namespace Add solaris PTY implementation Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax Rearrange stuff so the same things are in file module for all OSDs Move file stuff into its own module 7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access Directory functions still need to be moved to file module SDL OSD may not initialise WinSock on Windows
* | Fix remaining issues with bgfx renderer therealmogminer@gmail.com2016-02-171-9/+0
| |
* | Fix errors with -rol and -ror, nw therealmogminer@gmail.com2016-02-151-8/+4
| |
* | Significant speed improvements to the BGFX renderer. [MooglyGuy] therealmogminer@gmail.com2016-02-151-4/+17
| |
* | replace osd_lock with std::mutex [Miodrag Milanovic] Miodrag Milanovic2016-01-301-4/+0
| |
* | Small code cleanup: dankan18902016-01-291-1/+2
|/ | | | | | | | | - corealloc.h: added macro definition for global_alloc (nothrow) memory allocation. - textbuf.cpp / wavwrite.cpp: removed pointless cast. - debugcmd.cpp / luaengine.cpp / render.cpp: avoid strlen calls in a loop. - diimage.cpp: simplified "device_image_interface::set_image_filename" function. - miscmenu.cpp / selgame.h / video.cpp(h): replaced int with bool where applicable. - ui.cpp: removed unused code.
* modernized configuration_manager (nw) Miodrag Milanovic2016-01-101-5/+5
|
* Cleanups and version bumpmame0169 Miodrag Milanovic2015-12-301-2/+0
|
* Make new internal debugger windows appear in a cascade-like position, and ↵ mahlemiut2015-12-171-4/+4
| | | | give some windows better default sizes. Change render_target::debug_top() to put targets at the end of the target list, fixing the order in which windows are rendered (nothing else uses this function).
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-133/+133
|
* Initial conversion of core to C++14. Note that compilers are now limited to ↵ Miodrag Milanovic2015-12-031-3/+3
| | | | GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic]
* Fixed dynamic beam width for invariabel vector intensity ImJezze2015-11-181-6/+2
| | | | | - the vector renderer now tries to detect a invariabel vector intensity and disables the calculation of a dynamic beam width
* Changed screen adjustment for HLSL ImJezze2015-11-171-1/+13
| | | | | | | | - screen adjustment (scale, offset) can now be handled by the respective render API itself (default behavior is as before) - D3D (if HLSL) is activated handles screen adjustment by itself within the shader, which fixes the odd behavior of some effects (e.g. round corners) when screen scale and offset is used
* Fixed some suggestions by ReSharper C++ (nw) Miodrag Milanovic2015-11-141-3/+3
|
* Some cleanups and init fixes with help of ReSharper C++ (nw) Miodrag Milanovic2015-11-111-2/+2
|
* nw, more PVS-Studio fixes therealmogminer@gmail.com2015-11-091-2/+1
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+2801