X Server Device Developer's Guide
  Buscar sólo este libro
Descargar este libro en PDF

Index

Numerics

4-bit deep screen format note21

A

AddEnableDevice function233
AggregatePlanes function63
.....code example64
.....default value63
ancillary buffers151
AssignTypeAndName function233

C

CachedDrawCleanup function194
CachedDrawInit function193
ChokeFb function199
CloseScreen function25
CMAP library
.....introduction103
.....allocating unique WIDs136
.....allocating unique WIDs, examplecode137
.....changing a colormap133
.....changing a window's WID132
.....colormap flashing reduction108
.....controlling MHC's WIDs128 to 131
.....initialization functions, list of104
.....overloading WIDs129
.....using WID89
CmapClutPoolDesc structure115
cmapGetColorData16 function110
cmapGetColorData8 function109
cmapMhcChangeFlavor function134
cmapMhcForceOverload function130
cmapMhcReleaseOverload function131
cmapMhcWindowAttachWidfunction132
cmapMhcWindowDetachWidfunction133
CmapSetup function201
color LUT pool description114
colormap equivalence104
colormap flashing reduction withCMAP108
colormaps
.....sharing104
colormaps and DGA204
control plane group device with OVL70
CopyAreaAndPaintType function78
CopyPaintType function76
CopyPlanes function62
.....code example64
.....default value63
cursor
.....hardware34 to 44
.....kernel tracking41, 44
.....software30 to 34
custom device with OVL71

D

DBSetup function195
DDX handler naming convention13
DDX interface, basic functions29
DDX versioning12 to 14
debugging note10
device self-identification12
DeviceBellCtrlProc function242
DeviceBellProc function240
DeviceBlockHandlerProc function240
DeviceChangeCoreKeyboardProcfunction238
DeviceChangeDeviceControlProcfunction238
DeviceControlProc function234
.....DEVICE_CLOSE action212
.....DEVICE_INIT action211
.....DEVICE_OFF action212
.....DEVICE_ON action211
device-dependent initialization18
DeviceEnqueueProc function235
DeviceGetMotionProc function239
DeviceHandlerCompatible function234
DeviceIntegerCtrlProc function242
DeviceKbdCtrlProc function241
DeviceLedCtrlProc function241
DeviceModifierCheckProc function236
DevicePointerAxisChangeProcfunction239
DevicePtrCtrlProc function241
DeviceReadProc function236
DeviceSetDeviceValuatorsProcfunction237
DeviceSetModeProc function237
DeviceStringCtrlProc function242
DeviceWakeupHandlerProc function240
DGA drawable client library
......overview139 to 144
......backing store143, 172 to 177
......backing store and screendiagram143
......clipping state166 to 170
......compiling and linking144
......cursor conflict170 to 172
......DGA drawables140
......drawable sites161 to 166
......drawable types140
......locking and change detection147 to 151
......sites142
......utility functions158 to 161
DGA drawable DDX library
......caching functions201 to 203
......device functions191 to 201
......device information functions203 to 204
......initialization189 to 190
dga_buffer_address function156
dga_buffer_bitsperpixel function157
dga_buffer_linebytes function157
dga_buffer_site function155
dga_buffer_sitechg function156
dga_buffer_type function154
dga_cm_devfd function182
dga_cm_devinfop function182
dga_cm_get_client_infop function183
dga_cm_grab function181
dga_cm_set_client_infop function183
dga_cm_ungrab function181
dga_cm_write function183
Dga_cur_memimage structure171
Dga_cur_memimage structure, DGA_DRAW_MODIF note172
dga_draw_address function165
dga_draw_bbox function167
dga_draw_bitsperpixel function166
dga_draw_buffer_swap function157
dga_draw_bufferchg function154
dga_draw_clipchg function166
dga_draw_clipinfo function169
dga_draw_curshandle function171
dga_draw_depth function160
dga_draw_devfd function159
dga_draw_devinfo function161
dga_draw_devname function159
dga_draw_display function158
dga_draw_empty function168
dga_draw_get_buffers function154
dga_draw_get_client_infop function160
dga_draw_grab_buffer function153
dga_draw_id function158
dga_draw_linebytes function166
DGA_DRAW_LOCK macro148
DGA_DRAW_LOCK_SRC_AND_DSTmacro149
DGA_DRAW_MODIF macro150
dga_draw_rtnactive function175
dga_draw_rtncached function175
dga_draw_rtnchg function174
dga_draw_rtndevinfop function176
dga_draw_rtndevtype function176
dga_draw_rtndimensions function177
dga_draw_rtnpixels function177
dga_draw_set_client_infop function160
dga_draw_site function164
dga_draw_sitechg function162
dga_draw_sitegetnotify function164
dga_draw_sitesetnotify function163
dga_draw_swap_check function158
dga_draw_type function159
dga_draw_ungrab_buffer function153
DGA_DRAW_UNLOCK macro148
DGA_DRAW_UNLOCK_SRC_AND_DST macro150
dga_draw_visibility function168
dga_draw_widinfop function186
DGA_INIT macro145
DgaAvail function191
dgaCacheDescribeDev function202
dgaCacheStateChange function202
DgaDevFuncsDraw structure190
dgaDevInfoChange function204
dgaDevInfoGet function203
dgaScreenInit function189
dgaSharedDataInfo function202
direct color LUT, simulating indirect colorLUT112
directAccessDPS function249
directAccessEnd function248
directAccessStart function248
document conventionsxx
drawable site types, definition142
drawables, definition140

E

export supported visuals22
extensions
......requirements for dynamicallyloading287 to 288

F

FcsSetup function197
firm_event structure283 to 285
freeMpgInfo function60
ftp program7

G

gamma-corrected visuals25 to 28
GetClutInfos function80
GetDevname macro19
getMpgInfoFromVisual function59
GrabDrawable function192
GrabDrawable function, first grabnotes192

H

hardware cursor34 to 44
hardware window IDs85 to 86
hardwareSpriteFuncs array43

I

indirect color LUT, simulating direct colorLUT112
InitBellFeedbackClassDeviceStructfunction223
InitButtonClassDeviceStructfunction218
InitFocusClassDeviceStruct function220
initialization
.....device dependent18
.....function11
.....SPARC example11
.....steps16
.....x86 example11
InitIntegerFeedbackClassDeviceStructfunction224
InitKbdFeedbackClassDeviceStructfunction221
InitKeyboardDeviceStruct function216
InitKeyClassDeviceStruct function217
InitLedFeedbackClassDeviceStructfunction222
initPixmap function48
InitPointerDeviceStruct function216
InitProximityClassDeviceStructfunction220
InitPtrFeedbackClassDeviceStructfunction221
InitStringFeedbackClassDeviceStructfunction223
InitValuatorAxisStruct function219
InitValuatorClassDeviceStructfunction218
Input extension library
.....overview206
.....adding a device210 to 215
.....block diagram206
.....close device210
.....debugging the device handler214
.....device control procedure211
......device shared functions234 to 242
......device-dependent procedures214
......enqueue device procedure213
......functions215 to 242
......get device events procedure212
......initialization207
......open device208
......OWconfig file entry214
......prerequisite MIT documents205
......reading devices data flowdiagram209
......reading input data208
......restart and shutdown210
......STREAMS module215
......VUID
............overview281
............device controls285
............firm events283 to 285
............firm_event structure283
............station codes282
......writing the device handler211 to 214

L

libraries
......colormap (CMAP)103 to 138
......DGA drawable DDX189 to 204
......Input extension205 to 242
......multiple plane group (MPG)45 to 64
......overlay windows (OVL)67 to 84
......where to initialize23
......window ID (WID)85 to 102
loadable DDX handler
......device self-identification12
......initialization function11
......installation hints275 to 276
......packaging hints276 to 279
......versioning12 to 14
loadable DDX interface
......debugging note10
......how the server interfaces with9

M

MakeAtom function232
mapped-access devices108
miDC layer30 to 31
mieqEnqueue function228
mieqUpdateKbdPtr function228
minimize window exposures, how to61 to 64
miPointer layer32 to 33
miPointerAbsoluteCursor function230
miPointerDeltaCursor function229
miPointerPosition function229
miPointerScreenFuncs32
miPointerSpriteFuncs32
miPointerSpriteFuncs sample code37 to 40
miSetZeroLineBias function34
miSprite layer33 to 34
MPG info, definition46
MPG library
.....architecture overview45 to 48
.....data structure initialization47
.....data structure initialization codeexample48
.....functions48 to 64
.....initialization order with DGAnote58
.....interface diagram46
.....macros52
.....plane group aliasing53
.....with WID88, 89
MPG_DRAW, use with note53
mpg_priv_scr macro63
mpgChangeInfo function59
mpgCopyPlanes function62
mpgCursorInitialize function60
mpgGetScreenState49
mpgInfo, changing diagram118
mpgInsertPlanegroup function51
mpgScreenInit function57
mpgSetCursorHasEnable function61
mpgSetCursorValues61
mpgSetScreenFuncs function65
mpgVisInfo diagram117
mutiple plane support3

N

NextBlockHandler function232
NextWakeupHandler function231

O

other applicable documentsxix
overview
......DDX Interface2
......utility libraries2
OVL library
......introduction67
......device setup68 to 71
............control plane group70
............custom71
............shared71
............transparent pixel69
......initialization72 to 73
......MPG dependency note68
OvlDevFuncs structure76
ovlGetPaintType function75
ovlIsOverlay function75
OvlPairs structure73
ovlScreenInit function73
ovlWrapDevFuncs function74
OWconfig file
......access method
............functions270 to 272
............packaging272
............typical usage272
......attributes, list of263
......file and module search paths263
......file format definition262
......SPARC example file258
......x86 example file260
......XDISPLAY class265
......XEXTENSION class269
......XSCREEN class267
......XSCREENCONFIG class266
OWconfig file
......search path, SPARC264
.....search path, x86264
OWconfigFreeAttribute function271
OWconfigFreeClassNames270
OWconfigFreeClassNames function270
OWconfigGetAttribute function271
OWconfigGetClassNames270
OWconfigGetClassNames function270
OWconfigGetInstance function271

P

pixmap formats supported20
plane group aliasing53
prerequisite knowledgexvii

R

ReadScreen function82
ReadScreenInit function81
ReadScreenUninit function83
RegisterChangeDeviceControlProcfunction226
RegisterFdIo function224
RegisterHandlers function230
RegisterModifierCheckProc function225
RegisterSetDeviceModeProcfunction225
RegisterSetDeviceValuatorsProcfunction226
RegisterXKeyboardInterest227
RegisterXPointerInterest function227
RemoveEnableDevice function233
RemoveHandlers function231

S

SaveScreen function24
SaveScreen function, sample code24
screen pixmap, definition46
screenFuncs function43
ScreenRec function17
SetupScreen function50
shared device with OVL71
ShmRegisterFbFuncs function254
ShmRegisterFuncs function255
ShmSetPixmapFormat function255
simple frame buffer support3
software cursor30 to 34
software WID object86
StereoSetup function198
storeColorsFunc example code110
Sun mouse, server constraints note30
sunDPAAccessType function247
sunGetDDKVersion function16
sunGetMonitorRes function21
sunGetVisualInfo function22
sunHWCursor functions42 to 44
sunHWCursor layer41 to 44
sunInitBanner function23
sunOpenFrameBuffer function, do not usenote19
sunPutInHardware function43
sunQueryBestSize function42
sunSaveScreen function, do not usenote24
sunScreenAllocate function18
sunScreenInit function, do not usenote23
sunScreenRec data structure, minimizedependencies note19
sunSetPixmapFormat function20
sunSprite layer35 to 36
SwitchScreen function58
SyncDrawable function200

T

take_down_func structure171
take_down_func structure, call note172
transparent pixel device with OVL69

U

UngrabDrawable function192
UngrabDrawable function, first grabnote192
UnsyncDrawable function200

V

virtual user input device (VUID)interface281 to 285

W

WID library
.....allocation function examplecode101
.....changing a WID with CMAP132
.....data types90 to 92
.....device-dependent allocation100
.....free functions100, 102
.....functions93 to 100
.....hardware85 to 86
.....how to access88
.....object attributes86 to 88
.....overloading WIDs with CMAPlibrary129
.....pixel attributes, definition85
.....using CMAP89
.....using MPG88, 89
.....with DDX handlers88
widAllocate function94
WidAllocFunc structure91
widAllocObj function99
widDecref function95
WidFreeFunc structure92
widFreeObj function100
widGetColorLut function98
widGetDevData function97
widGetFlavor function97
widGetNumber function96
widGetScreen function95
widGetUnique function97
widGetValue function96
widGetVisual function95
widGetWindowWid function99
widIncref function94
WidPtr structure90
widScreenClose function93
widScreenInit function93
widSetColorLut function98
WidSetColorLutFunc structure92
widSetDevData function97
WidSetup function196
widSetValue function96, 99
widSetWindowWid function98
widWinGetValue function96
wx_dbuf structure, device-specificfield195

X

X11 sample server, obtainingxx
X11 sample server, portinginformationxx
XDgaDrawGrabFCS function186
XDgaDrawGrabStereo function187
XDgaDrawGrabWids function185
XDgaGrabColormap function180
XDgaGrabDrawable function146
XDgaUnGrabColormap function182
XDgaUnGrabDrawable function147
XDISPLAY class265
XEXTENSION class269
XOvlClutInfo structure76
XSCREEN class267
XSCREENCONFIG class266

Z

ZbufSetup function198