Lines Matching refs:pPriv
135 * argument: (X68kScreenRec *)pPriv : X68k private screen record
140 x68kGraphOpen(X68kScreenRec *pPriv)
142 if( !x68kFbCommonOpen(pPriv, "/dev/grf1") )
147 if (pPriv->depth == 15 && pPriv->class == TrueColor) {
152 pPriv->reg->gpal[i++] = x;
153 pPriv->reg->gpal[i++] = x;
157 if (pPriv->depth == 4 && pPriv->class == StaticGray ) {
161 pPriv->reg->gpal[i] = (i*2 << 11) | (i*2 << 6) | (i*2 << 1);
170 * argument: (X68kScreenRec *)pPriv : X68k private screen record
174 x68kGraphClose(X68kScreenRec *pPriv)
176 x68kFbCommonClose(pPriv);
191 X68kScreenRec *pPriv;
194 pPriv = x68kGetScreenRecByType(X68K_FB_GRAPHIC);
201 x68kSetScreenPrivate(pScreen, pPriv);
204 if (!fbSetupScreen(pScreen, pPriv->fb,
205 pPriv->scr_width, pPriv->scr_height,
206 pPriv->dpi, pPriv->dpi, pPriv->fb_width,
207 pPriv->depth))
217 if (!x68kCfbFinishScreenInit(pScreen, pPriv->fb,
218 pPriv->scr_width, pPriv->scr_height,
219 pPriv->dpi, pPriv->dpi, pPriv->fb_width))
253 X68kScreenRec *pPriv = x68kGetScreenPrivate(pScreen);
262 if (pPriv->depth == 15 && pPriv->class == TrueColor) {
294 else if (pPriv->depth == 4 && pPriv->class == StaticGray ) {
352 X68kScreenRec *pPriv = x68kGetScreenPrivate(cmap->pScreen);
360 if (cmap == pPriv->installedMap)
362 if (pPriv->installedMap)
363 WalkTree(pPriv->installedMap->pScreen, TellLostMap,
364 (void *) &(pPriv->installedMap->mid));
366 if (pPriv->class & DynamicClass) {
374 for (i = 0; i < 1<<(pPriv->depth); i++) {
395 x68kUpdateColormap(cmap->pScreen, 0, 1<<(pPriv->depth), rmap, gmap, bmap);
397 pPriv->installedMap = cmap;
411 X68kScreenRec *pPriv = x68kGetScreenPrivate(cmap->pScreen);
413 if (cmap == pPriv->installedMap) {
439 X68kScreenRec *pPriv = x68kGetScreenPrivate(pScreen);
440 *pCmapList = pPriv->installedMap->mid;
456 X68kScreenRec *pPriv = x68kGetScreenPrivate(pmap->pScreen);
461 if (pPriv->installedMap != NULL && pPriv->installedMap != pmap)
491 X68kScreenRec *pPriv = x68kGetScreenPrivate(pScreen);
492 volatile uint16_t *pal = pPriv->reg->gpal;