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()
268 int hw_w = ctx->dpyAttr[mDpy].xres; in isValidDimension()
269 int hw_h = ctx->dpyAttr[mDpy].yres; in isValidDimension()
318 mdp_pipe = ov.nextPipe(ovutils::OV_MDP_PIPE_DMA, mDpy, mixer); in getMdpPipe()
324 mdp_pipe = ov.nextPipe(ovutils::OV_MDP_PIPE_RGB, mDpy, mixer); in getMdpPipe()
334 return ov.nextPipe(ovutils::OV_MDP_PIPE_VG, mDpy, mixer); in getMdpPipe()
344 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in isFrameDoable()
373 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in isFullFrameDoable()
376 ALOGD_IF(isDebug(), "%s: Idle fallback dpy %d",__FUNCTION__, mDpy); in isFullFrameDoable()
380 if(isSkipPresent(ctx, mDpy)) { in isFullFrameDoable()
383 isSkipPresent(ctx, mDpy)); in isFullFrameDoable()
387 if(ctx->listStats[mDpy].needsAlphaScale in isFullFrameDoable()
398 if(!canUseRotator(ctx, mDpy)) { in isFullFrameDoable()
400 __FUNCTION__, mDpy); in isFullFrameDoable()
405 if(mDpy > HWC_DISPLAY_PRIMARY && isL3SecureBuffer(hnd)) { in isFullFrameDoable()
412 (ctx->dpyAttr[mDpy].xres > 1024) && in isFullFrameDoable()
434 if((mDpy > HWC_DISPLAY_PRIMARY) && in fullMDPComp()
444 if(mDpy > HWC_DISPLAY_EXTERNAL) { in fullMDPComp()
448 const int numAppLayers = ctx->listStats[mDpy].numAppLayers; in fullMDPComp()
497 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in cacheBasedComp()
516 ALOGD_IF(isDebug(),"%s: batching failed, dpy %d",__FUNCTION__, mDpy); in cacheBasedComp()
523 if((mDpy > HWC_DISPLAY_PRIMARY) and in cacheBasedComp()
533 if(mDpy > HWC_DISPLAY_EXTERNAL) { in cacheBasedComp()
551 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in loadBasedComp()
613 if(mDpy or isSecurePresent(ctx, mDpy) or in isLoadBasedCompDoable()
622 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in isOnlyVideoDoable()
628 if(!isYuvPresent(ctx, mDpy)) { in isOnlyVideoDoable()
644 int nYuvCount = ctx->listStats[mDpy].yuvCount; in isOnlyVideoDoable()
646 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index]; in isOnlyVideoDoable()
655 if(mDpy > HWC_DISPLAY_PRIMARY && isL3SecureBuffer(hnd)) { in isOnlyVideoDoable()
670 if(layer->transform & HWC_TRANSFORM_ROT_90 && !canUseRotator(ctx,mDpy)) { in isYUVDoable()
749 int numAppLayers = ctx->listStats[mDpy].numAppLayers; in updateLayerCache()
772 int nYuvCount = ctx->listStats[mDpy].yuvCount; in updateYUV()
774 int nYuvIndex = ctx->listStats[mDpy].yuvIndices[index]; in updateYUV()
853 const int numLayers = ctx->listStats[mDpy].numAppLayers; in prepare()
880 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, in prepare()
900 isSkipPresent(ctx, mDpy))) { in prepare()
917 if(!ctx->mFBUpdate[mDpy]->prepare(ctx, list, mCurrentFrame.fbZ)) { in prepare()
964 return configureLowRes(ctx, layer, mDpy, mdpFlags, zOrder, isFg, dest, in configure()
972 int availPipes = ov.availablePipes(mDpy, Overlay::MIXER_DEFAULT); in arePipesAvailable()
980 __FUNCTION__, mDpy, numPipesNeeded, availPipes); in arePipesAvailable()
1004 } else if(!qhwc::needsScaling(ctx, layer, mDpy) in allocLayerPipes()
1032 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1042 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1044 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()
1093 ALOGE("%s: queueBuffer failed for display:%d ", __FUNCTION__, mDpy); in draw()
1108 const int xres = ctx->dpyAttr[mDpy].xres; in pipesNeeded()
1110 const int lSplit = getLeftSplit(ctx, mDpy); in pipesNeeded()
1132 int availPipes = ov.availablePipes(mDpy, i); in arePipesAvailable()
1141 __FUNCTION__, mDpy, i, numPipesNeeded, availPipes); in arePipesAvailable()
1151 const int xres = ctx->dpyAttr[mDpy].xres; in acquireMDPPipes()
1152 const int lSplit = getLeftSplit(ctx, mDpy); in acquireMDPPipes()
1190 } else if(!qhwc::needsScaling(ctx, layer, mDpy) in allocLayerPipes()
1221 return configureHighRes(ctx, layer, mDpy, mdpFlagsL, zOrder, isFg, lDest, in configure()
1237 if(ctx->listStats[mDpy].numAppLayers > MAX_NUM_APP_LAYERS) { in draw()
1247 LayerProp *layerProp = ctx->layerProp[mDpy]; in draw()
1249 int numHwLayers = ctx->listStats[mDpy].numAppLayers; in draw()