Lines Matching refs:mDpy

59 MDPComp::MDPComp(int dpy):mDpy(dpy){};  in MDPComp()
67 (mDpy == 0) ? "\"PRIMARY\"" : in dump()
68 (mDpy == 1) ? "\"EXTERNAL\"" : "\"VIRTUAL\""); in dump()
75 if(isDisplaySplit(ctx, mDpy)) { in dump()
78 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top, in dump()
79 ctx->listStats[mDpy].lRoi.right, in dump()
80 ctx->listStats[mDpy].lRoi.bottom, in dump()
81 ctx->listStats[mDpy].rRoi.left,ctx->listStats[mDpy].rRoi.top, in dump()
82 ctx->listStats[mDpy].rRoi.right, in dump()
83 ctx->listStats[mDpy].rRoi.bottom); in dump()
86 ctx->listStats[mDpy].lRoi.left,ctx->listStats[mDpy].lRoi.top, in dump()
87 ctx->listStats[mDpy].lRoi.right, in dump()
88 ctx->listStats[mDpy].lRoi.bottom); in dump()
172 const int numLayers = ctx->listStats[mDpy].numAppLayers; in reset()
174 ctx->mOverlay->clear(mDpy); in reset()
175 ctx->mLayerRotMap[mDpy]->clear(); in reset()
202 LayerProp *layerProp = ctx->layerProp[mDpy]; in setMDPCompLayerFlags()
204 for(int index = 0; index < ctx->listStats[mDpy].numAppLayers; index++) { in setMDPCompLayerFlags()
225 isSkipPresent(ctx, mDpy)) { in setRedraw()
415 __FUNCTION__,mDpy); in isFrameDoable()
448 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI()
458 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in validateAndApplyROI()
459 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi; in validateAndApplyROI()
498 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in generateROI()
503 hwc_rect fullFrame = (struct hwc_rect) {0, 0,(int)ctx->dpyAttr[mDpy].xres, in generateROI()
504 (int)ctx->dpyAttr[mDpy].yres}; in generateROI()
528 ctx->listStats[mDpy].lRoi = roi; in generateROI()
530 resetROI(ctx, mDpy); in generateROI()
533 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top, in generateROI()
534 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom); in generateROI()
538 hwc_rect l_roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI()
539 hwc_rect r_roi = ctx->listStats[mDpy].rRoi; in trimAgainstROI()
554 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in validateAndApplyROI()
556 hwc_rect_t visibleRectL = ctx->listStats[mDpy].lRoi; in validateAndApplyROI()
557 hwc_rect_t visibleRectR = ctx->listStats[mDpy].rRoi; in validateAndApplyROI()
602 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in generateROI()
603 int lSplit = getLeftSplit(ctx, mDpy); in generateROI()
605 int hw_h = (int)ctx->dpyAttr[mDpy].yres; in generateROI()
606 int hw_w = (int)ctx->dpyAttr[mDpy].xres; in generateROI()
653 ctx->listStats[mDpy].lRoi = l_roi; in generateROI()
654 ctx->listStats[mDpy].rRoi = r_roi; in generateROI()
657 resetROI(ctx, mDpy); in generateROI()
661 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top, in generateROI()
662 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom, in generateROI()
663 ctx->listStats[mDpy].rRoi.left, ctx->listStats[mDpy].rRoi.top, in generateROI()
664 ctx->listStats[mDpy].rRoi.right, ctx->listStats[mDpy].rRoi.bottom); in generateROI()
672 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in tryFullFrame()
675 if(sIdleFallBack && !ctx->listStats[mDpy].secureUI) { in tryFullFrame()
676 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy); in tryFullFrame()
680 if(isSkipPresent(ctx, mDpy)) { in tryFullFrame()
683 isSkipPresent(ctx, mDpy)); in tryFullFrame()
687 if(mDpy > HWC_DISPLAY_PRIMARY && (priDispW > MAX_DISPLAY_DIM) && in tryFullFrame()
688 (ctx->dpyAttr[mDpy].xres < MAX_DISPLAY_DIM)) { in tryFullFrame()
699 if(ctx->dpyAttr[mDpy].mActionSafePresent in tryFullFrame()
700 || ctx->dpyAttr[mDpy].mDownScaleMode) { in tryFullFrame()
710 if(!canUseRotator(ctx, mDpy)) { in tryFullFrame()
712 __FUNCTION__, mDpy); in tryFullFrame()
720 (ctx->dpyAttr[mDpy].xres > 1024) && in tryFullFrame()
747 if((mDpy > HWC_DISPLAY_PRIMARY) && in fullMDPComp()
753 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in fullMDPComp()
767 mDpy >= HWC_DISPLAY_EXTERNAL && in fullMDPComp()
816 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in cacheBasedComp()
836 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy); in cacheBasedComp()
848 if((mDpy > HWC_DISPLAY_PRIMARY) and in cacheBasedComp()
875 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in loadBasedComp()
878 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT)); in loadBasedComp()
957 if(mDpy or isSecurePresent(ctx, mDpy) or in isLoadBasedCompDoable()
958 isYuvPresent(ctx, mDpy)) { in isLoadBasedCompDoable()
967 isSkipPresent(ctx, mDpy) || (list->flags & HWC_GEOMETRY_CHANGED) || in canPartialUpdate()
968 mDpy ) { in canPartialUpdate()
985 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in videoOnlyComp()
992 if(!isYuvPresent(ctx, mDpy) or (mdpCount == 0)) { in videoOnlyComp()
999 if(!isSecurePresent(ctx, mDpy) && secureOnly){ in videoOnlyComp()
1025 ALOGD_IF(isDebug(), "%s: Video marked SKIP dpy %d", __FUNCTION__, mDpy); in isYUVDoable()
1029 if(layer->transform & HWC_TRANSFORM_ROT_90 && !canUseRotator(ctx,mDpy)) { in isYUVDoable()
1221 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in updateLayerCache()
1246 int nYuvCount = ctx->listStats[mDpy].yuvCount; in updateYUV()
1248 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index]; in updateYUV()
1307 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1357 if(!ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd)) { in postHeuristicsHandling()
1359 ,__FUNCTION__, mDpy); in postHeuristicsHandling()
1420 const int numLayers = ctx->listStats[mDpy].numAppLayers; in prepare()
1447 if(ctx->listStats[mDpy].isDisplayAnimating) { in prepare()
1449 if(ctx->mAnimationState[mDpy] == ANIMATION_STOPPED) { in prepare()
1451 ctx->mAnimationState[mDpy] = ANIMATION_STARTED; in prepare()
1458 ctx->mAnimationState[mDpy] = ANIMATION_STOPPED; in prepare()
1468 resetROI(ctx, mDpy); in prepare()
1507 pipeSpecs.dpy = mDpy; in allocSplitVGPipesfor4k2k()
1570 return configureNonSplit(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest, in configure()
1600 pipeSpecs.dpy = mDpy; in allocLayerPipes()
1623 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, in configure4k2kYuv()
1639 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1650 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1652 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()
1691 __FUNCTION__, mDpy); in draw()
1702 __FUNCTION__, mDpy); in draw()
1737 __FUNCTION__, mDpy); in draw()
1753 const int lSplit = getLeftSplit(ctx, mDpy); in adjustForSourceSplit()
1781 const int lSplit = getLeftSplit(ctx, mDpy); in acquireMDPPipes()
1790 pipeSpecs.needsScaling = qhwc::needsScalingWithSplit(ctx, layer, mDpy); in acquireMDPPipes()
1791 pipeSpecs.dpy = mDpy; in acquireMDPPipes()
1796 hwc_rect_t l_roi = ctx->listStats[mDpy].lRoi; in acquireMDPPipes()
1797 hwc_rect_t r_roi = ctx->listStats[mDpy].rRoi; in acquireMDPPipes()
1824 const int lSplit = getLeftSplit(ctx, mDpy); in allocLayerPipes()
1849 const int lSplit = getLeftSplit(ctx, mDpy); in configure4k2kYuv()
1860 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, in configure4k2kYuv()
1884 return configureSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest, in configure()
1900 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1911 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1913 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()
1951 __FUNCTION__, mDpy); in draw()
1962 __FUNCTION__, mDpy); in draw()
2039 pipeSpecs.dpy = mDpy; in acquireMDPPipes()
2056 bool primarySplitAlways = (mDpy == HWC_DISPLAY_PRIMARY) and in acquireMDPPipes()
2058 int lSplit = getLeftSplit(ctx, mDpy); in acquireMDPPipes()
2130 ctx->mLayerRotMap[mDpy]->add(layer, *rot); in configure()