Home | History | Annotate | Download | only in windx5

Lines Matching refs:ramp

411 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp);
412 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp);
436 extern int DIB_SetGammaRamp(_THIS, Uint16 *ramp);
437 extern int DIB_GetGammaRamp(_THIS, Uint16 *ramp);
2285 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp)
2295 return DIB_SetGammaRamp(this, ramp);
2299 SDL_SetError("SDL compiled without DirectX gamma ramp support");
2316 /* Set up the gamma ramp */
2317 SDL_memcpy(gamma_ramp.red, &ramp[0*256], 256*sizeof(*ramp));
2318 SDL_memcpy(gamma_ramp.green, &ramp[1*256], 256*sizeof(*ramp));
2319 SDL_memcpy(gamma_ramp.blue, &ramp[2*256], 256*sizeof(*ramp));
2331 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp)
2341 return DIB_GetGammaRamp(this, ramp);
2345 SDL_SetError("SDL compiled without DirectX gamma ramp support");
2362 /* Set up the gamma ramp */
2365 SDL_memcpy(&ramp[0*256], gamma_ramp.red, 256*sizeof(*ramp));
2366 SDL_memcpy(&ramp[1*256], gamma_ramp.green, 256*sizeof(*ramp));
2367 SDL_memcpy(&ramp[2*256], gamma_ramp.blue, 256*sizeof(*ramp));