Lines Matching refs:dpyAttr

239     uint32_t origXres = ctx->dpyAttr[dpy].xres_orig;  in scaleDisplayFrame()
240 uint32_t origYres = ctx->dpyAttr[dpy].yres_orig; in scaleDisplayFrame()
241 uint32_t fakeXres = ctx->dpyAttr[dpy].xres; in scaleDisplayFrame()
242 uint32_t fakeYres = ctx->dpyAttr[dpy].yres; in scaleDisplayFrame()
274 ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
276 if (ctx->dpyAttr[dpy].customFBSize) in hwc_prepare_primary()
308 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
309 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external()
311 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external()
312 ctx->dpyAttr[dpy].isConfiguring = false; in hwc_prepare_external()
469 if(ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK, value) < 0 ) { in hwc_setPowerMode()
481 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
485 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in hwc_setPowerMode()
488 (not ctx->dpyAttr[dpy].isPause)) { in hwc_setPowerMode()
489 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
494 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
499 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
504 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
520 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
583 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) { in hwc_set_primary()
629 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd, lRoi, rRoi)) { in hwc_set_primary()
649 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
650 ctx->dpyAttr[dpy].connected && in hwc_set_external()
651 !ctx->dpyAttr[dpy].isPause) { in hwc_set_external()
689 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_set_external()
751 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
789 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
792 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
794 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
797 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
799 ctx->dpyAttr[disp].yres); in hwc_getDisplayAttributes()
802 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
805 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()