1
/* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaa.h,v 1.38 2002/10/21 01:54:04 mvojkovi Exp $ */
8
******** OPERATION SPECIFIC FLAGS *********
10
**** solid/dashed line flags ****
13
23 LINE_PATTERN_LSBFIRST_MSBJUSTIFIED
14
22 LINE_PATTERN_LSBFIRST_LSBJUSTIFIED
15
21 LINE_PATTERN_MSBFIRST_MSBJUSTIFIED
16
20 LINE_PATTERN_MSBFIRST_LSBJUSTIFIED
17
19 LINE_PATTERN_POWER_OF_2_ONLY
23
**** screen to screen copy flags ****
26
23 ONLY_LEFT_TO_RIGHT_BITBLT
27
22 ONLY_TWO_BITBLT_DIRECTIONS
36
**** clipping flags ****
40
22 HARDWARE_CLIP_SCREEN_TO_SCREEN_COLOR_EXPAND
41
21 HARDWARE_CLIP_SCREEN_TO_SCREEN_COPY
42
20 HARDWARE_CLIP_MONO_8x8_FILL
43
19 HARDWARE_CLIP_COLOR_8x8_FILL
44
18 HARDWARE_CLIP_SOLID_FILL
45
17 HARDWARE_CLIP_DASHED_LINE
46
16 HARDWARE_CLIP_SOLID_LINE
50
**** hardware pattern flags ****
55
21 HARDWARE_PATTERN_SCREEN_ORIGIN
59
17 HARDWARE_PATTERN_PROGRAMMED_ORIGIN
60
16 HARDWARE_PATTERN_PROGRAMMED_BITS
63
**** write pixmap flags ****
73
16 CONVERT_32BPP_TO_24BPP
77
******** GENERIC FLAGS *********
80
15 SYNC_AFTER_COLOR_EXPAND
81
14 CPU_TRANSFER_PAD_QWORD
83
12 LEFT_EDGE_CLIPPING_NEGATIVE_X
85
10 CPU_TRANSFER_BASE_FIXED
86
9 BIT_ORDER_IN_BYTE_MSBFIRST
87
8 TRANSPARENCY_GXCOPY_ONLY
102
#include "gcstruct.h"
103
#include "pixmapstr.h"
105
#include "regionstr.h"
106
#include "xf86fbman.h"
109
#include "picturestr.h"
113
#define PIXMAP_CACHE 0x00000001
114
#define MICROSOFT_ZERO_LINE_BIAS 0x00000002
115
#define OFFSCREEN_PIXMAPS 0x00000004
116
#define LINEAR_FRAMEBUFFER 0x00000008
119
/* GC fg, bg, and planemask restrictions */
120
#define GXCOPY_ONLY 0x00000001
121
#define NO_GXCOPY 0x00000002
122
#define NO_PLANEMASK 0x00000004
123
#define RGB_EQUAL 0x00000008
124
#define TRIPLE_BITS_24BPP 0x00000010
125
#define ROP_NEEDS_SOURCE 0x00000020
127
/* transparency restrictions */
128
#define TRANSPARENCY_ONLY 0x00000040
129
#define NO_TRANSPARENCY 0x00000080
130
#define TRANSPARENCY_GXCOPY_ONLY 0x00000100
132
/* bit order restrictions */
133
#define BIT_ORDER_IN_BYTE_MSBFIRST 0x00000200
134
#define BIT_ORDER_IN_BYTE_LSBFIRST 0x00000000
136
/* transfer base restriction */
137
#define CPU_TRANSFER_BASE_FIXED 0x00000400
139
/* skipleft restrictions */
140
#define LEFT_EDGE_CLIPPING 0x00000800
141
#define LEFT_EDGE_CLIPPING_NEGATIVE_X 0x00001000
144
#define CPU_TRANSFER_PAD_DWORD 0x00000000
145
#define CPU_TRANSFER_PAD_QWORD 0x00004000
146
#define SCANLINE_PAD_DWORD 0x00000000
148
#define SYNC_AFTER_COLOR_EXPAND 0x00008000
149
#define SYNC_AFTER_IMAGE_WRITE SYNC_AFTER_COLOR_EXPAND
151
/* hardware pattern */
152
#define HARDWARE_PATTERN_PROGRAMMED_BITS 0x00010000
153
#define HARDWARE_PATTERN_PROGRAMMED_ORIGIN 0x00020000
154
#define HARDWARE_PATTERN_SCREEN_ORIGIN 0x00200000
157
#define ONLY_TWO_BITBLT_DIRECTIONS 0x00400000
158
#define ONLY_LEFT_TO_RIGHT_BITBLT 0x00800000
161
#define LINE_PATTERN_LSBFIRST_MSBJUSTIFIED 0x00800000
162
#define LINE_PATTERN_LSBFIRST_LSBJUSTIFIED 0x00400000
163
#define LINE_PATTERN_MSBFIRST_MSBJUSTIFIED 0x00200000
164
#define LINE_PATTERN_MSBFIRST_LSBJUSTIFIED 0x00100000
165
#define LINE_PATTERN_POWER_OF_2_ONLY 0x00080000
166
#define LINE_LIMIT_COORDS 0x00040000
169
#define HARDWARE_CLIP_SCREEN_TO_SCREEN_COLOR_EXPAND 0x00400000
170
#define HARDWARE_CLIP_SCREEN_TO_SCREEN_COPY 0x00200000
171
#define HARDWARE_CLIP_MONO_8x8_FILL 0x00100000
172
#define HARDWARE_CLIP_COLOR_8x8_FILL 0x00080000
173
#define HARDWARE_CLIP_SOLID_FILL 0x00040000
174
#define HARDWARE_CLIP_DASHED_LINE 0x00020000
175
#define HARDWARE_CLIP_SOLID_LINE 0x00010000
177
#define HARDWARE_CLIP_LINE 0x00000000
180
/* image write flags */
181
#define CONVERT_32BPP_TO_24BPP 0x00010000
183
/* pixmap cache flags */
184
#define CACHE_MONO_8x8 0x00000001
185
#define CACHE_COLOR_8x8 0x00000002
186
#define DO_NOT_BLIT_STIPPLES 0x00000004
187
#define DO_NOT_TILE_MONO_DATA 0x00000008
188
#define DO_NOT_TILE_COLOR_DATA 0x00000010
193
#define DEGREES_180 2
194
#define DEGREES_270 3
200
#define XAA_RENDER_POWER_OF_2_TILE_ONLY 0x00000008
201
#define XAA_RENDER_NO_SRC_ALPHA 0x00000004
202
#define XAA_RENDER_IMPRECISE_ONLY 0x00000002
203
#define XAA_RENDER_NO_TILE 0x00000001
205
#define XAA_RENDER_REPEAT 0x00000001
207
typedef void (* ValidateGCProcPtr)(
209
unsigned long changes,
221
} NonTEGlyphInfo, *NonTEGlyphPtr;
231
unsigned long serialNumber;
239
} XAACacheInfoRec, *XAACacheInfoPtr;
242
typedef struct _PixmapLink {
244
struct _PixmapLink *next;
246
} PixmapLink, *PixmapLinkPtr;
248
typedef struct _XAAInfoRec {
256
/* Restore Accel State is a driver callback that is used
257
* when another screen on the same device has been active.
258
* This allows multihead on a single device to work.
259
* If The entityProp has IS_SHARED_ACCEL defined then this
260
* function is required.
263
void (*RestoreAccelState)(
267
/***************** Low Level *****************/
270
void (*SetupForScreenToScreenCopy)(
274
unsigned int planemask,
277
int ScreenToScreenCopyFlags;
279
void (*SubsequentScreenToScreenCopy)(
288
void (*SetupForSolidFill)(
292
unsigned int planemask
296
void (*SubsequentSolidFillRect)(
298
int x, int y, int w, int h
301
void (*SubsequentSolidFillTrap)(
304
int left, int dxL, int dyL, int eL,
305
int right, int dxR, int dyR, int eR
311
void (*SetupForSolidLine)(
315
unsigned int planemask
319
void (*SubsequentSolidTwoPointLine)(
321
int xa, int ya, int xb, int yb, int flags
324
void (*SubsequentSolidBresenhamLine)(
326
int x, int y, int absmaj, int absmin, int err, int len, int octant
328
int SolidBresenhamLineErrorTermBits;
330
void (*SubsequentSolidHorVertLine)(
332
int x, int y, int len, int dir
337
void (*SetupForDashedLine)(
341
unsigned int planemask,
343
unsigned char *pattern
346
int DashPatternMaxLength;
348
void (*SubsequentDashedTwoPointLine)(
350
int xa, int ya, int xb, int yb, int flags, int phase
353
void (*SubsequentDashedBresenhamLine)(
355
int x, int y, int absmaj, int absmin, int err, int len, int flags,
358
int DashedBresenhamLineErrorTermBits;
362
void (*SetClippingRectangle) (
364
int left, int top, int right, int bottom
368
void (*DisableClipping)(ScrnInfoPtr pScrn);
370
/* 8x8 mono pattern fills */
371
void (*SetupForMono8x8PatternFill)(
376
unsigned int planemask
378
int Mono8x8PatternFillFlags;
380
void (*SubsequentMono8x8PatternFillRect)(
383
int x, int y, int w, int h
386
void (*SubsequentMono8x8PatternFillTrap)(
390
int left, int dxL, int dyL, int eL,
391
int right, int dxR, int dyR, int eR
394
/* 8x8 color pattern fills */
396
void (*SetupForColor8x8PatternFill)(
400
unsigned int planemask,
401
int transparency_color
403
int Color8x8PatternFillFlags;
405
void (*SubsequentColor8x8PatternFillRect)(
408
int x, int y, int w, int h
411
void (*SubsequentColor8x8PatternFillTrap)(
415
int left, int dxL, int dyL, int eL,
416
int right, int dxR, int dyR, int eR
420
/* Color expansion */
422
void (*SetupForCPUToScreenColorExpandFill)(
426
unsigned int planemask
428
int CPUToScreenColorExpandFillFlags;
430
void (*SubsequentCPUToScreenColorExpandFill)(
432
int x, int y, int w, int h,
436
unsigned char *ColorExpandBase;
437
int ColorExpandRange;
440
/* Scanline color expansion */
442
void (*SetupForScanlineCPUToScreenColorExpandFill)(
446
unsigned int planemask
448
int ScanlineCPUToScreenColorExpandFillFlags;
450
void (*SubsequentScanlineCPUToScreenColorExpandFill)(
452
int x, int y, int w, int h,
456
void (*SubsequentColorExpandScanline)(
461
int NumScanlineColorExpandBuffers;
462
unsigned char **ScanlineColorExpandBuffers;
464
/* Screen to screen color expansion */
466
void (*SetupForScreenToScreenColorExpandFill) (
470
unsigned int planemask
472
int ScreenToScreenColorExpandFillFlags;
474
void (*SubsequentScreenToScreenColorExpandFill)(
476
int x, int y, int w, int h,
477
int srcx, int srcy, int skipleft
481
/* Image transfers */
483
void (*SetupForImageWrite)(
486
unsigned int planemask,
487
int transparency_color,
492
void (*SubsequentImageWriteRect)(
494
int x, int y, int w, int h,
497
unsigned char *ImageWriteBase;
500
/* Scanline Image transfers */
502
void (*SetupForScanlineImageWrite)(
505
unsigned int planemask,
506
int transparency_color,
509
int ScanlineImageWriteFlags;
511
void (*SubsequentScanlineImageWriteRect)(
513
int x, int y, int w, int h,
517
void (*SubsequentImageWriteScanline) (
522
int NumScanlineImageWriteBuffers;
523
unsigned char **ScanlineImageWriteBuffers;
525
/* Image Reads - OBSOLETE AND NOT USED */
527
void (*SetupForImageRead) (
533
unsigned char *ImageReadBase;
536
void (*SubsequentImageReadRect)(
538
int x, int y, int w, int h
542
/***************** Mid Level *****************/
543
void (*ScreenToScreenBitBlt)(
550
unsigned int planmask
552
int ScreenToScreenBitBltFlags;
554
void (*WriteBitmap) (
556
int x, int y, int w, int h,
562
unsigned int planemask
564
int WriteBitmapFlags;
566
void (*FillSolidRects)(
569
unsigned int planemask,
573
int FillSolidRectsFlags;
575
void (*FillMono8x8PatternRects)(
577
int fg, int bg, int rop,
578
unsigned int planemask,
584
int FillMono8x8PatternRectsFlags;
586
void (*FillColor8x8PatternRects)(
589
unsigned int planemask,
593
XAACacheInfoPtr pCache
595
int FillColor8x8PatternRectsFlags;
597
void (*FillCacheBltRects)(
600
unsigned int planemask,
604
XAACacheInfoPtr pCache
606
int FillCacheBltRectsFlags;
608
void (*FillColorExpandRects)(
610
int fg, int bg, int rop,
611
unsigned int planemask,
617
int FillColorExpandRectsFlags;
619
void (*FillCacheExpandRects)(
621
int fg, int bg, int rop,
622
unsigned int planemask,
628
int FillCacheExpandRectsFlags;
630
void (*FillImageWriteRects)(
633
unsigned int planemask,
639
int FillImageWriteRectsFlags;
642
void (*FillSolidSpans)(
645
unsigned int planemask,
651
int FillSolidSpansFlags;
653
void (*FillMono8x8PatternSpans)(
655
int fg, int bg, int rop,
656
unsigned int planemask,
664
int FillMono8x8PatternSpansFlags;
666
void (*FillColor8x8PatternSpans)(
669
unsigned int planemask,
674
XAACacheInfoPtr pCache,
677
int FillColor8x8PatternSpansFlags;
679
void (*FillCacheBltSpans)(
682
unsigned int planemask,
687
XAACacheInfoPtr pCache,
690
int FillCacheBltSpansFlags;
692
void (*FillColorExpandSpans)(
694
int fg, int bg, int rop,
695
unsigned int planemask,
703
int FillColorExpandSpansFlags;
705
void (*FillCacheExpandSpans)(
707
int fg, int bg, int rop,
708
unsigned int planemask,
716
int FillCacheExpandSpansFlags;
718
void (*TEGlyphRenderer)(
720
int x, int y, int w, int h, int skipleft, int startline,
721
unsigned int **glyphs, int glyphWidth,
722
int fg, int bg, int rop, unsigned planemask
724
int TEGlyphRendererFlags;
726
void (*NonTEGlyphRenderer)(
729
NonTEGlyphPtr glyphs,
732
unsigned int planemask
734
int NonTEGlyphRendererFlags;
736
void (*WritePixmap) (
738
int x, int y, int w, int h,
742
unsigned int planemask,
743
int transparency_color,
746
int WritePixmapFlags;
750
int x, int y, int w, int h,
757
/***************** GC Level *****************/
758
RegionPtr (*CopyArea)(
759
DrawablePtr pSrcDrawable,
760
DrawablePtr pDstDrawable,
763
int width, int height,
768
RegionPtr (*CopyPlane)(
773
int width, int height,
775
unsigned long bitPlane
779
void (*PushPixelsSolid) (
782
DrawablePtr pDrawable,
790
void (*PolyFillRectSolid)(
794
xRectangle *prectInit
796
int PolyFillRectSolidFlags;
798
void (*PolyFillRectStippled)(
802
xRectangle *prectInit
804
int PolyFillRectStippledFlags;
806
void (*PolyFillRectOpaqueStippled)(
810
xRectangle *prectInit
812
int PolyFillRectOpaqueStippledFlags;
814
void (*PolyFillRectTiled)(
818
xRectangle *prectInit
820
int PolyFillRectTiledFlags;
824
void (*FillSpansSolid)(
832
int FillSpansSolidFlags;
834
void (*FillSpansStippled)(
842
int FillSpansStippledFlags;
844
void (*FillSpansOpaqueStippled)(
852
int FillSpansOpaqueStippledFlags;
854
void (*FillSpansTiled)(
862
int FillSpansTiledFlags;
871
int PolyText8TEFlags;
873
int (*PolyText16TE) (
878
unsigned short *chars
880
int PolyText16TEFlags;
882
void (*ImageText8TE) (
889
int ImageText8TEFlags;
891
void (*ImageText16TE) (
896
unsigned short *chars
898
int ImageText16TEFlags;
900
void (*ImageGlyphBltTE) (
901
DrawablePtr pDrawable,
903
int xInit, int yInit,
908
int ImageGlyphBltTEFlags;
910
void (*PolyGlyphBltTE) (
911
DrawablePtr pDrawable,
913
int xInit, int yInit,
918
int PolyGlyphBltTEFlags;
920
int (*PolyText8NonTE) (
927
int PolyText8NonTEFlags;
929
int (*PolyText16NonTE) (
934
unsigned short *chars
936
int PolyText16NonTEFlags;
938
void (*ImageText8NonTE) (
945
int ImageText8NonTEFlags;
947
void (*ImageText16NonTE) (
952
unsigned short *chars
954
int ImageText16NonTEFlags;
956
void (*ImageGlyphBltNonTE) (
957
DrawablePtr pDrawable,
959
int xInit, int yInit,
964
int ImageGlyphBltNonTEFlags;
966
void (*PolyGlyphBltNonTE) (
967
DrawablePtr pDrawable,
969
int xInit, int yInit,
974
int PolyGlyphBltNonTEFlags;
976
void (*PolyRectangleThinSolid)(
977
DrawablePtr pDrawable,
980
xRectangle *pRectsInit
982
int PolyRectangleThinSolidFlags;
984
void (*PolylinesWideSolid)(
985
DrawablePtr pDrawable,
991
int PolylinesWideSolidFlags;
993
void (*PolylinesThinSolid)(
994
DrawablePtr pDrawable,
1000
int PolylinesThinSolidFlags;
1002
void (*PolySegmentThinSolid)(
1003
DrawablePtr pDrawable,
1008
int PolySegmentThinSolidFlags;
1010
void (*PolylinesThinDashed)(
1011
DrawablePtr pDrawable,
1017
int PolylinesThinDashedFlags;
1019
void (*PolySegmentThinDashed)(
1020
DrawablePtr pDrawable,
1025
int PolySegmentThinDashedFlags;
1027
void (*FillPolygonSolid)(
1028
DrawablePtr pDrawable,
1035
int FillPolygonSolidFlags;
1037
void (*FillPolygonStippled)(
1038
DrawablePtr pDrawable,
1045
int FillPolygonStippledFlags;
1047
void (*FillPolygonOpaqueStippled)(
1048
DrawablePtr pDrawable,
1055
int FillPolygonOpaqueStippledFlags;
1057
void (*FillPolygonTiled)(
1058
DrawablePtr pDrawable,
1065
int FillPolygonTiledFlags;
1067
void (*PolyFillArcSolid)(
1073
int PolyFillArcSolidFlags;
1089
/* Validation masks */
1091
unsigned long FillSpansMask;
1092
ValidateGCProcPtr ValidateFillSpans;
1093
unsigned long SetSpansMask;
1094
ValidateGCProcPtr ValidateSetSpans;
1095
unsigned long PutImageMask;
1096
ValidateGCProcPtr ValidatePutImage;
1097
unsigned long CopyAreaMask;
1098
ValidateGCProcPtr ValidateCopyArea;
1099
unsigned long CopyPlaneMask;
1100
ValidateGCProcPtr ValidateCopyPlane;
1101
unsigned long PolyPointMask;
1102
ValidateGCProcPtr ValidatePolyPoint;
1103
unsigned long PolylinesMask;
1104
ValidateGCProcPtr ValidatePolylines;
1105
unsigned long PolySegmentMask;
1106
ValidateGCProcPtr ValidatePolySegment;
1107
unsigned long PolyRectangleMask;
1108
ValidateGCProcPtr ValidatePolyRectangle;
1109
unsigned long PolyArcMask;
1110
ValidateGCProcPtr ValidatePolyArc;
1111
unsigned long FillPolygonMask;
1112
ValidateGCProcPtr ValidateFillPolygon;
1113
unsigned long PolyFillRectMask;
1114
ValidateGCProcPtr ValidatePolyFillRect;
1115
unsigned long PolyFillArcMask;
1116
ValidateGCProcPtr ValidatePolyFillArc;
1117
unsigned long PolyText8Mask;
1118
ValidateGCProcPtr ValidatePolyText8;
1119
unsigned long PolyText16Mask;
1120
ValidateGCProcPtr ValidatePolyText16;
1121
unsigned long ImageText8Mask;
1122
ValidateGCProcPtr ValidateImageText8;
1123
unsigned long ImageText16Mask;
1124
ValidateGCProcPtr ValidateImageText16;
1125
unsigned long PolyGlyphBltMask;
1126
ValidateGCProcPtr ValidatePolyGlyphBlt;
1127
unsigned long ImageGlyphBltMask;
1128
ValidateGCProcPtr ValidateImageGlyphBlt;
1129
unsigned long PushPixelsMask;
1130
ValidateGCProcPtr ValidatePushPixels;
1132
void (*ComputeDash)(GCPtr pGC);
1136
int PixmapCacheFlags;
1137
Bool UsingPixmapCache;
1141
void (*InitPixmapCache)(
1146
void (*ClosePixmapCache)(
1150
int (*StippledFillChooser)(GCPtr pGC);
1151
int (*OpaqueStippledFillChooser)(GCPtr pGC);
1152
int (*TiledFillChooser)(GCPtr pGC);
1154
int CachePixelGranularity;
1155
int MaxCacheableTileWidth;
1156
int MaxCacheableTileHeight;
1157
int MaxCacheableStippleWidth;
1158
int MaxCacheableStippleHeight;
1160
XAACacheInfoPtr (*CacheTile)(
1161
ScrnInfoPtr Scrn, PixmapPtr pPix
1163
XAACacheInfoPtr (*CacheStipple)(
1164
ScrnInfoPtr Scrn, PixmapPtr pPix,
1167
XAACacheInfoPtr (*CacheMonoStipple)(
1168
ScrnInfoPtr Scrn, PixmapPtr pPix
1170
XAACacheInfoPtr (*CacheMono8x8Pattern)(
1171
ScrnInfoPtr Scrn, int pat0, int pat1
1173
XAACacheInfoPtr (*CacheColor8x8Pattern)(
1174
ScrnInfoPtr Scrn, PixmapPtr pPix,
1179
int MonoPatternPitch;
1180
int CacheWidthMono8x8Pattern;
1181
int CacheHeightMono8x8Pattern;
1183
int ColorPatternPitch;
1184
int CacheWidthColor8x8Pattern;
1185
int CacheHeightColor8x8Pattern;
1187
int CacheColorExpandDensity;
1189
void (*WriteBitmapToCache) (
1191
int x, int y, int w, int h,
1196
void (*WritePixmapToCache) (
1198
int x, int y, int w, int h,
1203
void (*WriteMono8x8PatternToCache)(
1205
XAACacheInfoPtr pCache
1207
void (*WriteColor8x8PatternToCache)(
1210
XAACacheInfoPtr pCache
1213
char* PixmapCachePrivate;
1219
unsigned char *PreAllocMem;
1221
CharInfoPtr CharInfo[255];
1222
NonTEGlyphInfo GlyphInfo[255];
1224
unsigned int FullPlanemask; /* deprecated */
1226
PixmapLinkPtr OffscreenPixmaps;
1228
int maxOffPixHeight;
1230
XAACacheInfoRec ScratchCacheInfoRec;
1238
/* These can be supplied to override the defaults */
1240
GetImageProcPtr GetImage;
1241
GetSpansProcPtr GetSpans;
1242
PaintWindowBackgroundProcPtr PaintWindowBackground;
1243
PaintWindowBorderProcPtr PaintWindowBorder;
1244
CopyWindowProcPtr CopyWindow;
1245
BackingStoreSaveAreasProcPtr SaveAreas;
1246
BackingStoreRestoreAreasProcPtr RestoreAreas;
1248
unsigned int offscreenDepths;
1249
Bool offscreenDepthsInitialized;
1251
CARD32 FullPlanemasks[32];
1273
PictFormatPtr maskFormat,
1281
/* The old SetupForCPUToScreenAlphaTexture function is no longer used because
1282
* it doesn't pass in enough information to write a conforming
1283
* implementation. See SetupForCPUToScreenAlphaTexture2.
1285
Bool (*SetupForCPUToScreenAlphaTexture) (
1299
void (*SubsequentCPUToScreenAlphaTexture) (
1308
int CPUToScreenAlphaTextureFlags;
1309
CARD32 * CPUToScreenAlphaTextureFormats;
1311
/* The old SetupForCPUToScreenTexture function is no longer used because
1312
* it doesn't pass in enough information to write a conforming
1313
* implementation. See SetupForCPUToScreenTexture2.
1315
Bool (*SetupForCPUToScreenTexture) (
1325
void (*SubsequentCPUToScreenTexture) (
1334
int CPUToScreenTextureFlags;
1335
CARD32 * CPUToScreenTextureFormats;
1340
/* these were added for 4.3.0 */
1341
BoxRec SolidLineLimits;
1342
BoxRec DashedLineLimits;
1345
/* These were added for X.Org 6.8.0 */
1346
Bool (*SetupForCPUToScreenAlphaTexture2) (
1361
CARD32 *CPUToScreenAlphaTextureDstFormats;
1363
Bool (*SetupForCPUToScreenTexture2) (
1374
CARD32 *CPUToScreenTextureDstFormats;
1376
} XAAInfoRec, *XAAInfoRecPtr;
1378
#define SET_SYNC_FLAG(infoRec) (infoRec)->NeedToSync = TRUE
1384
XAAInfoRecPtr infoRec
1387
XAAInfoRecPtr XAACreateInfoRec(void);
1391
XAAInfoRecPtr infoRec
1394
typedef void (*DepthChangeFuncPtr) (ScrnInfoPtr pScrn, int depth);
1397
XAAInitDualFramebufferOverlay(
1399
DepthChangeFuncPtr callback