• Home
  • Raw
  • Download

Lines Matching refs:dpyAttr

87     ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_orig = xres_orig;  in changeResolution()
88 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_orig = yres_orig; in changeResolution()
89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution()
99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; in changeResolution()
100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution()
101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution()
160 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice()
162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
163 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice()
164 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
165 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in openFramebufferDevice()
166 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in openFramebufferDevice()
167 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = in openFramebufferDevice()
178 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice()
217 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; in initContext()
218 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected = false; in initContext()
219 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in initContext()
220 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected = false; in initContext()
221 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].mDownScaleMode= false; in initContext()
222 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode = false; in initContext()
223 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in initContext()
227 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].connected = true; in initContext()
235 ctx->dpyAttr[i].mActionSafePresent = false; in initContext()
236 ctx->dpyAttr[i].mAsWidthRatio = 0; in initContext()
237 ctx->dpyAttr[i].mAsHeightRatio = 0; in initContext()
311 if(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd) { in closeContext()
312 close(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd); in closeContext()
313 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = -1; in closeContext()
377 if(!ctx->dpyAttr[dpy].mActionSafePresent) in getActionSafePosition()
380 int asWidthRatio = ctx->dpyAttr[dpy].mAsWidthRatio; in getActionSafePosition()
381 int asHeightRatio = ctx->dpyAttr[dpy].mAsHeightRatio; in getActionSafePosition()
388 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition()
389 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition()
390 if(ctx->dpyAttr[dpy].mDownScaleMode) { in getActionSafePosition()
468 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
469 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
550 if(ctx->dpyAttr[dpy].mDownScaleMode) { in getAspectRatioPosition()
556 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
557 fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
579 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait()
580 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in isPrimaryPortrait()
606 int dstWidth = ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
607 int dstHeight = ctx->dpyAttr[dpy].yres;; in calcExtDisplayPosition()
608 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition()
609 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calcExtDisplayPosition()
626 if(ctx->dpyAttr[dpy].mDownScaleMode) { in calcExtDisplayPosition()
630 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
631 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in calcExtDisplayPosition()
648 if(extOrient || ctx->dpyAttr[dpy].mDownScaleMode) { in calcExtDisplayPosition()
736 int hw_w = ctx->dpyAttr[dpy].xres; in needsScalingWithSplit()
737 int hw_h = ctx->dpyAttr[dpy].yres; in needsScalingWithSplit()
806 int hw_w = ctx->dpyAttr[dpy].xres; in trimLayer()
807 int hw_h = ctx->dpyAttr[dpy].yres; in trimLayer()
833 int dstWidth = ctx->dpyAttr[dpy].xres; in calculateDisplayViewFrame()
834 int dstHeight = ctx->dpyAttr[dpy].yres; in calculateDisplayViewFrame()
835 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calculateDisplayViewFrame()
836 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calculateDisplayViewFrame()
870 ctx->dpyAttr[dpy].mActionSafePresent = isActionSafePresent(ctx, dpy); in setListStats()
1020 ctx->dpyAttr[dpy].mAsWidthRatio = atoi(value); in isActionSafePresent()
1022 ctx->dpyAttr[dpy].mAsHeightRatio = atoi(value); in isActionSafePresent()
1024 if(!ctx->dpyAttr[dpy].mAsWidthRatio && !ctx->dpyAttr[dpy].mAsHeightRatio) { in isActionSafePresent()
1263 return ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive; in isExternalActive()
1378 fbFd = ctx->dpyAttr[dpy].fd; in hwc_sync()
1570 int w = ctx->dpyAttr[dpy].xres; in configColorLayer()
1571 int h = ctx->dpyAttr[dpy].yres; in configColorLayer()
1747 int hw_w = ctx->dpyAttr[dpy].xres; in configureSplit()
1748 int hw_h = ctx->dpyAttr[dpy].yres; in configureSplit()
2009 !ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isPause) { in canUseRotator()
2023 int lSplit = ctx->dpyAttr[dpy].xres / 2; in getLeftSplit()
2033 if(ctx->dpyAttr[dpy].xres > qdutils::MAX_DISPLAY_DIM) { in isDisplaySplit()
2222 const int fbXRes = (int)ctx->dpyAttr[dpy].xres; in resetROI()
2223 const int fbYRes = (int)ctx->dpyAttr[dpy].yres; in resetROI()