OpenWindows Server Device Developer's Guide
この本のみを検索
PDF 文書ファイルをダウンロードする

Index

Numerics

4-bit deep screen format note17

A

AddEnableDevice function251
AggregatePlanes function59
.....code example60
.....default value59
AssignTypeAndName function251

C

CachedDrawCleanup function207
CachedDrawInit function205
ChokeFb function212
CloseScreen function21
CMAP library
.....introduction99
.....allocating unique WIDs132
.....allocating unique WIDs, examplecode133
.....changing a colormap129
.....changing a window's WID128
.....colormap flashing reduction104
.....compiling and linking101
.....controlling MHC's WIDs124 to 127
.....initialization functions, list of100
.....MHC functions, list of100
.....MPG and WID initialization101
.....overloading WIDs125
.....using WID83
CmapClutPoolDesc structure111
CmapDevFuncs103
cmapGetColorData16 function106
cmapGetColorData8 function105
cmapMhcChangeFlavor function130
cmapMhcForceOverload function126
cmapMhcReleaseOverload function127
cmapMhcWindowAttachWidfunction128
cmapMhcWindowDetachWidfunction129
cmapScreenInit function102
CmapSetup function214
color LUT pool description110
colormap flashing reduction withCMAP104
control plane group device with OVL64
CopyAreaAndPaintType function72
CopyPaintType function70
CopyPlanes function58
.....code example60
.....default value59
CreateMultibuffer2 function140
cursor
.....hardware30 to 39
.....kernel tracking36, 39
.....software26 to 30
custom device with OVL65

D

DBSetup function208
DDX handler naming convention9
DDX interface, basic functions25
DDX versioning8 to 10
debugging note6
DestroyMultibuffer function141
device self-identification8
DeviceBellCtrlProc function260
DeviceBellProc function258
DeviceBlockHandlerProc function258
DeviceChangeCoreKeyboardProcfunction256
DeviceChangeDeviceControlProcfunction256
DeviceControlProc function252
.....DEVICE_CLOSE action230
.....DEVICE_INIT action229
.....DEVICE_OFF action230
.....DEVICE_ON action229
device-dependent initialization14
DeviceEnqueueProc function253
DeviceGetMotionProc function257
DeviceHandlerCompatible function252
DeviceIntegerCtrlProc function260
DeviceKbdCtrlProc function259
DeviceLedCtrlProc function259
DeviceModifierCheckProc function254
DevicePointerAxisChangeProcfunction257
DevicePtrCtrlProc function259
DeviceReadProc function254
DeviceSetDeviceValuatorsProcfunction255
DeviceSetModeProc function255
DeviceStringCtrlProc function260
DeviceWakeupHandlerProc function258
DGA drawable client library
......overview147 to 152
......backing store151, 176 to 182
......backing store and screendiagram151
......clipping state169 to 173
......compiling and linking152
......cursor conflict174 to 176
......DGA drawables148
......drawable sites164 to 169
......drawable types148
......functions153 to 199
......locking and change detection156 to 160
......multibuffering grabber186 to 195
......multibuffers destroyed note199
......mutual exclusion149
......sites150
......utility functions160 to 164
DGA drawable DDX library
......caching functions218 to 219
......device functions203 to 214
......device information functions220 to 221
......initialization201 to 203
......server multibuffering functions214 to 218
dga_cm_devfd function184
dga_cm_devinfop function184
dga_cm_get_client_infop function185
dga_cm_grab function183
dga_cm_read function186
dga_cm_set_client_infop function185
dga_cm_ungrab function183
dga_cm_write function185
Dga_cur_memimage structure175
Dga_cur_memimage structure, DGA_DRAW_MODIF note176
dga_db_display function191
dga_db_display_done function193
dga_db_display_inquire function194
dga_db_grab function187
dga_db_interval function190
dga_db_interval_check function192
dga_db_interval_wait function192
dga_db_read function190
dga_db_read_inquire function194
dga_db_ungrab function188
dga_db_write function189
dga_db_write_inquire function193
dga_draw_address function168
dga_draw_bbox function170
dga_draw_bitsperpixel function169
dga_draw_clipchg function169
dga_draw_clipinfo function172
dga_draw_curshandle function175
dga_draw_depth function162
dga_draw_devfd function162
dga_draw_devinfo function163
dga_draw_devname function161
dga_draw_display function160
dga_draw_empty function171
dga_draw_get_client_infop function163
dga_draw_id function161
dga_draw_linebytes function169
DGA_DRAW_LOCK macro156
DGA_DRAW_LOCK_SRC_AND_DSTmacro158
DGA_DRAW_MODIF macro159
dga_draw_obscured function173
dga_draw_rtnactive function179
dga_draw_rtncached function179
dga_draw_rtnchg function178
dga_draw_rtndevinfop function180
dga_draw_rtndevtype function181
dga_draw_rtndimensions function181
dga_draw_rtnpixels function182
dga_draw_set_client_infop function162
dga_draw_singlerect function173
dga_draw_site function167
dga_draw_sitechg function164
dga_draw_sitegetnotify function167
dga_draw_sitesetnotify function166
dga_draw_type function161
DGA_DRAW_UNLOCK macro157
DGA_DRAW_UNLOCK_SRC_AND_DST macro159
dga_draw_visibility function171
dga_draw_visibility function,recommended use note173
dga_draw_widinfop function197
DGA_INIT macro153
dga_win_dbinfop function194
DgaAvail function203
dgaCacheDescribeDev function218
dgaCacheStateChange function219
DgaDevFuncsDraw structure202
dgaDevInfoChange function221
dgaDevInfoGet function220
dgaMbCrtSetInfo function215
dgaMbGetBufferInfo function218
dgaMbIsMultibuffer function217
dgaMbSetBufViewability function216
dgaMbSetDisplayBuf function217
dgaScreenInit function202
dgaSharedDataInfo function219
direct color LUT, simulating indirect colorLUT108
DisplayMultibuffer function143
document conventionsxxi
drawable site types, definition150
drawables, definition148

E

export supported visuals18
extensions
......requirements for dynamicallyloading289 to 290

F

FcsSetup function210
features, new this releasexxiii
firm_event structure285 to 287
freeMpgInfo function56
ftp programxxxiv

G

gamma-corrected visuals21 to 24
GetClutInfos function74
GetDevname macro15
getMpgInfoFromVisual function55
GrabDrawable function204
GrabDrawable function, first grabnotes204

H

hardware cursor30 to 39
hardware window IDs79 to 80
hardwareSpriteFuncs array39

I

indirect color LUT, simulating direct colorLUT108
InitBellFeedbackClassDeviceStructfunction241
InitButtonClassDeviceStructfunction236
InitFocusClassDeviceStruct function238
initialization
.....device dependent14
.....function7
.....SPARC example7
.....steps11 to 12
.....x86 example7
InitIntegerFeedbackClassDeviceStructfunction242
InitKbdFeedbackClassDeviceStructfunction239
InitKeyboardDeviceStruct function234
InitKeyClassDeviceStruct function235
InitLedFeedbackClassDeviceStructfunction240
initPixmap function44
InitPointerDeviceStruct function234
InitProximityClassDeviceStructfunction238
InitPtrFeedbackClassDeviceStructfunction239
InitStringFeedbackClassDeviceStructfunction241
InitValuatorAxisStruct function237
InitValuatorClassDeviceStructfunction236
Input extension library
......overview224
......adding a device228 to 233
......block diagram224
......close device228
......debugging the device handler232
......device control procedure229
......device shared functions252 to 260
......device-dependent procedures232
......enqueue device procedure231
......functions233 to 260
......get device events procedure230
......initialization225
......open device226
......OWconfig file entry232
......prerequisite MIT documents223
......reading devices data flowdiagram227
......reading input data226
......restart and shutdown228
......STREAMS module233
......VUID
............overview283
............device controls287
............firm events285 to 287
............firm_event structure285
............station codes284
......writing the device handler229 to 232
intended audiencexvii

L

LastUpdateTime function145
libraries
.....short description table2
.....colormap (CMAP)99 to 134
.....DGA drawable client147 to 199
.....DGA drawable DDX201 to 221
.....Input extension223 to 260
.....MBX135 to 145
.....multiple plane group (MPG)41 to 60
.....overlay windows (OVL)61 to 78
.....where to initialize19
.....window ID (WID)79 to 97
loadable DDX handler
.....device self-identification8
.....initialization function7
.....installation hints277 to 278
.....packaging hints278 to 281
.....versioning8 to 10
loadable DDX interface
.....debugging note6
.....how the server interfaces with5

M

MakeAtom function250
mapped-access devices104
MBX library
.....functions137 to 145
.....initialization function, last releasenote137
.....multibuffer flip modes136
.....windows and sets, definitions135
MbxDevFuncs structure138
MbxScreenInit function137
miDC layer26 to 27
mieqEnqueue function246
mieUpdateKbdPtr function246
minimize window exposures, how to57 to 60
miPointer layer28 to 29
miPointerAbsoluteCursor function248
miPointerDeltaCursor function247
miPointerPosition function247
miPointerScreenFuncs28
miPointerSpriteFuncs28
miPointerSpriteFuncs sample code32 to 36
miSprite layer29 to 30
MIT sample server, how to accessxx
MIT sample server, portinginformationxx
MPG info, definition42
MPG library
......architecture overview41 to 44
......data structure initialization43
......data structure initialization codeexample44
......functions44 to 60
......initialization order with DGAnote54
......interface diagram42
......macros48
......plane group aliasing49
......with WID82, 83
MPG_DRAW, use with note49
mpg_priv_scr macro59
mpgChangeInfo function55
mpgCopyPlanes function58
mpgCursorInitialize function56
mpgGetScreenState45
mpgInfo, changing diagram114
mpgInsertPlanegroup function47
mpgScreenInit function53
mpgSetCursorHasEnable function57
mpgSetCursorValues57
mpgVisInfo diagram113
multibuffer flip modes136
multiple-plane group support3

N

new featuresxxiii
NextBlockHandler function250
NextWakeupHandler function249

O

other applicable documentsxix
OVL library
.....introduction61
.....device setup62 to 65
............control plane group64
............custom65
............shared65
............transparent pixel63
.....initialization66 to 67
.....MPG dependency note62
OvlDevFuncs structure70
ovlGetPaintType function69
ovlIsOverlay function69
OvlPairs structure67
ovlScreenInit function67
ovlWrapDevFuncs function68
OWconfig file
.....access method272 to 276
............database272
............functions273 to 275
............packaging275
............typical usage275
.....attributes, list of266
.....file and module search paths267
.....file format definition266
.....SPARC example file261
.....x86 example file263
.....XDISPLAY class268
.....XEXTENSION class272
.....XINPUT class271
.....XSCREEN class270
.....XSCREENCONFIG class269
OWconfig file
.....search path, SPARC267
.....search path, x86267
OWconfigFreeAttribute function274
OWconfigFreeClassNames273
OWconfigFreeClassNames function273
OWconfigGetAttribute function274
OWconfigGetClassNames273
OWconfigGetClassNames function273
OWconfigGetInstance function274

P

pixmap formats supported16
plane group aliasing49
prerequisite knowledgexvii

R

ReadScreen function76
ReadScreenInit function75
ReadScreenUninit function77
RegisterChangeDeviceControlProcfunction244
RegisterFdIo function242
RegisterHandlers function248
RegisterModifierCheckProc function243
RegisterSetDeviceValuatorsProcfunction244
RegisterXKeyboardInterest245
RegisterXPointerInterest function245
ReigsterSetDeviceModeProcfunction243
RemoveEnableDevice function251
RemoveHandlers function249
RepositionMultibuffer function143
ResizeMultibuffer function142

S

SaveScreen function20
SaveScreen function, sample code20
screen pixmap, definition42
screenFuncs function38
ScreenRec function13
SetMultibufferVisible function145
SetupMultibufferInvisible function144
SetupScreen function46
shared device with OVL65
simple frame buffer support3
software cursor26 to 30
software WID object80
StereoSetup function211
storeColorsFunc example code106
Sun mouse, server constraints note26
sunGetDDKVersion function12
sunGetMonitorRes function17
sunGetVisualInfo function18
sunHWCursor functions37 to 39
sunHWCursor layer36 to 39
sunInitBanner function19
sunOpenFrameBuffer function, do not usenote14
sunPutInHardware function38
sunQueryBestSize function38
sunSaveScreen function, do not usenote20
sunScreenAllocate function13
sunScreenInit function, do not usenote19
sunScreenRec data structure, minimizedependencies note15
sunSetPixmapFormat function16
sunSprite layer30 to 32
SwitchScreen function54
SyncDrawable function213

T

take_down_func structure175
take_down_func structure, call note176
transparent pixel device with OVL63
TryMpg function138

U

UngrabDrawable function205
UngrabDrawable function, first grabnote205
UnsyncDrawable function213

V

virtual user input device (vuid)interface283 to 287
visfunc function191
vrtfunc function188

W

WID library
......allocation function example code95
......changing a WID with CMAP128
......data types84 to 86
......device-dependent allocation94
......free functions94, 96
......functions87 to 94
......hardware79 to 80
......how to access82
......object attributes80 to 82
......overloading WIDs with CMAPlibrary125
......pixel attributes, definition79
......using CMAP83
......using MPG82, 83
......with DDX handlers82
widAllocate function88
WidAllocFunc structure85
widAllocObj function93
widDecref function89
WidFreeFunc structure86
widFreeObj function94
widGetColorLut function92
widGetDevData function91
widGetFlavor function91
widGetNumber function90
widGetScreen function89
widGetUnique function91
widGetValue function90
widGetVisual function89
widGetWindowWid function93
widIncref function88
WidPtr structure84
widScreenClose function87
widScreenInit function87
widSetColorLut function92
WidSetColorLutFunc structure86
widSetDevData function91
WidSetup function209
widSetValue function90, 93
widSetWindowWid function92
widWinGetValue function90
wx_dbuf structure, device-specificfield208

X

XDgaDrawGrabFCS function197
XDgaDrawGrabStereo function198
XDgaDrawGrabWids function196
XDgaGrabColormap function182
XDgaGrabDrawable function154
XDgaUnGrabColormap function184
XDgaUnGrabDrawable function155
XDISPLAY class268
XEXTENSION class272
XI_event structure withDeviceEnqueueProc functionnote253
XINPUT class271
XOvlClutInfo structure70
XSCREEN class270
XSCREENCONFIG class269

Z

ZbufSetup function211