Annotation of /trunk/xf86-video-trident/patches/xf86-video-trident-1.3.6-no-xaa.patch
Parent Directory | Revision Log
Revision 2147 -
(hide annotations)
(download)
Wed Apr 3 21:08:02 2013 UTC (11 years, 5 months ago) by niro
File size: 1133 byte(s)
Wed Apr 3 21:08:02 2013 UTC (11 years, 5 months ago) by niro
File size: 1133 byte(s)
-added no xaa patch
1 | niro | 2147 | From 48c15909691e28ad2c188a2978b1c8ef3d9d8760 Mon Sep 17 00:00:00 2001 |
2 | From: Timo Aaltonen <tjaalton@ubuntu.com> | ||
3 | Date: Wed, 26 Sep 2012 08:01:26 +0000 | ||
4 | Subject: Fix loading the driver without XAA | ||
5 | |||
6 | --- | ||
7 | diff --git a/src/trident_dga.c b/src/trident_dga.c | ||
8 | index 0263aa7..c4b5b9a 100644 | ||
9 | --- a/src/trident_dga.c | ||
10 | +++ b/src/trident_dga.c | ||
11 | @@ -37,10 +37,10 @@ | ||
12 | static Bool TRIDENT_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **, | ||
13 | int *, int *, int *); | ||
14 | static Bool TRIDENT_SetMode(ScrnInfoPtr, DGAModePtr); | ||
15 | -static void TRIDENT_Sync(ScrnInfoPtr); | ||
16 | static int TRIDENT_GetViewport(ScrnInfoPtr); | ||
17 | static void TRIDENT_SetViewport(ScrnInfoPtr, int, int, int); | ||
18 | #ifdef HAVE_XAA_H | ||
19 | +static void TRIDENT_Sync(ScrnInfoPtr); | ||
20 | static void TRIDENT_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long); | ||
21 | static void TRIDENT_BlitRect(ScrnInfoPtr, int, int, int, int, int, int); | ||
22 | #if 0 | ||
23 | @@ -56,8 +56,8 @@ DGAFunctionRec TRIDENTDGAFuncs = { | ||
24 | TRIDENT_SetMode, | ||
25 | TRIDENT_SetViewport, | ||
26 | TRIDENT_GetViewport, | ||
27 | - TRIDENT_Sync, | ||
28 | #ifdef HAVE_XAA_H | ||
29 | + TRIDENT_Sync, | ||
30 | TRIDENT_FillRect, | ||
31 | TRIDENT_BlitRect, | ||
32 | #if 0 | ||
33 | -- | ||
34 | cgit v0.9.0.2-2-gbebe |