Commit Graph

32 Commits

Author SHA1 Message Date
MooglyGuy
1604863c07 -core: Removed TEXFORMAT_PALETTEA16. [Ryan Holtz] 2019-07-10 20:08:36 +02:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
Andreas Müller
0a32d46793 OSD/OpenGl: Improve performance by moving calculations out of loop
This one was triggered by batman.

Test case:
mame64 -nothrottle batman

Before: Average speed: 312.11% (20 seconds)
After: Average speed: 327.43% (19 seconds)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-04 00:23:43 +01:00
Brad Hughes
98f22fc6de Change window handle storage to template instead of void* (nw) (#1725)
* Change window handle storage to template instead of void* (nw)
2016-11-17 00:32:26 -05:00
Miodrag Milanovic
a9d260cf14 Fixed USE_DISPATCH_GL compile, seams no-one is actually using it since it is broken for a while (nw) 2016-11-11 12:27:44 +01:00
Miodrag Milanovic
88b5a5c09f Cleanup linux OSD (nw) 2016-10-22 18:42:47 +02:00
Miodrag Milanovic
ddb290d5f6 NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
2016-10-22 13:13:17 +02:00
Giuseppe Gorgoglione
58dc78b6eb Introduce dynamic_module
This is a central cross-platform facility to dynamically bind functions from shared libraries.
    Updated all OSD modules to use it.
2016-06-11 20:14:09 +02:00
ImJezze
6ea15072a7 Procedural texture for vectors in HLSL
* added simple procedural texture for vectors with rounded line ends and beam smoothness
* added optional -vector_beam_smooth option
* removed -antialias option, antialiasing is now always applied, except for plain D3D
2016-06-05 23:50:44 +02:00
ImJezze
052fd0c608 Moved extension of vector lines to where it belongs (nw) 2016-05-22 20:54:31 +02:00
couriersud
6cb4c9c051 RIP sdlinc.h 2016-05-06 02:41:23 +02:00
Miodrag Milanovic
cfee536f22 Cleanups and version bump 2016-04-27 08:13:59 +02:00
Miodrag Milanovic
9c2ef88573 Revert "Temp revert of Brad changes (nw)"
This reverts commit 5e831f6506.
2016-04-25 17:22:25 +02:00
Miodrag Milanovic
5e831f6506 Temp revert of Brad changes (nw) 2016-04-25 17:09:47 +02:00
Brad Hughes
1a844a49c5 Refactor OSD window.
Unified renderer in osd_window as std::unique_ptr
Made windows all std::shared_ptr<window_type>
Made window lists std::list<std::shared_ptr<window_type>>
Updated OSD SDL worker_param to not use malloc (not compatible with smart
pointers)
Made renderer pointer to window a weak reference. May not be available
during destruction of the window.
2016-04-21 11:10:03 -04:00
couriersud
118658da9d These init calls all returned false. No need for a return value in this
case. [Couriersud]
2016-04-18 21:28:07 +02:00
Brad Hughes
870db16e99 Standardize platform window pointer storage in osd_window.
Also encapsulate show/hide capture/release cursor functionality.
2016-04-18 10:03:01 -04:00
AJR
a7e393b36b Iterate over core classes C++11 style
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).
2016-03-31 09:43:53 -04:00
therealmogminer@gmail.com
53994092de Fix D3D and BGFX fullscreen toggle issues, nw 2016-02-22 17:30:35 +01:00
therealmogminer@gmail.com
bf033cfe00 Final fixups, get sliders working again, nw 2016-02-21 03:03:29 +01:00
therealmogminer@gmail.com
9a47a870df First take on render API reorg, nw 2016-02-21 03:03:23 +01:00
Miodrag Milanovic
40e0a1bcb7 Remove SDL 1.2 support (nw) 2016-02-16 16:35:03 +01:00
Miodrag Milanovic
379581fb36 macro removal INLINE -> static inline (nw) 2015-12-12 08:58:57 +01:00
Cowering
418d057e97 fix SDL on Windows compile 2015-12-06 13:56:05 -06:00
Miodrag Milanovic
784a5e690a implementation must be removed too (nw) 2015-12-06 16:44:45 +01:00
Miodrag Milanovic
5a3352a6b0 Fix clang build on OSX/Linux 2015-12-06 16:40:18 +01:00
Miodrag Milanovic
93d0471081 Fix clang build on OSX/Linux 2015-12-06 16:39:38 +01:00
Miodrag Milanovic
ff21376524 fix for non-windows os (nw) 2015-12-06 16:33:16 +01:00
Miodrag Milanovic
3ee9b6cee4 fixing some more override (nw) 2015-12-06 09:23:23 +01:00
Miodrag Milanovic
02f128df25 more cleanups and fix (nw) 2015-11-11 17:19:26 +01:00
Miodrag Milanovic
7c19aac60e Rename *.c -> *.cpp in our source (nw) 2015-11-08 12:56:12 +01:00