summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/rgbutil.h
Commit message (Collapse)AuthorAgeFilesLines
* video/voodoo.cpp: Major rewrite: (#8267) Aaron Giles2021-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed to use modern poly.h instead of polylgcy.h. * Moved helper classes into separate voodoo namespace. * Derived device classes from video_device_interface. * Split classes so that later versions derive from earlier versions. * Created device maps to be directly included. * Redesigned register mapping to use helper classes and delegates. * Rewrote rasterizers to use C++ templates instead of macros. * Added logic to compute equations for color/texture combine units. * Added special generic identity-texel rasterizer cases. * Removed pipeline stalls on texture and palette changes. * Removed pipeline stalls on most all parameter changes. * Generally re-thought and cleaned up logic throughout. * Parameterized cycle stealing on status reads; updated all existing voodoo consumers to configure it as it was before. -vidoe/poly.h: Various improvements: * Exposed poly_array class for broader use. * Changed poly_array to intelligently determine maximum size. * Added logic to track multiple "last" instances in poly_array. * Extended logic to support up to 16m work items. * Removed MaxPolys parameter from poly_manager template. * Added Flags parameter to poly_manager template. * Added POLY_FLAG_NO_CLIPPING flag to remove clipping code when not needed. * poly_manager now supports a MaxParams value of 0. * Made paramcount a template parameter for render_* functions. * Added reset_after_wait() method to be overridden by derived classes. * Switched to using std:: helpers instead of internal methods. * Removed useless dependency on screen_device. * TRACK_POLY_WAITS now produces more complete statistics. -video/polylgcy.cpp: Removed legacy implementation of polygon renderer. -machine/gt64xxx.cpp: Prevent lockups by disallowing 0-duration timers. -machine/pci.cpp: Added support for adding subdevice maps directly. -emu/video/rgbsse.h: Improved min/max for SSE4.1+ and scale+clamp operations for all. -emu/vidoe/rgbutil.h: Made palette expansion constexpr and added argbexpand function. -osd/osdcore.cpp: Changed osd_ticks to use QueryPerformanceCounter on Windows since the mingw std::chrono::high_resolution_clock is anything but.
* emu/video: check macros are defined before doing comparisons, also fix a ↵ Vas Crabb2020-08-211-1/+1
| | | | typo in docs
* Clean up the preprocessor glue for selecting RGB utility implementation a little Vas Crabb2020-08-211-1/+8
|
* rgbsse: Optimize some sse routines. (nw) (#2700) tedgreen992017-10-091-0/+1
| | | | | | * rgbsse: Optimize some sse routines. (nw) * rgbsse: Create a generic getter instead of having individual color operation. (nw) * rgbsse: Allow up to 12 bits for scaling factors. (nw)
* Introduce validity checks for RGB utilities and fix bugs uncovered [Vas Crabb] Vas Crabb2016-07-141-4/+4
| | | | | | | | | | | | * Added several missing functions to rgbgen * Fixed logical shift right in rgbgen * Fixed sra that should be sra_imm in rdptpipe * Added some simple SSE4.1 optimisations in rgbsse * Re-organised rgbsse, rgbvmx and rgbgen to be in more logical order * Fixed return on some modifying operators * Made some more reference parameters const * Removed inline qualifier from a number of methods as it's implied when body is present at declaration * Mark some constructors explicit
* Put in ICE-causing code for others to test therealmogminer@gmail.com2015-06-231-31/+0
|
* Convert rgbint and rgbaint globals to a class (nw) therealmogminer@gmail.com2015-06-231-0/+31
|
* cleanup of bogus copyright messages and restriction texts, update for Daniel ↵ Miodrag Milanovic2015-05-251-3/+0
| | | | Coulom (nw)
* updated licenses for most of devices (nw) Miodrag Milanovic2015-05-141-2/+2
|
* Added dummy license headers for EMU section (nw) Miodrag Milanovic2015-05-071-0/+2
|
* also enable rgbsse.h for optimized (GCC only) DEBUG builds (nw) Oliver Stöneberg2014-06-051-1/+1
|
* enabled rgbsse.h for Visual Studio 64-bit builds as well and use rgbgen.h ↵ Oliver Stöneberg2014-05-071-1/+1
| | | | for all DEBUG builds since this is the fastest combination [Oliver Stöneberg]
* Copyright cleanup: Aaron Giles2008-01-061-1/+1
| | | | | | - removed years from copyright notices - removed redundant (c) from copyright notices - updated "the MAME Team" to be "Nicola Salmoria and the MAME Team"
* Changes for MAME 0.121u4.mame0121u4 Aaron Giles2007-12-171-1/+1
|
* Initial checkin of MAME 0.121.mame0121 Aaron Giles2007-12-171-0/+25