| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrinfo.c | 70 pScrPriv->changed = TRUE; in RROldModeAdd() 71 pScrPriv->configChanged = TRUE; in RROldModeAdd() 91 if (pScrPriv->numOutputs == 0 && pScrPriv->numCrtcs == 0) { in RRScanOldConfig() 103 output = pScrPriv->outputs[0]; in RRScanOldConfig() 106 crtc = pScrPriv->crtcs[0]; in RRScanOldConfig() 114 pScrPriv->changed = TRUE; in RRScanOldConfig() 118 for (i = 0; i < pScrPriv->nSizes; i++) { in RRScanOldConfig() 119 RRScreenSizePtr size = &pScrPriv->pSizes[i]; in RRScanOldConfig() 125 if (i == pScrPriv->size && in RRScanOldConfig() 126 size->pRates[r].rate == pScrPriv->rate) { in RRScanOldConfig() [all …]
|
| H A D | randr.c | 80 if (pScrPriv) { in RRClientCallback() 81 pTimes[i].setTime = pScrPriv->lastSetTime; in RRClientCallback() 82 pTimes[i].configTime = pScrPriv->lastConfigTime; in RRClientCallback() 94 unwrap(pScrPriv, pScreen, CloseScreen); in RRCloseScreen() 96 xorg_list_for_each_entry_safe(lease, next, &pScrPriv->leases, list) in RRCloseScreen() 98 for (j = pScrPriv->numCrtcs - 1; j >= 0; j--) in RRCloseScreen() 99 RRCrtcDestroy(pScrPriv->crtcs[j]); in RRCloseScreen() 100 for (j = pScrPriv->numOutputs - 1; j >= 0; j--) in RRCloseScreen() 101 RROutputDestroy(pScrPriv->outputs[j]); in RRCloseScreen() 103 if (pScrPriv->provider) in RRCloseScreen() [all …]
|
| H A D | rrscreen.c | 95 RRCrtcPtr crtc = pScrPriv->numCrtcs ? pScrPriv->crtcs[0] : NULL; in RRDeliverScreenEvent() 101 .timestamp = pScrPriv->lastSetTime.milliseconds, in RRDeliverScreenEvent() 102 .configTimestamp = pScrPriv->lastConfigTime.milliseconds, in RRDeliverScreenEvent() 139 if (pScrPriv->width == pScreen->width && in RRScreenSizeNotify() 140 pScrPriv->height == pScreen->height && in RRScreenSizeNotify() 141 pScrPriv->mmWidth == pScreen->mmWidth && in RRScreenSizeNotify() 142 pScrPriv->mmHeight == pScreen->mmHeight) in RRScreenSizeNotify() 145 pScrPriv->width = pScreen->width; in RRScreenSizeNotify() 146 pScrPriv->height = pScreen->height; in RRScreenSizeNotify() 147 pScrPriv->mmWidth = pScreen->mmWidth; in RRScreenSizeNotify() [all …]
|
| H A D | rrprovider.c | 42 pScrPriv = rrGetScrPriv((_pScreen)); \ 43 if (pScrPriv->provider) { \ 44 providers[count_providers] = pScrPriv->provider->id; \ 58 rrScrPrivPtr pScrPriv; in ProcRRGetProviders() local 73 pScrPriv = rrGetScrPriv(pScreen); in ProcRRGetProviders() 75 if (pScrPriv->provider) in ProcRRGetProviders() 78 pScrPriv = rrGetScrPriv(iter); in ProcRRGetProviders() 79 total_providers += pScrPriv->provider ? 1 : 0; in ProcRRGetProviders() 82 pScrPriv = rrGetScrPriv(pScreen); in ProcRRGetProviders() 84 if (!pScrPriv) in ProcRRGetProviders() [all …]
|
| H A D | rrmonitor.c | 43 rrScrPrivPtr pScrPriv = rrGetScrPriv(screen); in RRMonitorCrtcPrimary() local 47 if (crtc->outputs[o] == pScrPriv->primaryOutput) in RRMonitorCrtcPrimary() 58 rrScrPrivPtr pScrPriv = rrGetScrPriv(screen); in RRMonitorGetCrtcGeometry() local 62 if (pScrPriv && pScrPriv->rrGetPanning && in RRMonitorGetCrtcGeometry() 63 pScrPriv->rrGetPanning(screen, crtc, &panned_area, NULL, NULL) && in RRMonitorGetCrtcGeometry() 120 rrScrPrivPtr pScrPriv = rrGetScrPriv(screen); in RRMonitorGetGeometry() local 131 for (c = 0; !in_use && c < pScrPriv->numCrtcs; c++) { in RRMonitorGetGeometry() 132 crtc = pScrPriv->crtcs[c]; in RRMonitorGetGeometry() 195 rrScrPrivPtr pScrPriv = rrGetScrPriv(screen); in RRMonitorInitList() local 204 numCrtcs = pScrPriv->numCrtcs; in RRMonitorInitList() [all …]
|
| H A D | rroutput.c | 68 rrScrPrivPtr pScrPriv; in RROutputCreate() local 74 pScrPriv = rrGetScrPriv(pScreen); in RROutputCreate() 76 outputs = reallocarray(pScrPriv->outputs, in RROutputCreate() 77 pScrPriv->numOutputs + 1, sizeof(RROutputPtr)); in RROutputCreate() 81 pScrPriv->outputs = outputs; in RROutputCreate() 115 pScrPriv->outputs[pScrPriv->numOutputs++] = output; in RROutputCreate() 217 if (pScrPriv->rrOutputValidateMode) in RROutputAddUserMode() 218 if (!pScrPriv->rrOutputValidateMode(pScreen, output, mode)) in RROutputAddUserMode() 350 .timestamp = pScrPriv->lastSetTime.milliseconds, in RRDeliverOutputEvent() 351 .configTimestamp = pScrPriv->lastConfigTime.milliseconds, in RRDeliverOutputEvent() [all …]
|
| H A D | rrcrtc.c | 49 pScrPriv->layoutChanged = TRUE; in RRCrtcChanged() 61 rrScrPrivPtr pScrPriv; in RRCrtcCreate() local 66 pScrPriv = rrGetScrPriv(pScreen); in RRCrtcCreate() 69 crtcs = reallocarray(pScrPriv->crtcs, in RRCrtcCreate() 70 pScrPriv->numCrtcs + 1, sizeof(RRCrtcPtr)); in RRCrtcCreate() 73 pScrPriv->crtcs = crtcs; in RRCrtcCreate() 102 pScrPriv->crtcs[pScrPriv->numCrtcs++] = crtc; in RRCrtcCreate() 245 .timestamp = pScrPriv->lastSetTime.milliseconds, in RRDeliverCrtcEvent() 266 for (o = 0; o < pScrPriv->numOutputs; o++) { in RRCrtcPendingProperties() 267 RROutputPtr output = pScrPriv->outputs[o]; in RRCrtcPendingProperties() [all …]
|
| H A D | rrpointer.c | 64 for (c = 0; c < pScrPriv->numCrtcs; c++) { in RRPointerToNearestCrtc() 65 RRCrtcPtr crtc = pScrPriv->crtcs[c]; in RRPointerToNearestCrtc() 101 pScrPriv->pointerCrtc = nearest; in RRPointerToNearestCrtc() 108 RRCrtcPtr pointerCrtc = pScrPriv->pointerCrtc; in RRPointerMoved() 116 for (c = 0; c < pScrPriv->numCrtcs; c++) { in RRPointerMoved() 117 RRCrtcPtr crtc = pScrPriv->crtcs[c]; in RRPointerMoved() 121 pScrPriv->pointerCrtc = crtc; in RRPointerMoved()
|
| H A D | rrdispatch.c | 149 if (pScrPriv) { in ProcRRSelectInput() 152 pScrPriv->lastSetTime) != 0 || in ProcRRSelectInput() 154 pScrPriv->lastConfigTime) != 0) { in ProcRRSelectInput() 162 for (i = 0; i < pScrPriv->numCrtcs; i++) { in ProcRRSelectInput() 163 RRDeliverCrtcEvent(client, pWin, pScrPriv->crtcs[i]); in ProcRRSelectInput() 170 for (i = 0; i < pScrPriv->numOutputs; i++) { in ProcRRSelectInput() 172 pScrPriv->outputs[i]); in ProcRRSelectInput()
|
| H A D | rrmode.c | 176 for (o = 0; o < pScrPriv->numOutputs; o++) { in RRModesForScreen() 177 RROutputPtr output = pScrPriv->outputs[o]; in RRModesForScreen() 196 for (c = 0; c < pScrPriv->numCrtcs; c++) { in RRModesForScreen() 197 RRCrtcPtr crtc = pScrPriv->crtcs[c]; in RRModesForScreen()
|
| H A D | rrproviderproperty.c | 141 rrScrPrivPtr pScrPriv = rrGetScrPriv(provider->pScreen); in RRChangeProviderProperty() local 216 if (pending && pScrPriv->rrProviderSetProperty && in RRChangeProviderProperty() 217 !pScrPriv->rrProviderSetProperty(provider->pScreen, provider, in RRChangeProviderProperty() 309 rrScrPrivPtr pScrPriv = rrGetScrPriv(provider->pScreen); in RRGetProviderProperty() local 318 if (pScrPriv->rrProviderGetProperty) in RRGetProviderProperty() 319 pScrPriv->rrProviderGetProperty(provider->pScreen, provider, in RRGetProviderProperty()
|
| H A D | rrproperty.c | 165 rrScrPrivPtr pScrPriv = rrGetScrPriv(output->pScreen); in RRChangeOutputProperty() local 238 if (pending && pScrPriv->rrOutputSetProperty && in RRChangeOutputProperty() 239 !pScrPriv->rrOutputSetProperty(output->pScreen, output, in RRChangeOutputProperty() 334 rrScrPrivPtr pScrPriv = rrGetScrPriv(output->pScreen); in RRGetOutputProperty() local 343 if (pScrPriv->rrOutputGetProperty) in RRGetOutputProperty() 344 pScrPriv->rrOutputGetProperty(output->pScreen, output, in RRGetOutputProperty()
|
| H A D | rrxinerama.c | 121 rrScrPrivPtr pScrPriv; in ProcRRXineramaGetState() local 130 pScrPriv = rrGetScrPriv(pScreen); in ProcRRXineramaGetState() 131 if (pScrPriv) { in ProcRRXineramaGetState()
|
| H A D | randrstr.h | 418 #define rrScrPriv(pScr) rrScrPrivPtr pScrPriv = rrGetScrPriv(pScr)
|
| /OK3568_Linux_fs/external/xserver/fb/ |
| H A D | fboverlay.c | 52 FbOverlayScrPrivPtr pScrPriv = fbOverlayGetScrPriv(pWin->drawable.pScreen); in fbOverlayCreateWindow() local 59 for (i = 0; i < pScrPriv->nlayers; i++) { in fbOverlayCreateWindow() 60 pPixmap = pScrPriv->layer[i].u.run.pixmap; in fbOverlayCreateWindow() 71 RegionEmpty(&pScrPriv->layer[i].u.run.region); in fbOverlayCreateWindow() 82 FbOverlayScrPrivPtr pScrPriv = fbOverlayGetScrPriv(pScreen); in fbOverlayCloseScreen() local 85 for (i = 0; i < pScrPriv->nlayers; i++) { in fbOverlayCloseScreen() 86 (*pScreen->DestroyPixmap) (pScrPriv->layer[i].u.run.pixmap); in fbOverlayCloseScreen() 87 RegionUninit(&pScrPriv->layer[i].u.run.region); in fbOverlayCloseScreen() 98 FbOverlayScrPrivPtr pScrPriv = fbOverlayGetScrPriv(pWin->drawable.pScreen); in fbOverlayWindowLayer() local 101 for (i = 0; i < pScrPriv->nlayers; i++) in fbOverlayWindowLayer() [all …]
|
| H A D | fballpriv.c | 39 FbScreenPrivPtr pScrPriv; in fbAllocatePrivates() local 45 pScrPriv = fbGetScreenPrivate(pScreen); in fbAllocatePrivates() 47 …if (!dixRegisterScreenSpecificPrivateKey (pScreen, &pScrPriv->gcPrivateKeyRec, PRIVATE_GC, sizeof(… in fbAllocatePrivates() 49 …if (!dixRegisterScreenSpecificPrivateKey (pScreen, &pScrPriv->winPrivateKeyRec, PRIVATE_WINDOW, 0)) in fbAllocatePrivates()
|
| /OK3568_Linux_fs/external/xserver/miext/damage/ |
| H A D | damage.c | 104 return &pScrPriv->pScreenDamage; in getDrawableDamageRef() 189 if (pScrPriv->internalLevel > 0 && !pDamage->isInternal) { in _damageRegionAppend() 191 pScrPriv->internalLevel)); in _damageRegionAppend() 351 unwrap(pScrPriv, pScreen, CreateGC); in damageCreateGC() 357 wrap(pScrPriv, pScreen, CreateGC, damageCreateGC); in damageCreateGC() 512 unwrap(pScrPriv, ps, Composite); in damageComposite() 519 wrap(pScrPriv, ps, Composite, damageComposite); in damageComposite() 578 unwrap(pScrPriv, ps, Glyphs); in damageGlyphs() 581 wrap(pScrPriv, ps, Glyphs, damageGlyphs); in damageGlyphs() 626 unwrap(pScrPriv, ps, AddTraps); in damageAddTraps() [all …]
|
| H A D | damagestr.h | 87 DamageScrPrivPtr pScrPriv = damageGetScrPriv(pScr)
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | vblank.c | 128 if (!pScrPriv) in ms_first_output() 131 if (pScrPriv->primaryOutput && pScrPriv->primaryOutput->crtc && in ms_first_output() 132 (pScrPriv->primaryOutput->pScreen == pScreen)) { in ms_first_output() 133 return pScrPriv->primaryOutput; in ms_first_output() 136 for (i = 0; i < pScrPriv->numCrtcs; i++) { in ms_first_output() 137 RRCrtcPtr crtc = pScrPriv->crtcs[i]; in ms_first_output() 139 for (j = 0; j < pScrPriv->numOutputs; j++) { in ms_first_output() 140 output = pScrPriv->outputs[j]; in ms_first_output() 223 rrScrPrivPtr pScrPriv; in ms_covering_randr_crtc() local 236 pScrPriv = rrGetScrPriv(pScreen); in ms_covering_randr_crtc() [all …]
|
| H A D | driver.c | 1536 rrScrPrivPtr pScrPriv = rrGetScrPriv(pScreen); in CreateScreenResources() local 1538 pScrPriv->rrEnableSharedPixmapFlipping = msEnableSharedPixmapFlipping; in CreateScreenResources() 1539 pScrPriv->rrDisableSharedPixmapFlipping = msDisableSharedPixmapFlipping; in CreateScreenResources() 1541 pScrPriv->rrStartFlippingPixmapTracking = msStartFlippingPixmapTracking; in CreateScreenResources()
|
| /OK3568_Linux_fs/external/xserver/hw/vfb/ |
| H A D | InitOutput.c | 758 if (pScrPriv->minWidth <= mode->mode.width && in vfbRROutputValidateMode() 759 pScrPriv->maxWidth >= mode->mode.width && in vfbRROutputValidateMode() 760 pScrPriv->minHeight <= mode->mode.height && in vfbRROutputValidateMode() 761 pScrPriv->maxHeight >= mode->mode.height) in vfbRROutputValidateMode() 813 rrScrPrivPtr pScrPriv; in vfbRandRInit() local 824 pScrPriv = rrGetScrPriv(pScreen); in vfbRandRInit() 825 pScrPriv->rrGetInfo = vfbRRGetInfo; in vfbRandRInit() 827 pScrPriv->rrCrtcSet = vfbRRCrtcSet; in vfbRandRInit() 828 pScrPriv->rrScreenSetSize = vfbRRScreenSetSize; in vfbRandRInit() 829 pScrPriv->rrOutputSetProperty = NULL; in vfbRandRInit() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/ |
| H A D | quartzRandR.c | 450 rrScrPrivPtr pScrPriv; in QuartzRandRInit() local 455 pScrPriv = rrGetScrPriv(pScreen); in QuartzRandRInit() 456 pScrPriv->rrGetInfo = QuartzRandRGetInfo; in QuartzRandRInit() 457 pScrPriv->rrSetConfig = QuartzRandRSetConfig; in QuartzRandRInit()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | ephyr.c | 593 rrScrPrivPtr pScrPriv; in ephyrRandRInit() local 598 pScrPriv = rrGetScrPriv(pScreen); in ephyrRandRInit() 599 pScrPriv->rrGetInfo = ephyrRandRGetInfo; in ephyrRandRInit() 600 pScrPriv->rrSetConfig = ephyrRandRSetConfig; in ephyrRandRInit()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 23762 pScrPriv->rrEnableSharedPixmapFlipping() makes its way to 23821 At teardown, pScrPriv->rrDisableSharedPixmapFlipping() will be 23988 Remove extraneous protopix and pScrPriv from rrSetupPixmapSharing() 73621 randr: first check pScrPriv before using the pointer at RRFirstOutput 73623 Fix a seg fault in case pScrPriv is NULL at ProcRRGetScreenInfo,
|