Lines Matching refs:dpyAttr

68     if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) {  in destroy()
69 ctx->dpyAttr[dpy].connected = false; in destroy()
70 ctx->dpyAttr[dpy].isPause = false; in destroy()
104 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
105 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
107 if(ctx->dpyAttr[dpy].connected == false) { in prepare()
108 ctx->dpyAttr[dpy].connected = true; in prepare()
109 ctx->dpyAttr[dpy].isPause = false; in prepare()
112 ctx->dpyAttr[dpy].vsync_period in prepare()
113 = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period; in prepare()
119 if(!ctx->dpyAttr[dpy].isPause) { in prepare()
120 ctx->dpyAttr[dpy].isConfiguring = false; in prepare()
121 ctx->dpyAttr[dpy].fd = Writeback::getInstance()->getFbFd(); in prepare()
158 if(ctx->dpyAttr[dpy].connected in set()
159 && (!ctx->dpyAttr[dpy].isPause)) in set()
198 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in set()
221 ctx->dpyAttr[dpy].isActive = true; in pause()
222 ctx->dpyAttr[dpy].isPause = true; in pause()
225 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in pause()
233 ctx->dpyAttr[dpy].isConfiguring = true; in resume()
234 ctx->dpyAttr[dpy].isActive = true; in resume()
237 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in resume()
242 ctx->dpyAttr[dpy].isPause = false; in resume()
258 ctx->dpyAttr[dpy].isActive && in prepare()
259 ctx->dpyAttr[dpy].connected && in prepare()
262 if(!ctx->dpyAttr[dpy].isPause) { in prepare()
263 ctx->dpyAttr[dpy].isConfiguring = false; in prepare()
293 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive && in set()
294 ctx->dpyAttr[dpy].connected && in set()
295 (!ctx->dpyAttr[dpy].isPause) && in set()
334 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in set()
356 ctx->dpyAttr[dpy].isActive = true; in pause()
357 ctx->dpyAttr[dpy].isPause = true; in pause()
360 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in pause()
367 if (!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in pause()
391 ctx->dpyAttr[dpy].isConfiguring = true; in resume()
392 ctx->dpyAttr[dpy].isActive = true; in resume()
395 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in resume()
400 ctx->dpyAttr[dpy].isPause = false; in resume()