Lines Matching refs:dpyAttr
79 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy()
80 ctx->dpyAttr[dpy].connected = false; in destroy()
81 ctx->dpyAttr[dpy].isPause = false; in destroy()
115 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
116 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
118 if(ctx->dpyAttr[dpy].connected == false) { in prepare()
119 ctx->dpyAttr[dpy].connected = true; in prepare()
120 ctx->dpyAttr[dpy].isPause = false; in prepare()
123 ctx->dpyAttr[dpy].vsync_period in prepare()
124 = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period; in prepare()
130 if(!ctx->dpyAttr[dpy].isPause) { in prepare()
131 ctx->dpyAttr[dpy].isConfiguring = false; in prepare()
132 ctx->dpyAttr[dpy].fd = Writeback::getInstance()->getFbFd(); in prepare()
170 if(ctx->dpyAttr[dpy].connected in set()
171 && (!ctx->dpyAttr[dpy].isPause)) in set()
214 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in set()
250 ctx->dpyAttr[dpy].isActive = true; in pause()
251 ctx->dpyAttr[dpy].isPause = true; in pause()
254 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in pause()
261 if (!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in pause()
273 ctx->dpyAttr[dpy].isConfiguring = true; in resume()
274 ctx->dpyAttr[dpy].isActive = true; in resume()
277 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in resume()
282 ctx->dpyAttr[dpy].isPause = false; in resume()
298 ctx->dpyAttr[dpy].isActive && in prepare()
299 ctx->dpyAttr[dpy].connected) { in prepare()
301 if(!ctx->dpyAttr[dpy].isPause) { in prepare()
302 ctx->dpyAttr[dpy].isConfiguring = false; in prepare()
332 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in set()
333 ctx->dpyAttr[dpy].connected && in set()
334 !ctx->dpyAttr[dpy].isPause) { in set()
372 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in set()
394 ctx->dpyAttr[dpy].isActive = true; in pause()
395 ctx->dpyAttr[dpy].isPause = true; in pause()
398 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in pause()
405 if (!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in pause()
429 ctx->dpyAttr[dpy].isConfiguring = true; in resume()
430 ctx->dpyAttr[dpy].isActive = true; in resume()
433 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in resume()
438 ctx->dpyAttr[dpy].isPause = false; in resume()