summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/rendutil.cpp
Commit message (Collapse)AuthorAgeFilesLines
* that doesn't require an instance (nw) Vas Crabb2017-09-031-2/+1
|
* rendlay image_component: detect image format(png) before loading image. No ↵ hap2017-09-021-0/+34
| | | | PNG error message anymore when loading JPG. (nw)
* png: make it not leak memory by default, and look a but more like C++ Vas Crabb2017-08-131-29/+30
|
* png: support 16-bit samples Vas Crabb2017-08-131-8/+8
|
* More PNG handling overhaul: Vas Crabb2017-08-121-107/+25
| | | | | | | * Unify code for copying PNG data into bitmap for MAME and pngcmp * Fix upsampling of monochrome PNGs (need to splat across byte) * Add support for greyscale+alpha * Detect more unsupported conditions rather than just behaving badly
* add minimal support for reading Adam7 interlaced PNG Vas Crabb2017-08-121-96/+146
| | | | | | | | | | | | | (nw) This is the path of least resistance, and I plan to fix it up later, I just wanted to get it to actually work first. Decompression and unfiltering is fully supported, at least for all the pixel formats that previously worked. Expanding 1/2/4bpp to 8bpp should work properly, too. Bitmap mapping for Adam7 is only implemented in rendutil.cpp which is whate everything in MAME uses. The function in png.cpp (used by pngcmp) has not been updated. At some point I'll unify at least one of the functions in rendutil.cpp with the one in png.cpp and we can go from three functions that need to do the mapping down to two at the most.
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-46/+46
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* Revert "Added IS_ENABLED, so we have compiler check for non used part, it is ↵ Miodrag Milanovic2016-11-121-1/+1
| | | | | | checked but not compiled in (nw)" This reverts commit c0407f073bf7afe26407c4add5cfeaf7104913c9.
* Added IS_ENABLED, so we have compiler check for non used part, it is checked ↵ Miodrag Milanovic2016-11-111-1/+1
| | | | | | but not compiled in (nw) false and true now used instead of integer where used as bool
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-1/+1
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-46/+46
| | | | | 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
* some bool <-> int not needed conversions, also cleaned drivenum.* was using ↵ Miodrag Milanovic2016-10-211-11/+11
| | | | memset for clearing vector (nw)
* tagged_list to unordered_map for slots (nw) Miodrag Milanovic2016-06-181-4/+3
|
* Made the way jpeglib.h is included more pretty Julian Sikorski2016-06-151-1/+1
|
* Procedural texture for vectors in HLSL ImJezze2016-06-051-1/+1
| | | | | | * 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-11/+29
|
* Visual Studio compile fix. (nw) dankan18902016-03-281-6/+3
|
* Move jpeglib.h include where it belongs. No need to include this in couriersud2016-03-281-1/+1
| | | rendutil.h.
* rendutil render_load_jpeg: removed unneeded check, deallocate bitmap on error hap2016-03-281-10/+3
|
* moved emu/ui/util render_load_jpeg to emu/rendutil hap2016-03-271-0/+90
| | | | This also adds simple support for loading JPG in external artwork
* 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
* Initial import of MEWUI to MAME [Dankan1890] Dankan18902016-02-041-2/+2
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-5/+5
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+731