Home
last modified time | relevance | path

Searched refs:gammaControl (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/src/Main/
DFrameBufferDD.cpp373 IDirectDrawGammaControl *gammaControl = 0; in setGammaRamp() local
377 frontBuffer->QueryInterface(IID_IDirectDrawGammaControl, (void**)&gammaControl); in setGammaRamp()
379 if(gammaControl) in setGammaRamp()
381 gammaControl->SetGammaRamp(calibrate ? DDSGR_CALIBRATE : 0, (DDGAMMARAMP*)gammaRamp); in setGammaRamp()
383 gammaControl->Release(); in setGammaRamp()
390 IDirectDrawGammaControl *gammaControl = 0; in getGammaRamp() local
394 frontBuffer->QueryInterface(IID_IDirectDrawGammaControl, (void**)&gammaControl); in getGammaRamp()
396 if(gammaControl) in getGammaRamp()
398 gammaControl->GetGammaRamp(0, (DDGAMMARAMP*)gammaRamp); in getGammaRamp()
400 gammaControl->Release(); in getGammaRamp()