Lines Matching defs:pFfb

55 void FFB_SetupTextureAttrs(FFBPtr pFfb)
57 ffb_fbcPtr ffb = pFfb->regs;
61 unsigned int fbc = pFfb->fbc;
62 unsigned int wid = pFfb->wid;
67 if ((pFfb->ppc_cache & ppc_mask) != ppc ||
68 pFfb->fbc_cache != fbc ||
69 pFfb->wid_cache != wid ||
70 pFfb->rop_cache != rop ||
71 pFfb->pmask_cache != 0xffffffff)
72 __FFB_Attr_SFB_VAR(pFfb, ppc, ppc_mask, fbc,
74 FFBWait(pFfb, ffb);
77 void FFB_HardwareSetup(FFBPtr pFfb)
79 ffb_fbcPtr ffb = pFfb->regs;
87 pFfb->ffb_res = ffb_res_standard;
90 pFfb->ffb_res = ffb_res_high;
93 pFfb->ffb_res = ffb_res_stereo;
96 pFfb->ffb_res = ffb_res_portrait;
99 CreatorAlignTabInit(pFfb);
104 pFfb->disable_pagefill = 0;
105 pFfb->disable_vscroll = 0;
106 pFfb->has_brline_bug = 0;
107 pFfb->use_blkread_prefetch = 0;
108 if (pFfb->ffb_type == ffb1_prototype ||
109 pFfb->ffb_type == ffb1_standard ||
110 pFfb->ffb_type == ffb1_speedsort) {
111 pFfb->has_brline_bug = 1;
112 if (pFfb->ffb_res == ffb_res_high)
113 pFfb->disable_vscroll = 1;
114 if (pFfb->ffb_res == ffb_res_high ||
115 pFfb->ffb_res == ffb_res_stereo)
116 pFfb->disable_pagefill = 1;
124 (pFfb->ffb_type != afb_m3 &&
125 pFfb->ffb_type != afb_m6)) {
126 pFfb->use_blkread_prefetch = 1;
133 (pFfb->ffb_type == afb_m3 ||
134 pFfb->ffb_type == afb_m6))
135 pFfb->disable_pagefill = 1;
137 pFfb->disable_fastfill_ap = 0;
138 if (pFfb->ffb_res == ffb_res_stereo ||
139 pFfb->ffb_res == ffb_res_high)
140 pFfb->disable_fastfill_ap = 1;
144 void CreatorAlignTabInit(FFBPtr pFfb)
146 struct fastfill_parms *ffp = &FFB_FFPARMS(pFfb);
147 short *tab = pFfb->Pf_AlignTab;