summaryrefslogtreecommitdiff
path: root/include/SDL_bits.h
Commit message (Collapse)AuthorAgeFilesLines
* simplify Watcom implementation of SDL_MostSignificantBitIndex32()Ozkan Sezer2021-01-041-4/+3
|
* Implement SDL_MostSignificantBitIndex32 using MSVC intrinsicsCameron Gutman2021-01-031-0/+6
|
* Updated copyright for 2021Sam Lantinga2021-01-021-1/+1
|
* Updated copyright date for 2020Sam Lantinga2020-01-161-1/+1
|
* Updated copyright for 2019Sam Lantinga2019-01-041-1/+1
|
* Fixed bug 4391 - hid_enumerate() sometimes causes game to freeze for a few ↵Sam Lantinga2018-11-191-0/+9
| | | | | | | | seconds Daniel Gibson Even though my game (dhewm3) doesn't use SDL_INIT_JOYSTICK, SDL_PumpEvent() calls SDL_JoystickUpdate() which ends up calling hid_enumerate() every three seconds, and sometimes on my Win7 box hid_enumerate() takes about 5 seconds, which causes the whole game to freeze for that time.
* Updated copyright for 2018Sam Lantinga2018-01-031-1/+1
|
* Fixed bug 3791 - SDL_bits.h: __builtin_clz is supported in gcc >= 3.4Sam Lantinga2017-08-311-1/+1
| | | | | | | Ozkan Sezer __builtin_clz is supported in gcc >= 3.4. The following patchlet adjusts SDL_bits.h for it.
* SDL_bits.h: add __builtin_clz equivalent for Watcom/x86 as inline asmOzkan Sezer2017-08-171-0/+15
| | | | Partially fixes Bugzilla #3758.
* Updated copyright for 2017Sam Lantinga2017-01-011-1/+1
|
* Renaming of guard header names to quiet -Wreserved-id-macroSam Lantinga2016-11-201-3/+3
| | | | Patch contributed by Sylvain
* Updated copyright to 2016Sam Lantinga2016-01-021-1/+1
|
* Updated the copyright year to 2015Sam Lantinga2015-05-261-1/+1
|
* Fixed bug 2374 - Update copyright for 2014...Sam Lantinga2014-02-021-1/+1
| | | | Is it that time already??
* Fixed whitespaceSam Lantinga2013-08-081-8/+8
|
* The return value of SDL_MostSignificantBitIndex32(0) is defined as -1.Sam Lantinga2013-08-071-6/+13
|
* File style cleanup for the SDL 2.0 releaseSam Lantinga2013-05-181-4/+0
|
* Don't use __builtin_clz() on gcc2. (thanks, Axel!)Ryan C. Gordon2013-03-291-1/+1
| | | | Fixes Bugzilla #1771.
* Replace all the "static __inline__" functions with SDL_FORCE_INLINE.Ryan C. Gordon2013-03-151-6/+1
|
* New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.J?rgen P. Tjern?2013-02-131-16/+13
| | | | | | - Updated Visual Studio 2010 project with SDL 2.0 library names - Don't use a 256 byte LUT, but rather <32 bytes of data on the stack. - Cleanups in SDL_gamecontroller.h
* Don't clobber refcounting in SDL_Init.J?rgen P. Tjern?2013-02-121-0/+102
- Fixes bug 1712 by not overwriting SDL_SubsystemRefCount in SDL_Init. - Removes the SDL_initialized variable, and makes SDL_SubsystemRefCount the canonical source of truth for whether or not a subsystem has been initialized. - Refactors SDL_InitSubSystem and SDL_QuitSubSystem to use helper functions to manage refcount. - Adds automated tests for SDL_Init/Quit*. - Adds SDL_bits.h which contains SDL_MostSignificantBitIndex.