My Project
|
Go to the source code of this file.
Macros | |
#define | SDL_CACHELINE_SIZE 128 |
Functions | |
DECLSPEC int SDLCALL | SDL_GetCPUCount (void) |
DECLSPEC int SDLCALL | SDL_GetCPUCacheLineSize (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasRDTSC (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasAltiVec (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasMMX (void) |
DECLSPEC SDL_bool SDLCALL | SDL_Has3DNow (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasSSE (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasSSE2 (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasSSE3 (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasSSE41 (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasSSE42 (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasAVX (void) |
DECLSPEC SDL_bool SDLCALL | SDL_HasAVX2 (void) |
DECLSPEC int SDLCALL | SDL_GetSystemRAM (void) |
CPU feature detection for SDL.
DECLSPEC int SDLCALL SDL_GetCPUCacheLineSize | ( | void | ) |
This function returns the L1 cache line size of the CPU
This is useful for determining multi-threaded structure padding or SIMD prefetch sizes.
DECLSPEC int SDLCALL SDL_GetCPUCount | ( | void | ) |
This function returns the number of CPU cores available.
DECLSPEC int SDLCALL SDL_GetSystemRAM | ( | void | ) |
This function returns the amount of RAM configured in the system, in MB.
DECLSPEC SDL_bool SDLCALL SDL_Has3DNow | ( | void | ) |
This function returns true if the CPU has 3DNow! features.
DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec | ( | void | ) |
This function returns true if the CPU has AltiVec features.
DECLSPEC SDL_bool SDLCALL SDL_HasAVX | ( | void | ) |
This function returns true if the CPU has AVX features.
DECLSPEC SDL_bool SDLCALL SDL_HasAVX2 | ( | void | ) |
This function returns true if the CPU has AVX2 features.
DECLSPEC SDL_bool SDLCALL SDL_HasMMX | ( | void | ) |
This function returns true if the CPU has MMX features.
DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC | ( | void | ) |
This function returns true if the CPU has the RDTSC instruction.
DECLSPEC SDL_bool SDLCALL SDL_HasSSE | ( | void | ) |
This function returns true if the CPU has SSE features.
DECLSPEC SDL_bool SDLCALL SDL_HasSSE2 | ( | void | ) |
This function returns true if the CPU has SSE2 features.
DECLSPEC SDL_bool SDLCALL SDL_HasSSE3 | ( | void | ) |
This function returns true if the CPU has SSE3 features.
DECLSPEC SDL_bool SDLCALL SDL_HasSSE41 | ( | void | ) |
This function returns true if the CPU has SSE4.1 features.
DECLSPEC SDL_bool SDLCALL SDL_HasSSE42 | ( | void | ) |
This function returns true if the CPU has SSE4.2 features.