Lines Matching refs:fb_fd
174 int fb_fd = openFb(HWC_DISPLAY_PRIMARY);
175 if(fb_fd < 0) {
180 if (ioctl(fb_fd, FBIOGET_VSCREENINFO, &info) == -1) {
183 close(fb_fd);
202 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) {
205 close(fb_fd);
216 if (ioctl(fb_fd, FBIOGET_FSCREENINFO, &finfo) == -1) {
219 close(fb_fd);
223 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd;
240 if(ioctl(fb_fd, FBIOBLANK,FB_BLANK_UNBLANK) < 0) {
255 int fb_fd = -1;
257 fb_fd = open("/dev/graphics/fb0", O_RDONLY);
258 if (fb_fd >=0) {
259 ioctl(fb_fd, FBIOGET_VSCREENINFO, &sInfo);
260 close(fb_fd);