summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawogl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fixed some clang-tidy warnings (nw) (#6236) Oliver Stöneberg2020-01-301-1/+1
| | | | | | | | | | | | | | | | * fixed some modernize-redundant-void-arg clang-tidy warnings (nw) * fixed some modernize-use-bool-literals clang-tidy warnings (nw) * fixed some modernize-use-emplace clang-tidy warnings (nw) * fixed some performance-move-const-arg clang-tidy warnings (nw) * fixed some readability-redundant-control-flow clang-tidy warnings (nw) * fixed some readability-redundant-string-cstr clang-tidy warnings (nw) * fixed some performance-unnecessary-value-param clang-tidy warnings (nw)
* Revert accidentally committed changes. (nw) couriersud2020-01-251-17/+5
|
* segas16b: Added analog filters. [Couriersud] couriersud2020-01-251-5/+17
| | | | Analog filters added to systems with YM2151 and UPD7759. Reviewers can use USE_NL define to produce unfiltered sound.
* use C++ library includes (nw) firewave2020-01-221-4/+4
|
* opengl: clamp to edge, same as the other renderers (nw) hap2020-01-041-8/+8
|
* netlist: Revert development code committed by accident. (nw) couriersud2019-11-261-13/+2
|
* netlist: move nl_examples to src/lib/netlist/examples. (nw) couriersud2019-11-251-2/+13
| | | One folder less in the top-level.
* Opengl: Apply line width provided by renderer. [Couriersud] couriersud2019-11-241-0/+1
|
* Opengl render driver: fix bug preventing adjustment of ... [Couriersud] couriersud2019-11-241-1/+1
| | | | | | | | | | | | gamma, brightness and contrast. Starting MAME with defaults, i.e. gamma == 1.0, no rgb palette will be allocated. If gamma than is changed, a new palette will be allocated. But the texture will not be updated because the palette is not checked. This fix will check for palette changes. Note: if the palette is changed inplace, i.e. without reallocation, this will fail. The correct fix would be that the texture palette is not only a pointer to rgb_t * but to texture_palette_type. texture_palette_type would hold the pointer, the length and a sequential id which is checked in addition to pointer equality.
* opengl: work around Retina issue on macOS Catalina until SDL catches up [R. ↵ arbee2019-11-161-1/+39
| | | | Belmont]
* (nw) get rid of the rest of assert_always - it's better to be explicit about ↵ Vas Crabb2019-09-201-2/+3
| | | | what this thing is supposed to do
* Preliminary Mac native OSD. Not working yet. [R. Belmont] arbee2019-09-151-4/+11
| | | | | | | | This will compile, link, and run a driver all the way to the first info screen, provided you use -video bgfx. However, although there's a valid NSWindow created, it never actually appears on screen for unknown (but likely silly) reasons. Inputs are not implemented and fullscreen exists but is untried.
* -core: Removed TEXFORMAT_PALETTEA16. [Ryan Holtz] MooglyGuy2019-07-101-31/+0
|
* (nw) Clean up the mess on master Vas Crabb2019-03-261-14/+18
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. 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.
* Revert "conflict resolution (nw)" andreasnaive2019-03-251-18/+14
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* OSD/OpenGl: Improve performance by moving calculations out of loop Andreas Müller2019-03-041-14/+18
| | | | | | | | | | | | 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>
* Change window handle storage to template instead of void* (nw) (#1725) Brad Hughes2016-11-171-2/+2
| | | | * Change window handle storage to template instead of void* (nw)
* Fixed USE_DISPATCH_GL compile, seams no-one is actually using it since it is ↵ Miodrag Milanovic2016-11-111-2/+2
| | | | broken for a while (nw)
* Cleanup linux OSD (nw) Miodrag Milanovic2016-10-221-29/+29
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-60/+60
| | | | | 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
* Introduce dynamic_module Giuseppe Gorgoglione2016-06-111-7/+1
| | | | | This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* Procedural texture for vectors in HLSL ImJezze2016-06-051-16/+8
| | | | | | * 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
* Moved extension of vector lines to where it belongs (nw) ImJezze2016-05-221-1/+1
|
* RIP sdlinc.h couriersud2016-05-061-1/+1
|
* Cleanups and version bumpmame0173 Miodrag Milanovic2016-04-271-1/+1
|
* Revert "Temp revert of Brad changes (nw)" Miodrag Milanovic2016-04-251-15/+29
| | | | This reverts commit 5e831f6506ee06f8c30cb113551ee0fec53804db.
* Temp revert of Brad changes (nw) Miodrag Milanovic2016-04-251-29/+15
|
* Refactor OSD window. Brad Hughes2016-04-211-15/+29
| | | | | | | | | | 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.
* These init calls all returned false. No need for a return value in this couriersud2016-04-181-3/+1
| | | case. [Couriersud]
* Standardize platform window pointer storage in osd_window. Brad Hughes2016-04-181-2/+2
| | | | Also encapsulate show/hide capture/release cursor functionality.
* Iterate over core classes C++11 style AJR2016-03-311-38/+37
| | | | | | | | 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).
* Fix D3D and BGFX fullscreen toggle issues, nw therealmogminer@gmail.com2016-02-221-0/+3
|
* Final fixups, get sliders working again, nw therealmogminer@gmail.com2016-02-211-2/+2
|
* First take on render API reorg, nw therealmogminer@gmail.com2016-02-211-606/+143
|
* Remove SDL 1.2 support (nw) Miodrag Milanovic2016-02-161-63/+3
|
* macro removal INLINE -> static inline (nw) Miodrag Milanovic2015-12-121-8/+8
|
* fix SDL on Windows compile Cowering2015-12-061-5/+5
|
* implementation must be removed too (nw) Miodrag Milanovic2015-12-061-2/+2
|
* Fix clang build on OSX/Linux Miodrag Milanovic2015-12-061-1/+1
|
* Fix clang build on OSX/Linux Miodrag Milanovic2015-12-061-1/+3
|
* fix for non-windows os (nw) Miodrag Milanovic2015-12-061-0/+2
|
* fixing some more override (nw) Miodrag Milanovic2015-12-061-13/+13
|
* more cleanups and fix (nw) Miodrag Milanovic2015-11-111-1/+0
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+3294