Lines Matching refs:mFd
85 ExternalDisplay::ExternalDisplay(hwc_context_t* ctx):mFd(-1), in ExternalDisplay()
343 if (mFd == -1) { in openFrameBuffer()
346 mFd = open(strDevPath, O_RDWR); in openFrameBuffer()
347 if (mFd < 0) in openFrameBuffer()
349 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in openFrameBuffer()
351 return (mFd > 0); in openFrameBuffer()
357 if(mFd >= 0) { in closeFrameBuffer()
358 ret = close(mFd); in closeFrameBuffer()
359 mFd = -1; in closeFrameBuffer()
361 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].fd = mFd; in closeFrameBuffer()
498 ret = ioctl(mFd, FBIOGET_VSCREENINFO, &mVInfo); in setResolution()
533 if (ioctl(mFd, MSMFB_METADATA_SET, &metadata) == -1) { in setResolution()
539 ret = ioctl(mFd, FBIOPUT_VSCREENINFO, &mVInfo); in setResolution()