Lines Matching refs:mDpy
52 MDPComp::MDPComp(int dpy):mDpy(dpy){}; in MDPComp()
60 (mDpy == 0) ? "\"PRIMARY\"" : in dump()
61 (mDpy == 1) ? "\"EXTERNAL\"" : "\"VIRTUAL\""); in dump()
166 LayerProp *layerProp = ctx->layerProp[mDpy]; in setMDPCompLayerFlags()
168 for(int index = 0; index < ctx->listStats[mDpy].numAppLayers; index++) { in setMDPCompLayerFlags()
267 int hw_w = ctx->dpyAttr[mDpy].xres; in isValidDimension()
268 int hw_h = ctx->dpyAttr[mDpy].yres; in isValidDimension()
317 mdp_pipe = ov.nextPipe(ovutils::OV_MDP_PIPE_DMA, mDpy, mixer); in getMdpPipe()
323 mdp_pipe = ov.nextPipe(ovutils::OV_MDP_PIPE_RGB, mDpy, mixer); in getMdpPipe()
333 return ov.nextPipe(ovutils::OV_MDP_PIPE_VG, mDpy, mixer); in getMdpPipe()
371 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in isFullFrameDoable()
374 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy); in isFullFrameDoable()
378 if(isSkipPresent(ctx, mDpy)) { in isFullFrameDoable()
381 isSkipPresent(ctx, mDpy)); in isFullFrameDoable()
385 if(ctx->listStats[mDpy].needsAlphaScale in isFullFrameDoable()
396 if(!canUseRotator(ctx, mDpy)) { in isFullFrameDoable()
398 __FUNCTION__, mDpy); in isFullFrameDoable()
403 if(mDpy > HWC_DISPLAY_PRIMARY && isL3SecureBuffer(hnd)) { in isFullFrameDoable()
410 (ctx->dpyAttr[mDpy].xres > 1024) && in isFullFrameDoable()
432 if((mDpy > HWC_DISPLAY_PRIMARY) && in fullMDPComp()
442 if(mDpy > HWC_DISPLAY_EXTERNAL) { in fullMDPComp()
446 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in fullMDPComp()
495 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in cacheBasedComp()
514 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy); in cacheBasedComp()
521 if((mDpy > HWC_DISPLAY_PRIMARY) and in cacheBasedComp()
531 if(mDpy > HWC_DISPLAY_EXTERNAL) { in cacheBasedComp()
549 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in loadBasedComp()
611 if(mDpy or isSecurePresent(ctx, mDpy) or in isLoadBasedCompDoable()
620 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in isOnlyVideoDoable()
626 if(!isYuvPresent(ctx, mDpy)) { in isOnlyVideoDoable()
642 int nYuvCount = ctx->listStats[mDpy].yuvCount; in isOnlyVideoDoable()
644 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index]; in isOnlyVideoDoable()
653 if(mDpy > HWC_DISPLAY_PRIMARY && isL3SecureBuffer(hnd)) { in isOnlyVideoDoable()
668 if(layer->transform & HWC_TRANSFORM_ROT_90 && !canUseRotator(ctx,mDpy)) { in isYUVDoable()
747 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in updateLayerCache()
769 int nYuvCount = ctx->listStats[mDpy].yuvCount; in updateYUV()
771 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index]; in updateYUV()
850 const int numLayers = ctx->listStats[mDpy].numAppLayers; in prepare()
877 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, in prepare()
897 isSkipPresent(ctx, mDpy))) { in prepare()
914 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, mCurrentFrame.fbZ)) { in prepare()
961 return configureLowRes(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest, in configure()
969 int availPipes = ov.availablePipes(mDpy, Overlay::MIXER_DEFAULT); in arePipesAvailable()
977 __FUNCTION__, mDpy, numPipesNeeded, availPipes); in arePipesAvailable()
1001 } else if(!qhwc::needsScaling(ctx, layer, mDpy) in allocLayerPipes()
1029 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1039 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1041 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()
1090 ALOGE("%s: queueBuffer failed for display:%d ", __FUNCTION__, mDpy); in draw()
1106 const int lSplit = getLeftSplit(ctx, mDpy); in pipesNeeded()
1128 int availPipes = ov.availablePipes(mDpy, i); in arePipesAvailable()
1137 __FUNCTION__, mDpy, i, numPipesNeeded, availPipes); in arePipesAvailable()
1147 const int lSplit = getLeftSplit(ctx, mDpy); in acquireMDPPipes()
1185 } else if(!qhwc::needsScaling(ctx, layer, mDpy) in allocLayerPipes()
1216 return configureHighRes(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest, in configure()
1232 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1242 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1244 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()