Lines Matching defs:scale
763 * The glPixelTransfer (scale/bias) params will be applied.
879 const GLfloat scale = 1.0f / 0xffffff;
886 depthValues[i] = (value >> 8) * scale;
929 /* apply depth scale and bias */
931 const GLfloat scale = ctx->Pixel.DepthScale;
933 if (scale != 1.0F || bias != 0.0F) {
936 depthValues[i] = depthValues[i] * scale + bias;
1064 const GLdouble scale = (GLdouble) 0xffffff;
1068 GLuint z = (GLuint) (depthSpan[i] * scale);
1591 /* Don't do RGBA scale/bias or RGBA->RGBA mapping if starting
1733 const double scale = 1.0 / (double) 0xffffff;
1737 d[i].z = z24 * scale;
1757 const double scale = 1.0 / (double) 0xffffff;
1761 d[i].z = z24 * scale;