Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:info

50     struct fb_var_screeninfo info;
54 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &info) == -1)
57 if (int(info.width) <= 0 || int(info.height) <= 0) {
60 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
61 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
64 float xdpi = (info.xres * 25.4f) / info.width;
65 float ydpi = (info.yres * 25.4f) / info.height;
81 float fps = info.reserved[3] & 0xFF;
92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8);
93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres;
94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres;