Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/randr/
H A Drrcrtc.c87 crtc->gammaSize = 0; in RRCrtcCreate()
927 memcpy(crtc->gammaRed, red, crtc->gammaSize * sizeof(CARD16)); in RRCrtcGammaSet()
928 memcpy(crtc->gammaGreen, green, crtc->gammaSize * sizeof(CARD16)); in RRCrtcGammaSet()
929 memcpy(crtc->gammaBlue, blue, crtc->gammaSize * sizeof(CARD16)); in RRCrtcGammaSet()
1015 if (size == crtc->gammaSize) in RRCrtcGammaSetSize()
1028 crtc->gammaSize = size; in RRCrtcGammaSetSize()
1609 .size = crtc->gammaSize in ProcRRGetCrtcGammaSize()
1636 len = crtc->gammaSize * 3 * 2; in ProcRRGetCrtcGamma()
1638 if (crtc->gammaSize) { in ProcRRGetCrtcGamma()
1648 .size = crtc->gammaSize in ProcRRGetCrtcGamma()
[all …]
H A Drandrstr.h122 int gammaSize; member
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86RandR12.h46 extern Bool xf86RandR12InitGamma(ScrnInfoPtr pScrn, unsigned gammaSize);
H A Dxf86RandR12.c1376 randr_crtc->gammaSize); in xf86RandR12CrtcSetGamma()
1414 unsigned size = crtc->randr_crtc->gammaSize; in xf86RandR12CrtcInitGamma()
1479 xf86RandR12InitGamma(ScrnInfoPtr pScrn, unsigned gammaSize) { in xf86RandR12InitGamma() argument
1492 if (!RRCrtcGammaSetSize(crtc->randr_crtc, gammaSize) || in xf86RandR12InitGamma()
2005 randr_crtc->gammaSize); in xf86RandR12LoadPalette()
2030 size = max(0, randr_crtc->gammaSize); in xf86RandR12ChangeGamma()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog46662 When setting crtc->gamma_size to randr_crtc->gammaSize we should
46663 use randr_crtc->gammaSize to allocate new gamma table in crtc.
46664 Currently, if randr_crtc->gammaSize > crtc->gammaSize the subsequent