Lines Matching refs:gPreviewFBOWidth
53 int gPreviewFBOWidth;
61 // transformation for going to the {0,gPreviewFBOWidth}.
249 (gCenterOffsetX + panOffset) / gPreviewFBOWidth - 1.0) *
253 gPreviewFBOWidth - 1.0) * gUILayoutScalingX;
256 (gCenterOffsetX + panOffset) / gPreviewFBOWidth - 1.0) *
260 gPreviewFBOWidth - 1.0) * gUILayoutScalingY;
381 gPreviewFBOWidth = PREVIEW_FBO_WIDTH_SCALE * gPreviewImageWidth[HR];
386 gCenterOffsetX = (gPreviewFBOWidth / 2 - gPreviewImageWidth[HR] / 2);
399 int wm = gPreviewFBOWidth;
549 gBuffer[0].Init(gPreviewFBOWidth, gPreviewFBOHeight, GL_RGBA);
550 gBuffer[1].Init(gPreviewFBOWidth, gPreviewFBOHeight, GL_RGBA);