Lines Matching refs:HWC_DISPLAY_PRIMARY
271 const int dpy = HWC_DISPLAY_PRIMARY;
362 case HWC_DISPLAY_PRIMARY:
402 if(dpy == HWC_DISPLAY_PRIMARY) {
460 if (dpy == HWC_DISPLAY_PRIMARY && not (mode == HWC_POWER_MODE_OFF)) {
468 case HWC_DISPLAY_PRIMARY:
520 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) {
527 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF);
534 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL);
539 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1);
582 const int dpy = HWC_DISPLAY_PRIMARY;
709 case HWC_DISPLAY_PRIMARY:
741 case HWC_DISPLAY_PRIMARY:
769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) {