Lines Matching defs:pTrident
131 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
134 pTrident->Clipping = TRUE;
138 if ((pTrident->Chipset == PROVIDIA9682) ||
139 (pTrident->Chipset == CYBER9385) ||
140 (pTrident->Chipset == CYBER9382))
141 pTrident->EngineOperation |= 0x100; /* Disable Clipping */
143 TGUI_OPERMODE(pTrident->EngineOperation);
145 pTrident->PatternLocation = pScrn->displayWidth *
156 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
158 if (pTrident->NoAccel)
161 pTrident->AccelInfoRec = infoPtr = XAACreateInfoRec();
164 if (!((pTrident->Chipset == TGUI9440AGi) &&
170 pTrident->InitializeAccelerator = TridentInitializeAccelerator;
208 if (!(((pTrident->Chipset == PROVIDIA9685) ||
209 (pTrident->Chipset == CYBER9388)) &&
248 pTrident->XAAScanlineColorExpandBuffers[0] =
254 pTrident->XAAScanlineColorExpandBuffers;
275 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
279 TGUI_OPERMODE(pTrident->EngineOperation);
304 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
334 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
337 pTrident->BltScanDirection = 0;
338 if (xdir < 0) pTrident->BltScanDirection |= XNEG;
339 if (ydir < 0) pTrident->BltScanDirection |= YNEG;
343 if ((pTrident->Chipset == PROVIDIA9685) ||
344 (pTrident->Chipset == CYBER9388)) {
347 TGUI_OPERMODE(pTrident->EngineOperation | DST_ENABLE);
352 TGUI_DRAWFLAG(pTrident->DrawFlag | pTrident->BltScanDirection |
363 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
365 if (pTrident->BltScanDirection & YNEG) {
369 if (pTrident->BltScanDirection & XNEG) {
386 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
388 pTrident->BltScanDirection = 0;
391 if ((pTrident->Chipset == PROVIDIA9685) ||
392 (pTrident->Chipset == CYBER9388)) {
405 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
406 int tmp = pTrident->BltScanDirection;
411 TGUI_DRAWFLAG(pTrident->DrawFlag | SOLIDFILL | STENCIL | tmp);
424 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
426 TGUI_DRAWFLAG(pTrident->DrawFlag | SOLIDFILL);
446 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
456 pTrident->BltScanDirection = 0;
458 if ((pTrident->Chipset == PROVIDIA9685) ||
459 (pTrident->Chipset == CYBER9388)) {
462 pTrident->BltScanDirection |= (1 << 12);
471 pTrident->BltScanDirection |= (1 << 12);
479 pTrident->LinePattern = NiceDashPattern;
490 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
491 int tmp = pTrident->BltScanDirection;
497 TGUI_STYLE(((pTrident->LinePattern >> phase) |
498 (pTrident->LinePattern << (16-phase))) & 0x0000FFFF);
499 TGUI_DRAWFLAG(pTrident->DrawFlag | STENCIL | tmp);
513 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
518 if ((pTrident->Chipset == PROVIDIA9685) ||
519 (pTrident->Chipset == CYBER9388)) {
526 TGUI_DRAWFLAG(pTrident->DrawFlag | SOLIDFILL | drawflag);
534 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
580 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
584 if ((pTrident->Chipset == PROVIDIA9685) ||
585 (pTrident->Chipset == CYBER9388))
592 if ((pTrident->Chipset == PROVIDIA9685) ||
593 (pTrident->Chipset == CYBER9388))
599 if ((pTrident->Chipset == PROVIDIA9685) ||
600 (pTrident->Chipset == CYBER9388))
606 if ((pTrident->Chipset == PROVIDIA9685) ||
607 (pTrident->Chipset == CYBER9388)) {
611 TGUI_DRAWFLAG(pTrident->DrawFlag | PAT2SCR | PATMONO | drawflag);
612 TGUI_PATLOC(((patterny * pTrident->PatternLocation) +
623 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
639 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
644 if ((pTrident->Chipset == PROVIDIA9685) ||
645 (pTrident->Chipset == CYBER9388)) {
648 TGUI_OPERMODE(pTrident->EngineOperation | DST_ENABLE);
654 TGUI_DRAWFLAG(pTrident->DrawFlag | PAT2SCR | drawflag);
655 TGUI_PATLOC(((patterny * pTrident->PatternLocation) +
666 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
682 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
706 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
707 pTrident->dwords = ((w + 31) >> 5);
708 pTrident->h = h;
709 pTrident->y = y;
710 pTrident->x = x;
711 pTrident->w = w;
713 TGUI_DEST_XY(x, pTrident->y++);
721 TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
725 MoveDWORDS((CARD32 *)pTrident->FbBase,
726 (CARD32 *)pTrident->XAAScanlineColorExpandBuffers[0],
727 pTrident->dwords);
729 pTrident->h--;
731 if (pTrident->h) {
732 TGUI_DEST_XY(pTrident->x, pTrident->y++);
733 TGUI_DIM_XY(pTrident->w, 1);