Lines Matching defs:fx
184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0];
197 "\ninitial %f,%f %fx%f\n",
198 fx,
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0];
230 if (fx < 0) {
231 prescale.translate[0] += fx;
232 prescale.scale[0] *= fw / (fw + fx);
233 fw += fx;
234 fx = 0;
249 if (fx + fw > fb_width) {
250 prescale.scale[0] *= fw / (fb_width - fx);
251 prescale.translate[0] -= fx * (fw / (fb_width - fx));
252 prescale.translate[0] += fx;
253 fw = fb_width - fx;
272 fw = fh = fx = fy = 0;
278 /* D3D viewport is integer space. Convert fx,fy,etc. to
284 rect.x = fx;
290 "viewport error %f,%f %fx%f\n",
291 fabs((float)rect.x - fx),
355 "prescale %f,%f %fx%f\n",
368 "J %fx%f\n",
401 "clipspace %f,%f %fx%f\n",