• Home
  • Raw
  • Download

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()
526 ctx->listStats[mDpy].lRoi = roi; in generateROI()
528 resetROI(ctx, mDpy); in generateROI()
531 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top, in generateROI()
532 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom); in generateROI()
536 hwc_rect l_roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI()
537 hwc_rect r_roi = ctx->listStats[mDpy].rRoi; in trimAgainstROI()
552 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in validateAndApplyROI()
554 hwc_rect_t visibleRectL = ctx->listStats[mDpy].lRoi; in validateAndApplyROI()
555 hwc_rect_t visibleRectR = ctx->listStats[mDpy].rRoi; in validateAndApplyROI()
600 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in generateROI()
601 int lSplit = getLeftSplit(ctx, mDpy); in generateROI()
603 int hw_h = (int)ctx->dpyAttr[mDpy].yres; in generateROI()
604 int hw_w = (int)ctx->dpyAttr[mDpy].xres; in generateROI()
648 ctx->listStats[mDpy].lRoi = l_roi; in generateROI()
649 ctx->listStats[mDpy].rRoi = r_roi; in generateROI()
652 resetROI(ctx, mDpy); in generateROI()
656 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top, in generateROI()
657 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom, in generateROI()
658 ctx->listStats[mDpy].rRoi.left, ctx->listStats[mDpy].rRoi.top, in generateROI()
659 ctx->listStats[mDpy].rRoi.right, ctx->listStats[mDpy].rRoi.bottom); in generateROI()
667 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in tryFullFrame()
670 if(sIdleFallBack && !ctx->listStats[mDpy].secureUI) { in tryFullFrame()
671 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy); in tryFullFrame()
675 if(isSkipPresent(ctx, mDpy)) { in tryFullFrame()
678 isSkipPresent(ctx, mDpy)); in tryFullFrame()
682 if(mDpy > HWC_DISPLAY_PRIMARY && (priDispW > MAX_DISPLAY_DIM) && in tryFullFrame()
683 (ctx->dpyAttr[mDpy].xres < MAX_DISPLAY_DIM)) { in tryFullFrame()
694 if(ctx->dpyAttr[mDpy].mActionSafePresent in tryFullFrame()
695 || ctx->dpyAttr[mDpy].mDownScaleMode) { in tryFullFrame()
705 if(!canUseRotator(ctx, mDpy)) { in tryFullFrame()
707 __FUNCTION__, mDpy); in tryFullFrame()
715 (ctx->dpyAttr[mDpy].xres > 1024) && in tryFullFrame()
742 if((mDpy > HWC_DISPLAY_PRIMARY) && in fullMDPComp()
748 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in fullMDPComp()
762 mDpy >= HWC_DISPLAY_EXTERNAL && in fullMDPComp()
811 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in cacheBasedComp()
831 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy); in cacheBasedComp()
843 if((mDpy > HWC_DISPLAY_PRIMARY) and in cacheBasedComp()
870 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in loadBasedComp()
873 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT)); in loadBasedComp()
952 if(mDpy or isSecurePresent(ctx, mDpy) or in isLoadBasedCompDoable()
953 isYuvPresent(ctx, mDpy)) { in isLoadBasedCompDoable()
962 isSkipPresent(ctx, mDpy) || (list->flags & HWC_GEOMETRY_CHANGED) || in canPartialUpdate()
963 mDpy ) { in canPartialUpdate()
980 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in videoOnlyComp()
987 if(!isYuvPresent(ctx, mDpy) or (mdpCount == 0)) { in videoOnlyComp()
994 if(!isSecurePresent(ctx, mDpy) && secureOnly){ in videoOnlyComp()
1020 ALOGD_IF(isDebug(), "%s: Video marked SKIP dpy %d", __FUNCTION__, mDpy); in isYUVDoable()
1024 if(layer->transform & HWC_TRANSFORM_ROT_90 && !canUseRotator(ctx,mDpy)) { in isYUVDoable()
1216 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in updateLayerCache()
1241 int nYuvCount = ctx->listStats[mDpy].yuvCount; in updateYUV()
1243 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index]; in updateYUV()
1302 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ)) in postHeuristicsHandling()
1352 if(!ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd)) { in postHeuristicsHandling()
1354 ,__FUNCTION__, mDpy); in postHeuristicsHandling()
1415 const int numLayers = ctx->listStats[mDpy].numAppLayers; in prepare()
1442 if(ctx->listStats[mDpy].isDisplayAnimating) { in prepare()
1444 if(ctx->mAnimationState[mDpy] == ANIMATION_STOPPED) { in prepare()
1446 ctx->mAnimationState[mDpy] = ANIMATION_STARTED; in prepare()
1453 ctx->mAnimationState[mDpy] = ANIMATION_STOPPED; in prepare()
1463 resetROI(ctx, mDpy); in prepare()
1502 pipeSpecs.dpy = mDpy; in allocSplitVGPipesfor4k2k()
1565 return configureNonSplit(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest, in configure()
1595 pipeSpecs.dpy = mDpy; in allocLayerPipes()
1618 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, in configure4k2kYuv()
1634 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1645 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1647 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()
1686 __FUNCTION__, mDpy); in draw()
1697 __FUNCTION__, mDpy); in draw()
1732 __FUNCTION__, mDpy); in draw()
1748 const int lSplit = getLeftSplit(ctx, mDpy); in adjustForSourceSplit()
1776 const int lSplit = getLeftSplit(ctx, mDpy); in acquireMDPPipes()
1785 pipeSpecs.needsScaling = qhwc::needsScalingWithSplit(ctx, layer, mDpy); in acquireMDPPipes()
1786 pipeSpecs.dpy = mDpy; in acquireMDPPipes()
1791 hwc_rect_t l_roi = ctx->listStats[mDpy].lRoi; in acquireMDPPipes()
1792 hwc_rect_t r_roi = ctx->listStats[mDpy].rRoi; in acquireMDPPipes()
1819 const int lSplit = getLeftSplit(ctx, mDpy); in allocLayerPipes()
1844 const int lSplit = getLeftSplit(ctx, mDpy); in configure4k2kYuv()
1855 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, in configure4k2kYuv()
1879 return configureSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest, in configure()
1895 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1906 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1908 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()
1946 __FUNCTION__, mDpy); in draw()
1957 __FUNCTION__, mDpy); in draw()
2034 pipeSpecs.dpy = mDpy; in acquireMDPPipes()
2051 bool primarySplitAlways = (mDpy == HWC_DISPLAY_PRIMARY) and in acquireMDPPipes()
2053 int lSplit = getLeftSplit(ctx, mDpy); in acquireMDPPipes()
2125 ctx->mLayerRotMap[mDpy]->add(layer, *rot); in configure()