Lines Matching refs:refreshRate
230 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].refreshRate = (uint32_t)fps; in openFramebufferDevice()
487 uint32_t roundOff(uint32_t refreshRate) { in roundOff() argument
489 uint32_t rate = refreshRate; in roundOff()
491 if(abs(stdRefreshRates[i] - refreshRate) < 2) { in roundOff()
502 void setRefreshRate(hwc_context_t* ctx, int dpy, uint32_t refreshRate) { in setRefreshRate() argument
504 if(!ctx || refreshRate == ctx->dpyAttr[dpy].dynRefreshRate) in setRefreshRate()
514 snprintf(str, sizeof(str), "%d", refreshRate); in setRefreshRate()
518 __FUNCTION__, refreshRate, strerror(errno)); in setRefreshRate()
520 ctx->dpyAttr[dpy].dynRefreshRate = refreshRate; in setRefreshRate()
522 __FUNCTION__, refreshRate); in setRefreshRate()
1016 ctx->listStats[dpy].refreshRateRequest = ctx->dpyAttr[dpy].refreshRate; in setListStats()
1017 uint32_t refreshRate = 0; in setListStats() local
1089 if (!refreshRate) { in setListStats()
1090 refreshRate = rate; in setListStats()
1091 } else if(refreshRate != rate) { in setListStats()
1093 refreshRate = ctx->dpyAttr[dpy].refreshRate; in setListStats()
1123 ctx->listStats[dpy].refreshRateRequest = refreshRate ? in setListStats()
1124 refreshRate : ctx->dpyAttr[dpy].refreshRate; in setListStats()