summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-05-27common_funcs: Provide rotr and rotl for MSVCMerryMage1-12/+18
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-0/+4
2016-03-09Common: Get rid of alignment macrosLioncash1-9/+1
The gl rasterizer already uses alignas, so we may as well move everything over.
2015-10-22gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei1-18/+0
- Includes a check to confirm no hash collisions.
2015-10-22renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei1-0/+18
2015-08-18Fix building under MinGWdarkf1-3/+9
2015-08-16Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei1-1/+1
2015-08-16x64: Refactor to remove fake interfaces and general cleanups.bunnei1-1/+1
2015-08-15Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.bunnei1-1/+1
2015-08-12Stop defining GCC always_inline attributes as __forceinlinearchshift1-1/+2
__forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
2015-07-12don´t define snprintf on Visual Studio 2015Apology111-2/+4
Visual Studio 2015 defines this in stdio now
2015-06-28Common: Remove unused ROUND_UP_POW2 macro.Emmanuel Gil Peyrot1-7/+0
2015-06-28Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot1-4/+0
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner1-2/+0
When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
2015-05-09Common: Add BIT macroYuri Kunde Schlesner1-0/+2
2015-05-07Common: Add proper macros to test for architecture pointer sizeYuri Kunde Schlesner1-7/+0
The old system of just defining macros available in some other platform was susceptible to silently using the wrong code if you forgot to include a particular header. This fixes a crash on non-Windows platforms introduced by e1fbac3ca13d37d2625c11d30cfdece4327b446b.
2015-05-07Common: Move alignment macros to common_funcs.hYuri Kunde Schlesner1-0/+21
2015-05-07Common: Remove more unused compatibility definesYuri Kunde Schlesner1-45/+0
2015-05-07Common: Move IO-specific compatibility macros to file_util.cppYuri Kunde Schlesner1-8/+0
2015-05-07Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner1-7/+3
2015-03-06Removed swap code redundancy and moved common swap code to swap.harchshift1-77/+0
2015-02-22Added information reporting from ThrowFatalErrorarchshift1-2/+0
This was RE'd from the errdisp applet.
2015-02-20Misc cleanup of common and related functionsarchshift1-23/+0
2015-02-20Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift1-3/+2
2015-02-17ConfigMem: Clean up the Config memory to be more like the shared page and movedpurpasmart961-0/+7
the helper macro for padding to common_funcs.h
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-20/+15
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-01-30Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner1-0/+4
2014-12-21License changepurpasmart961-2/+2
2014-12-13Added missing include in common_funcs.hYuri Kunde Schlesner1-0/+1
2014-12-13Remove redundant include from common_funcs.hYuri Kunde Schlesner1-2/+0
2014-12-09Some code cleanup.Tony Wasserka1-0/+2
2014-12-09Fix some headers to include their dependencies properly.Tony Wasserka1-0/+4
2014-12-03Change NULLs to nullptrs.Rohit Nirmal1-1/+1
2014-11-29Fix MinGW builddarkf1-4/+4
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-7/+7
2014-08-17Common: Move header guards over to pragma onceLioncash1-4/+1
Also replaced C headers with the C++ equivalent ones
2014-05-17added MIN, MAX, and CLAMP macros to common_funcsbunnei1-0/+5
2014-04-28fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of itbunnei1-13/+0
2014-04-09got rid of 'src' folders in each sub-projectbunnei1-0/+0
2014-04-02convert tabs to spacesbunnei1-90/+90
2013-09-06start of 3DS memory mapShizZy1-0/+2
2013-09-05replaced common code with dolphin commonShizZy1-0/+243