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);
184 const int numLayers = ctx->listStats[mDpy].numAppLayers;
186 ctx->mOverlay->clear(mDpy);
187 ctx->mLayerRotMap[mDpy]->clear();
219 LayerProp *layerProp = ctx->layerProp[mDpy];
221 for(int index = 0; index < ctx->listStats[mDpy].numAppLayers; index++) {
242 isSkipPresent(ctx, mDpy)) {
442 __FUNCTION__,mDpy);
449 hwc_rect_t roi = ctx->listStats[mDpy].lRoi;
459 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
460 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi;
499 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
504 hwc_rect fullFrame = (struct hwc_rect) {0, 0,(int)ctx->dpyAttr[mDpy].xres,
505 (int)ctx->dpyAttr[mDpy].yres};
535 ctx->listStats[mDpy].lRoi = roi;
537 resetROI(ctx, mDpy);
540 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
541 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom);
545 hwc_rect l_roi = ctx->listStats[mDpy].lRoi;
546 hwc_rect r_roi = ctx->listStats[mDpy].rRoi;
561 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
563 hwc_rect_t visibleRectL = ctx->listStats[mDpy].lRoi;
564 hwc_rect_t visibleRectR = ctx->listStats[mDpy].rRoi;
609 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
610 int lSplit = getLeftSplit(ctx, mDpy);
612 int hw_h = (int)ctx->dpyAttr[mDpy].yres;
613 int hw_w = (int)ctx->dpyAttr[mDpy].xres;
666 ctx->listStats[mDpy].lRoi = l_roi;
667 ctx->listStats[mDpy].rRoi = r_roi;
670 resetROI(ctx, mDpy);
674 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
675 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom,
676 ctx->listStats[mDpy].rRoi.left, ctx->listStats[mDpy].rRoi.top,
677 ctx->listStats[mDpy].rRoi.right, ctx->listStats[mDpy].rRoi.bottom);
685 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
688 if(sIdleFallBack && !ctx->listStats[mDpy].secureUI) {
689 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy);
693 if(isSkipPresent(ctx, mDpy)) {
696 isSkipPresent(ctx, mDpy));
700 if(mDpy > HWC_DISPLAY_PRIMARY && (priDispW > MAX_DISPLAY_DIM) &&
701 (ctx->dpyAttr[mDpy].xres < MAX_DISPLAY_DIM)) {
712 if(ctx->dpyAttr[mDpy].mActionSafePresent
713 || ctx->dpyAttr[mDpy].mDownScaleMode) {
723 if(!canUseRotator(ctx, mDpy)) {
725 __FUNCTION__, mDpy);
733 (ctx->dpyAttr[mDpy].xres > 1024) &&
762 if((mDpy > HWC_DISPLAY_PRIMARY) &&
768 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
806 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
808 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT));
811 if (mDpy || !ctx->mCopyBit[mDpy] || isDisplaySplit(ctx, mDpy)) {
817 if ((numAppLayers > stagesForMDP) || isSkipPresent(ctx, mDpy) ||
818 isYuvPresent(ctx, mDpy) || mCurrentFrame.dropCount ||
819 isSecurePresent(ctx, mDpy)) {
851 if (!isPeripheral(dispFrame, ctx->mViewFrame[mDpy]) ||
856 ((int)ctx->dpyAttr[mDpy].xres * (int)ctx->dpyAttr[mDpy].yres)) {
900 if (!ctx->mCopyBit[mDpy]->prepareOverlap(ctx, list)) {
993 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1013 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy);
1025 if((mDpy > HWC_DISPLAY_PRIMARY) and
1052 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1055 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT));
1134 if(mDpy or isSecurePresent(ctx, mDpy) or
1135 isYuvPresent(ctx, mDpy)) {
1144 isSkipPresent(ctx, mDpy) || (list->flags & HWC_GEOMETRY_CHANGED) ||
1145 mDpy ) {
1148 if(ctx->listStats[mDpy].secureUI)
1164 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1171 if(!isYuvPresent(ctx, mDpy) or (mdpCount == 0)) {
1178 if(!isSecurePresent(ctx, mDpy) && secureOnly){
1204 ALOGD_IF(isDebug(), "%s: Video marked SKIP dpy %d", __FUNCTION__, mDpy);
1208 if(has90Transform(layer) && !canUseRotator(ctx, mDpy)) {
1400 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1424 int nYuvCount = ctx->listStats[mDpy].yuvCount;
1426 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index];
1485 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ))
1535 if(!ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd)) {
1537 ,__FUNCTION__, mDpy);
1567 __FUNCTION__, mDpy);
1625 const int numLayers = ctx->listStats[mDpy].numAppLayers;
1636 if(!mDpy)
1654 if(ctx->listStats[mDpy].isDisplayAnimating) {
1656 if(ctx->mAnimationState[mDpy] == ANIMATION_STOPPED) {
1658 ctx->mAnimationState[mDpy] = ANIMATION_STARTED;
1665 ctx->mAnimationState[mDpy] = ANIMATION_STOPPED;
1676 resetROI(ctx, mDpy);
1716 pipeSpecs.dpy = mDpy;
1737 fd = ctx->mCopyBit[mDpy]->drawOverlap(ctx, list);
1792 return configureNonSplit(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest,
1822 pipeSpecs.dpy = mDpy;
1846 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg,
1863 LayerProp *layerProp = ctx->layerProp[mDpy];
1865 int numHwLayers = ctx->listStats[mDpy].numAppLayers;
1904 __FUNCTION__, mDpy);
1915 __FUNCTION__, mDpy);
1936 if (!mDpy && (index != -1)) {
1937 hnd = ctx->mCopyBit[mDpy]->getCurrentRenderBuffer();
1957 __FUNCTION__, mDpy);
1973 const int lSplit = getLeftSplit(ctx, mDpy);
2001 const int lSplit = getLeftSplit(ctx, mDpy);
2010 pipeSpecs.needsScaling = qhwc::needsScalingWithSplit(ctx, layer, mDpy);
2011 pipeSpecs.dpy = mDpy;
2016 hwc_rect_t l_roi = ctx->listStats[mDpy].lRoi;
2017 hwc_rect_t r_roi = ctx->listStats[mDpy].rRoi;
2044 const int lSplit = getLeftSplit(ctx, mDpy);
2069 const int lSplit = getLeftSplit(ctx, mDpy);
2080 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg,
2104 return configureSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest,
2121 LayerProp *layerProp = ctx->layerProp[mDpy];
2123 int numHwLayers = ctx->listStats[mDpy].numAppLayers;
2161 __FUNCTION__, mDpy);
2172 __FUNCTION__, mDpy);
2188 if (!mDpy && (index != -1)) {
2189 hnd = ctx->mCopyBit[mDpy]->getCurrentRenderBuffer();
2253 pipeSpecs.dpy = mDpy;
2270 bool primarySplitAlways = (mDpy == HWC_DISPLAY_PRIMARY) and
2272 int lSplit = getLeftSplit(ctx, mDpy);
2343 ctx->mLayerRotMap[mDpy]->add(layer, *rot);