mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Sat Mar 26 18:49:21 2005 Soeren Sandmann <sandmann@redhat.com>
programs/Xserver/fb/fbmmx.h New function. Hook it up here
This commit is contained in:
parent
0d33b58837
commit
476ae15640
4 changed files with 117 additions and 2 deletions
14
fb/fbpict.c
14
fb/fbpict.c
|
|
@ -1088,7 +1088,12 @@ fbComposite (CARD8 op,
|
|||
switch (pDst->format) {
|
||||
case PICT_a8r8g8b8:
|
||||
case PICT_x8r8g8b8:
|
||||
func = fbCompositeSrc_8888x8888;
|
||||
#ifdef USE_MMX
|
||||
if (fbHaveMMX())
|
||||
func = fbCompositeSrc_8888x8888mmx;
|
||||
else
|
||||
#endif
|
||||
func = fbCompositeSrc_8888x8888;
|
||||
break;
|
||||
case PICT_r8g8b8:
|
||||
func = fbCompositeSrc_8888x0888;
|
||||
|
|
@ -1123,7 +1128,12 @@ fbComposite (CARD8 op,
|
|||
switch (pDst->format) {
|
||||
case PICT_a8b8g8r8:
|
||||
case PICT_x8b8g8r8:
|
||||
func = fbCompositeSrc_8888x8888;
|
||||
#ifdef USE_MMX
|
||||
if (fbHaveMMX())
|
||||
func = fbCompositeSrc_8888x8888mmx;
|
||||
else
|
||||
#endif
|
||||
func = fbCompositeSrc_8888x8888;
|
||||
break;
|
||||
case PICT_b8g8r8:
|
||||
func = fbCompositeSrc_8888x0888;
|
||||
|
|
|
|||
Loading…
Reference in a new issue