Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:mDpy

59 MDPComp::MDPComp(int dpy):mDpy(dpy){};
67 (mDpy == 0) ? "\"PRIMARY\"" :
68 (mDpy == 1) ? "\"EXTERNAL\"" : "\"VIRTUAL\"");
75 if(isDisplaySplit(ctx, mDpy)) {
78 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
79 ctx->listStats[mDpy].lRoi.right,
80 ctx->listStats[mDpy].lRoi.bottom,
81 ctx->listStats[mDpy].rRoi.left,ctx->listStats[mDpy].rRoi.top,
82 ctx->listStats[mDpy].rRoi.right,
83 ctx->listStats[mDpy].rRoi.bottom);
86 ctx->listStats[mDpy].lRoi.left,ctx->listStats[mDpy].lRoi.top,
87 ctx->listStats[mDpy].lRoi.right,
88 ctx->listStats[mDpy].lRoi.bottom);
172 const int numLayers = ctx->listStats[mDpy].numAppLayers;
174 ctx->mOverlay->clear(mDpy);
175 ctx->mLayerRotMap[mDpy]->clear();
202 LayerProp *layerProp = ctx->layerProp[mDpy];
204 for(int index = 0; index < ctx->listStats[mDpy].numAppLayers; index++) {
225 isSkipPresent(ctx, mDpy)) {
415 __FUNCTION__,mDpy);
448 hwc_rect_t roi = ctx->listStats[mDpy].lRoi;
458 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
459 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi;
498 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
503 hwc_rect fullFrame = (struct hwc_rect) {0, 0,(int)ctx->dpyAttr[mDpy].xres,
504 (int)ctx->dpyAttr[mDpy].yres};
526 ctx->listStats[mDpy].lRoi = roi;
528 resetROI(ctx, mDpy);
531 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
532 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom);
536 hwc_rect l_roi = ctx->listStats[mDpy].lRoi;
537 hwc_rect r_roi = ctx->listStats[mDpy].rRoi;
552 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
554 hwc_rect_t visibleRectL = ctx->listStats[mDpy].lRoi;
555 hwc_rect_t visibleRectR = ctx->listStats[mDpy].rRoi;
600 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
601 int lSplit = getLeftSplit(ctx, mDpy);
603 int hw_h = (int)ctx->dpyAttr[mDpy].yres;
604 int hw_w = (int)ctx->dpyAttr[mDpy].xres;
648 ctx->listStats[mDpy].lRoi = l_roi;
649 ctx->listStats[mDpy].rRoi = r_roi;
652 resetROI(ctx, mDpy);
656 ctx->listStats[mDpy].lRoi.left, ctx->listStats[mDpy].lRoi.top,
657 ctx->listStats[mDpy].lRoi.right, ctx->listStats[mDpy].lRoi.bottom,
658 ctx->listStats[mDpy].rRoi.left, ctx->listStats[mDpy].rRoi.top,
659 ctx->listStats[mDpy].rRoi.right, ctx->listStats[mDpy].rRoi.bottom);
667 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
670 if(sIdleFallBack && !ctx->listStats[mDpy].secureUI) {
671 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy);
675 if(isSkipPresent(ctx, mDpy)) {
678 isSkipPresent(ctx, mDpy));
682 if(mDpy > HWC_DISPLAY_PRIMARY && (priDispW > MAX_DISPLAY_DIM) &&
683 (ctx->dpyAttr[mDpy].xres < MAX_DISPLAY_DIM)) {
694 if(ctx->dpyAttr[mDpy].mActionSafePresent
695 || ctx->dpyAttr[mDpy].mDownScaleMode) {
705 if(!canUseRotator(ctx, mDpy)) {
707 __FUNCTION__, mDpy);
715 (ctx->dpyAttr[mDpy].xres > 1024) &&
742 if((mDpy > HWC_DISPLAY_PRIMARY) &&
748 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
762 mDpy >= HWC_DISPLAY_EXTERNAL &&
811 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
831 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy);
843 if((mDpy > HWC_DISPLAY_PRIMARY) and
870 const int numAppLayers = ctx->listStats[mDpy].numAppLayers;
873 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT));
952 if(mDpy or isSecurePresent(ctx, mDpy) or
953 isYuvPresent(ctx, mDpy)) {
962 isSkipPresent(ctx, mDpy) || (list->flags & HWC_GEOMETRY_CHANGED) ||
963 mDpy ) {
980 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
987 if(!isYuvPresent(ctx, mDpy) or (mdpCount == 0)) {
994 if(!isSecurePresent(ctx, mDpy) && secureOnly){
1020 ALOGD_IF(isDebug(), "%s: Video marked SKIP dpy %d", __FUNCTION__, mDpy);
1024 if(layer->transform & HWC_TRANSFORM_ROT_90 && !canUseRotator(ctx,mDpy)) {
1216 int numAppLayers = ctx->listStats[mDpy].numAppLayers;
1241 int nYuvCount = ctx->listStats[mDpy].yuvCount;
1243 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index];
1302 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, fbRect, mCurrentFrame.fbZ))
1352 if(!ctx->mOverlay->validateAndSet(mDpy, ctx->dpyAttr[mDpy].fd)) {
1354 ,__FUNCTION__, mDpy);
1415 const int numLayers = ctx->listStats[mDpy].numAppLayers;
1442 if(ctx->listStats[mDpy].isDisplayAnimating) {
1444 if(ctx->mAnimationState[mDpy] == ANIMATION_STOPPED) {
1446 ctx->mAnimationState[mDpy] = ANIMATION_STARTED;
1453 ctx->mAnimationState[mDpy] = ANIMATION_STOPPED;
1463 resetROI(ctx, mDpy);
1502 pipeSpecs.dpy = mDpy;
1565 return configureNonSplit(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest,
1595 pipeSpecs.dpy = mDpy;
1618 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg,
1634 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) {
1645 LayerProp *layerProp = ctx->layerProp[mDpy];
1647 int numHwLayers = ctx->listStats[mDpy].numAppLayers;
1686 __FUNCTION__, mDpy);
1697 __FUNCTION__, mDpy);
1732 __FUNCTION__, mDpy);
1748 const int lSplit = getLeftSplit(ctx, mDpy);
1776 const int lSplit = getLeftSplit(ctx, mDpy);
1785 pipeSpecs.needsScaling = qhwc::needsScalingWithSplit(ctx, layer, mDpy);
1786 pipeSpecs.dpy = mDpy;
1791 hwc_rect_t l_roi = ctx->listStats[mDpy].lRoi;
1792 hwc_rect_t r_roi = ctx->listStats[mDpy].rRoi;
1819 const int lSplit = getLeftSplit(ctx, mDpy);
1844 const int lSplit = getLeftSplit(ctx, mDpy);
1855 return configureSourceSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg,
1879 return configureSplit(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest,
1895 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) {
1906 LayerProp *layerProp = ctx->layerProp[mDpy];
1908 int numHwLayers = ctx->listStats[mDpy].numAppLayers;
1946 __FUNCTION__, mDpy);
1957 __FUNCTION__, mDpy);
2034 pipeSpecs.dpy = mDpy;
2051 bool primarySplitAlways = (mDpy == HWC_DISPLAY_PRIMARY) and
2053 int lSplit = getLeftSplit(ctx, mDpy);
2125 ctx->mLayerRotMap[mDpy]->add(layer, *rot);