Home | History | Annotate | Download | only in libvirtual

Lines Matching refs:mFd

65     if(ioctl(mFd, FBIOGET_VSCREENINFO, &mVInfo) < 0) {
89 VirtualDisplay::VirtualDisplay(hwc_context_t* ctx):mFd(-1),
195 if (mFd == -1) {
202 mFd = open(strDevPath, O_RDWR);
203 if(mFd < 0) {
208 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd;
215 if(mFd >= 0) {
216 if(close(mFd) < 0 ) {
217 ALOGE("%s: Unable to close FD(%d)", __FUNCTION__, mFd);
220 mFd = -1;
221 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd;