Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:mDpy

60 MDPComp::MDPComp(int dpy):mDpy(dpy){};
68 (mDpy == 0) ? "\"PRIMARY\"" :
69 (mDpy == 1) ? "\"EXTERNAL\"" : "\"VIRTUAL\"");
76 if(isDisplaySplit(ctx, mDpy)) {
79 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
80 ctx->listStats[mDpy].lRoi.right,
81 ctx->listStats[mDpy].lRoi.bottom,
82 ctx->listStats[mDpy].rRoi.left,ctx->listStats[mDpy].rRoi.top,
83 ctx->listStats[mDpy].rRoi.right,
84 ctx->listStats[mDpy].rRoi.bottom);
87 ctx->listStats[mDpy].lRoi.left,ctx->listStats[mDpy].lRoi.top,
88 ctx->listStats[mDpy].lRoi.right,
89 ctx->listStats[mDpy].lRoi.bottom);
176 const int numLayers = ctx->listStats[mDpy].numAppLayers;
178 ctx->mOverlay->clear(mDpy);
179 ctx->mLayerRotMap[mDpy]->clear();
211 LayerProp *layerProp = ctx->layerProp[mDpy];
213 for(int index = 0; index < ctx->listStats[mDpy].numAppLayers; index++) {
234 isSkipPresent(ctx, mDpy)) {
434 __FUNCTION__,mDpy);
441 hwc_rect_t roi = ctx->listStats[mDpy].lRoi;
451 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
452 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi;
491 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
496 hwc_rect fullFrame = (struct hwc_rect) {0, 0,(int)ctx->dpyAttr[mDpy].xres,
497 (int)ctx->dpyAttr[mDpy].yres};
527 ctx->listStats[mDpy].lRoi = roi;
529 resetROI(ctx, mDpy);
532 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
533 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom);
537 hwc_rect l_roi = ctx->listStats[mDpy].lRoi;
538 hwc_rect r_roi = ctx->listStats[mDpy].rRoi;
553 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
555 hwc_rect_t visibleRectL = ctx->listStats[mDpy].lRoi;
556 hwc_rect_t visibleRectR = ctx->listStats[mDpy].rRoi;
601 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
602 int lSplit = getLeftSplit(ctx, mDpy);
604 int hw_h = (int)ctx->dpyAttr[mDpy].yres;
605 int hw_w = (int)ctx->dpyAttr[mDpy].xres;
658 ctx->listStats[mDpy].lRoi = l_roi;
659 ctx->listStats[mDpy].rRoi = r_roi;
662 resetROI(ctx, mDpy);
666 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
667 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom,
668 ctx->listStats[mDpy].rRoi.left, ctx->listStats[mDpy].rRoi.top,
669 ctx->listStats[mDpy].rRoi.right, ctx->listStats[mDpy].rRoi.bottom);
677 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
680 if(sIdleFallBack && !ctx->listStats[mDpy].secureUI) {
681 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy);
685 if(isSkipPresent(ctx, mDpy)) {
688 isSkipPresent(ctx, mDpy));
692 if(mDpy > HWC_DISPLAY_PRIMARY && (priDispW > MAX_DISPLAY_DIM) &&
693 (ctx->dpyAttr[mDpy].xres < MAX_DISPLAY_DIM)) {
704 if(ctx->dpyAttr[mDpy].mActionSafePresent
705 || ctx->dpyAttr[mDpy].mDownScaleMode) {
715 if(!canUseRotator(ctx, mDpy)) {
717 __FUNCTION__, mDpy);
725 (ctx->dpyAttr[mDpy].xres > 1024) &&
754 if((mDpy > HWC_DISPLAY_PRIMARY) &&
760 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
798 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
800 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT));
803 if (mDpy || !ctx->mCopyBit[mDpy] || isDisplaySplit(ctx, mDpy)) {
809 if ((numAppLayers > stagesForMDP) || isSkipPresent(ctx, mDpy) ||
810 isYuvPresent(ctx, mDpy) || mCurrentFrame.dropCount ||
811 isSecurePresent(ctx, mDpy)) {
843 if (!isPeripheral(dispFrame, ctx->mViewFrame[mDpy]) ||
848 ((int)ctx->dpyAttr[mDpy].xres * (int)ctx->dpyAttr[mDpy].yres)) {
892 if (!ctx->mCopyBit[mDpy]->prepareOverlap(ctx, list)) {
985 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1005 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy);
1017 if((mDpy > HWC_DISPLAY_PRIMARY) and
1044 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1047 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT));
1126 if(mDpy or isSecurePresent(ctx, mDpy) or
1127 isYuvPresent(ctx, mDpy)) {
1136 isSkipPresent(ctx, mDpy) || (list->flags & HWC_GEOMETRY_CHANGED) ||
1137 mDpy ) {
1140 if(ctx->listStats[mDpy].secureUI)
1156 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1163 if(!isYuvPresent(ctx, mDpy) or (mdpCount == 0)) {
1170 if(!isSecurePresent(ctx, mDpy) && secureOnly){
1196 ALOGD_IF(isDebug(), "%s: Video marked SKIP dpy %d", __FUNCTION__, mDpy);
1200 if(has90Transform(layer) && !canUseRotator(ctx, mDpy)) {
1392 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1416 int nYuvCount = ctx->listStats[mDpy].yuvCount;
1418 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index];
1477 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ))
1527 if(!ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd)) {
1529 ,__FUNCTION__, mDpy);
1559 __FUNCTION__, mDpy);
1617 const int numLayers = ctx->listStats[mDpy].numAppLayers;
1628 if(!mDpy)
1646 if(ctx->listStats[mDpy].isDisplayAnimating) {
1648 if(ctx->mAnimationState[mDpy] == ANIMATION_STOPPED) {
1650 ctx->mAnimationState[mDpy] = ANIMATION_STARTED;
1657 ctx->mAnimationState[mDpy] = ANIMATION_STOPPED;
1668 resetROI(ctx, mDpy);
1708 pipeSpecs.dpy = mDpy;
1729 fd = ctx->mCopyBit[mDpy]->drawOverlap(ctx, list);
1784 return configureNonSplit(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest,
1814 pipeSpecs.dpy = mDpy;
1838 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg,
1855 LayerProp *layerProp = ctx->layerProp[mDpy];
1857 int numHwLayers = ctx->listStats[mDpy].numAppLayers;
1896 __FUNCTION__, mDpy);
1907 __FUNCTION__, mDpy);
1928 if (!mDpy && (index != -1)) {
1929 hnd = ctx->mCopyBit[mDpy]->getCurrentRenderBuffer();
1949 __FUNCTION__, mDpy);
1965 const int lSplit = getLeftSplit(ctx, mDpy);
1993 const int lSplit = getLeftSplit(ctx, mDpy);
2002 pipeSpecs.needsScaling = qhwc::needsScalingWithSplit(ctx, layer, mDpy);
2003 pipeSpecs.dpy = mDpy;
2008 hwc_rect_t l_roi = ctx->listStats[mDpy].lRoi;
2009 hwc_rect_t r_roi = ctx->listStats[mDpy].rRoi;
2036 const int lSplit = getLeftSplit(ctx, mDpy);
2061 const int lSplit = getLeftSplit(ctx, mDpy);
2072 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg,
2096 return configureSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest,
2113 LayerProp *layerProp = ctx->layerProp[mDpy];
2115 int numHwLayers = ctx->listStats[mDpy].numAppLayers;
2153 __FUNCTION__, mDpy);
2164 __FUNCTION__, mDpy);
2180 if (!mDpy && (index != -1)) {
2181 hnd = ctx->mCopyBit[mDpy]->getCurrentRenderBuffer();
2245 pipeSpecs.dpy = mDpy;
2262 bool primarySplitAlways = (mDpy == HWC_DISPLAY_PRIMARY) and
2264 int lSplit = getLeftSplit(ctx, mDpy);
2335 ctx->mLayerRotMap[mDpy]->add(layer, *rot);