• Home
  • Raw
  • Download

Lines Matching refs:dpyAttr

244     uint32_t origXres = ctx->dpyAttr[dpy].xres;  in scaleDisplayFrame()
245 uint32_t origYres = ctx->dpyAttr[dpy].yres; in scaleDisplayFrame()
246 uint32_t newXres = ctx->dpyAttr[dpy].xres_new; in scaleDisplayFrame()
247 uint32_t newYres = ctx->dpyAttr[dpy].yres_new; in scaleDisplayFrame()
272 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
274 if (ctx->dpyAttr[dpy].customFBSize && in hwc_prepare_primary()
307 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
308 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external()
310 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external()
311 ctx->dpyAttr[dpy].isConfiguring = false; in hwc_prepare_external()
450 ctx->dpyAttr[dpy].lastPowerMode = value; in hwc_setPowerMode()
453 if(ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK, value) < 0 ) { in hwc_setPowerMode()
465 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
469 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in hwc_setPowerMode()
472 (not ctx->dpyAttr[dpy].isPause)) { in hwc_setPowerMode()
473 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
478 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
483 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
488 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
504 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
511 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK, in reset_panel()
520 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK, in reset_panel()
521 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode); in reset_panel()
524 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode, in reset_panel()
585 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
659 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd, lRoi, rRoi)) { in hwc_set_primary()
679 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
680 ctx->dpyAttr[dpy].connected && in hwc_set_external()
681 !ctx->dpyAttr[dpy].isPause) { in hwc_set_external()
719 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_set_external()
781 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
799 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
819 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
822 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes()
823 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
825 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
831 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes()
832 values[i] = ctx->dpyAttr[disp].yres_new; in hwc_getDisplayAttributes()
834 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
839 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
842 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()