Lines Matching refs:dpyAttr

89     ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig;  in changeResolution()
90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; in changeResolution()
91 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution()
100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; in changeResolution()
101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; in changeResolution()
102 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution()
107 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in changeResolution()
108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in changeResolution()
167 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice()
169 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
170 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice()
171 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
172 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in openFramebufferDevice()
173 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in openFramebufferDevice()
174 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = in openFramebufferDevice()
185 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
224 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in initContext()
225 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected = false; in initContext()
226 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in initContext()
227 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected = false; in initContext()
228 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].mDownScaleMode= false; in initContext()
229 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode = false; in initContext()
230 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in initContext()
234 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].connected = true; in initContext()
239 (int)ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in initContext()
241 (int)ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in initContext()
255 ctx->dpyAttr[i].mActionSafePresent = false; in initContext()
256 ctx->dpyAttr[i].mAsWidthRatio = 0; in initContext()
257 ctx->dpyAttr[i].mAsHeightRatio = 0; in initContext()
329 if(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd) { in closeContext()
330 close(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd); in closeContext()
331 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = -1; in closeContext()
392 if(!ctx->dpyAttr[dpy].mActionSafePresent) in getActionSafePosition()
395 int asWidthRatio = ctx->dpyAttr[dpy].mAsWidthRatio; in getActionSafePosition()
396 int asHeightRatio = ctx->dpyAttr[dpy].mAsHeightRatio; in getActionSafePosition()
403 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition()
404 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition()
405 if(ctx->dpyAttr[dpy].mDownScaleMode) { in getActionSafePosition()
455 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
456 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
537 if(ctx->dpyAttr[dpy].mDownScaleMode) { in getAspectRatioPosition()
543 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
544 fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
566 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait()
567 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in isPrimaryPortrait()
593 int dstWidth = ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
594 int dstHeight = ctx->dpyAttr[dpy].yres;; in calcExtDisplayPosition()
595 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition()
596 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calcExtDisplayPosition()
613 if(ctx->dpyAttr[dpy].mDownScaleMode) { in calcExtDisplayPosition()
617 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
618 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in calcExtDisplayPosition()
635 if(extOrient || ctx->dpyAttr[dpy].mDownScaleMode) { in calcExtDisplayPosition()
723 int hw_w = ctx->dpyAttr[dpy].xres; in needsScalingWithSplit()
724 int hw_h = ctx->dpyAttr[dpy].yres; in needsScalingWithSplit()
793 int hw_w = ctx->dpyAttr[dpy].xres; in trimLayer()
794 int hw_h = ctx->dpyAttr[dpy].yres; in trimLayer()
834 ctx->dpyAttr[dpy].mActionSafePresent = isActionSafePresent(ctx, dpy); in setListStats()
1007 ctx->dpyAttr[dpy].mAsWidthRatio = atoi(value); in isActionSafePresent()
1009 ctx->dpyAttr[dpy].mAsHeightRatio = atoi(value); in isActionSafePresent()
1011 if(!ctx->dpyAttr[dpy].mAsWidthRatio && !ctx->dpyAttr[dpy].mAsHeightRatio) { in isActionSafePresent()
1251 return ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive; in isExternalActive()
1381 fbFd = ctx->dpyAttr[dpy].fd; in hwc_sync()
1576 int w = ctx->dpyAttr[dpy].xres; in configColorLayer()
1577 int h = ctx->dpyAttr[dpy].yres; in configColorLayer()
1752 int hw_w = ctx->dpyAttr[dpy].xres; in configureSplit()
1753 int hw_h = ctx->dpyAttr[dpy].yres; in configureSplit()
2013 !ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isPause) { in canUseRotator()
2027 int lSplit = ctx->dpyAttr[dpy].xres / 2; in getLeftSplit()
2037 if(ctx->dpyAttr[dpy].xres > qdutils::MAX_DISPLAY_DIM) { in isDisplaySplit()
2233 const int fbXRes = (int)ctx->dpyAttr[dpy].xres; in resetROI()
2234 const int fbYRes = (int)ctx->dpyAttr[dpy].yres; in resetROI()