Lines Matching refs:mHwcContext
87 mUnderscanSupported(false), mHwcContext(ctx) in ExternalDisplay()
349 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in openFrameBuffer()
361 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in closeFrameBuffer()
583 if(mHwcContext) { in setAttributes()
585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setAttributes()
586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setAttributes()
587 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode = false; in setAttributes()
588 if(mHwcContext->mOverlay->isUIScalingOnExternalSupported() in setAttributes()
589 && mHwcContext->mMDPDownscaleEnabled) { in setAttributes()
590 int priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes()
591 int priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
615 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = in setAttributes()
617 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = in setAttributes()
620 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].mDownScaleMode =true; in setAttributes()
624 mHwcContext->mViewFrame[HWC_DISPLAY_EXTERNAL].left = 0; in setAttributes()
625 mHwcContext->mViewFrame[HWC_DISPLAY_EXTERNAL].top = 0; in setAttributes()
626 mHwcContext->mViewFrame[HWC_DISPLAY_EXTERNAL].right = in setAttributes()
627 (int)mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres; in setAttributes()
628 mHwcContext->mViewFrame[HWC_DISPLAY_EXTERNAL].bottom = in setAttributes()
629 (int)mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres; in setAttributes()
630 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].vsync_period = in setAttributes()