Lines Matching refs:dpyAttr

231     uint32_t origXres = ctx->dpyAttr[dpy].xres;  in scaleDisplayFrame()
232 uint32_t origYres = ctx->dpyAttr[dpy].yres; in scaleDisplayFrame()
233 uint32_t newXres = ctx->dpyAttr[dpy].xres_new; in scaleDisplayFrame()
234 uint32_t newYres = ctx->dpyAttr[dpy].yres_new; in scaleDisplayFrame()
288 if (LIKELY(list && list->numHwLayers > 1) && ctx->dpyAttr[dpy].connected && in hwc_prepare_primary()
289 (ctx->dpyAttr[dpy].isActive || in hwc_prepare_primary()
291 && !ctx->dpyAttr[dpy].isPause) { in hwc_prepare_primary()
295 if (!ctx->dpyAttr[dpy].isActive) { in hwc_prepare_primary()
301 if ((cableConnected == 1) && !ctx->dpyAttr[dpy].connected) { in hwc_prepare_primary()
305 ctx->dpyAttr[dpy].isActive = true; in hwc_prepare_primary()
308 if (ctx->dpyAttr[dpy].customFBSize && in hwc_prepare_primary()
341 ctx->dpyAttr[dpy].isActive && in hwc_prepare_external()
342 ctx->dpyAttr[dpy].connected) { in hwc_prepare_external()
344 if(!ctx->dpyAttr[dpy].isPause) { in hwc_prepare_external()
345 ctx->dpyAttr[dpy].isConfiguring = false; in hwc_prepare_external()
491 if(ctx->dpyAttr[dpy].connected) { in hwc_setPowerMode()
497 (!Overlay::displayCommit(ctx->dpyAttr[dpy].fd))) { in hwc_setPowerMode()
503 if(ioctl(ctx->dpyAttr[dpy].fd, FBIOBLANK, value) < 0 ) { in hwc_setPowerMode()
516 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
521 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in hwc_setPowerMode()
524 (not ctx->dpyAttr[dpy].isPause)) { in hwc_setPowerMode()
525 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
530 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
535 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
540 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF); in hwc_setPowerMode()
559 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel()
623 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive in hwc_set_primary()
624 && !ctx->dpyAttr[dpy].isPause) { in hwc_set_primary()
686 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd, lRoi, rRoi)) { in hwc_set_primary()
706 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in hwc_set_external()
707 ctx->dpyAttr[dpy].connected && in hwc_set_external()
708 !ctx->dpyAttr[dpy].isPause) { in hwc_set_external()
740 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_set_external()
791 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
837 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
857 hotPluggable ? refresh : ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
860 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes()
861 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
863 values[i] = hotPluggable ? xres : ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
869 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes()
870 values[i] = ctx->dpyAttr[disp].yres_new; in hwc_getDisplayAttributes()
872 values[i] = hotPluggable ? yres : ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
877 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
880 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
903 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].dynRefreshRate); in hwc_dump()
930 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getActiveConfig()
954 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_setActiveConfig()