Lines Matching defs:gamma
1246 /* Realloc local gamma if needed. */
1284 /* Realloc randr gamma if needed. */
1676 * Compatibility with XF86VidMode's gamma changer. This necessarily clobbers
1681 gamma_to_ramp(float gamma, CARD16 *ramp, int size)
1686 if (gamma == 1.0)
1689 ramp[i] = (CARD16)(pow((double)i / (double)(size - 1), 1. / gamma)
1695 xf86RandR12ChangeGamma(int scrnIndex, Gamma gamma)
1717 gamma_to_ramp(gamma.red, red, size);
1718 gamma_to_ramp(gamma.green, green, size);
1719 gamma_to_ramp(gamma.blue, blue, size);
1724 pScrn->gamma = gamma;
1747 /* reload gamma */