Recently, I’ve seen patches posted on this mailing list that needed cpu
features detection (esp mmx detection).
I’ve had this idea for some time now, and here is my try at it :
SDL_cpu. This is a small patch that adds cpu features detection to SDL
through a simple function :
SDL_CpuHasFeature(requested_feature). For example,
SDL_CpuHasFeature(SDL_CPU_X86_MMX) returns wether the cpu is mmx-capable.
If it’s accepted I’ll start integrating patches using this interface and
then submit them to this list.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…