Lines Matching refs:mHwcContext
84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown()
85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown()
90 mHwcContext(ctx) in VirtualDisplay()
166 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = true; in setDownScaleMode()
168 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in setDownScaleMode()
173 if(mHwcContext) { in setAttributes()
174 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes()
175 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
176 uint32_t priW = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in setAttributes()
177 uint32_t priH = mHwcContext->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in setAttributes()
186 if(mHwcContext->mOverlay->isUIScalingOnExternalSupported() in setAttributes()
187 && (mHwcContext->mMDPDownscaleEnabled || isDRC)) { in setAttributes()
198 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].left = 0; in setAttributes()
199 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].top = 0; in setAttributes()
200 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].right = in setAttributes()
201 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes()
202 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].bottom = in setAttributes()
203 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes()
204 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].vsync_period = in setAttributes()
226 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in openFrameBuffer()
239 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in closeFrameBuffer()