Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gfxlib2: Control selection of x86 MMX blitters
- added fb.GFX_NO_X86_MMX = &h00000100 constant to fbgfx.bi, when passed as flag to SCREEN[RES] disable MMX blitters on x86 32-bit - added fb.GET_X86_MMX_ENABLED = 18 constant to fbgfx.bi, used with ScreenControl to determine if MMX blitters are selected If returned value is non-zero, then MMX is enabled. If zero, then MMX is disabled. All other platforms return zero. - added fb.SET_X86_MMX_ENABLED = 118 constant to fbgfx.bi, used with ScreenControl to specific if MMX blitters should be used. Pass non-zero value to enable, and zero value to disable. All other platforms ignore this setting - internal: query the cpu type for MMX capability only when setting the graphics mode with SCREEN[RES] or when setting x86 MMX feature with ScreenControl fb.SET_X86_MMX_ENABLED function
- Loading branch information
Showing
6 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters