Lines Matching refs:disp_idx
1746 int disp_idx = GetDisplayIndex(dpy); in SetDisplayDeviceStatus() local
1747 if (disp_idx == -1) { in SetDisplayDeviceStatus()
1752 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetDisplayDeviceStatus()
1753 if (hwc_display_[disp_idx]) { in SetDisplayDeviceStatus()
1754 error = hwc_display_[disp_idx]->SetDisplayStatus(disp_status); in SetDisplayDeviceStatus()
1769 int disp_idx = GetDisplayIndex(dpy); in SetPanelGammaTableSource() local
1770 if (disp_idx == -1) { in SetPanelGammaTableSource()
1775 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetPanelGammaTableSource()
1776 if (hwc_display_[disp_idx]) { in SetPanelGammaTableSource()
1777 error = hwc_display_[disp_idx]->SetCurrentPanelGammaSource(source); in SetPanelGammaTableSource()
1798 int disp_idx = GetDisplayIndex(dpy); in GetDisplayAttributesForConfig() local
1799 if (disp_idx == -1 || config < 0) { in GetDisplayAttributesForConfig()
1804 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in GetDisplayAttributesForConfig()
1805 if (hwc_display_[disp_idx]) { in GetDisplayAttributesForConfig()
1806 error = hwc_display_[disp_idx]->GetDisplayAttributesForConfig(config, &display_attributes); in GetDisplayAttributesForConfig()
1888 int disp_idx = GetDisplayIndex(INT(i)); in SetMaxMixerStages() local
1889 if (disp_idx == -1) { in SetMaxMixerStages()
1892 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetMaxMixerStages()
1893 auto &hwc_display = hwc_display_[disp_idx]; in SetMaxMixerStages()
1895 DLOGW("Display = %d is not connected.", disp_idx); in SetMaxMixerStages()
1944 int disp_idx = GetDisplayIndex(INT(i)); in SetFrameDumpConfig() local
1945 if (disp_idx == -1) { in SetFrameDumpConfig()
1948 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetFrameDumpConfig()
1949 auto &hwc_display = hwc_display_[disp_idx]; in SetFrameDumpConfig()
1951 DLOGW("Display = %d is not connected.", disp_idx); in SetFrameDumpConfig()
1996 int disp_idx = GetDisplayIndex(display); in SetColorModeOverride() local
1997 if (disp_idx == -1) { in SetColorModeOverride()
2006 auto err = CallDisplayFunction(static_cast<hwc2_display_t>(disp_idx), &HWCDisplay::SetColorMode, in SetColorModeOverride()
2031 int disp_idx = GetDisplayIndex(display_id); in SetFrameTriggerMode() local
2032 if (disp_idx == -1) { in SetFrameTriggerMode()
2037 auto err = CallDisplayFunction(static_cast<hwc2_display_t>(disp_idx), in SetFrameTriggerMode()
2073 int disp_idx = GetDisplayIndex(display); in SetColorModeById() local
2074 if (disp_idx == -1) { in SetColorModeById()
2079 auto err = CallDisplayFunction(static_cast<hwc2_display_t>(disp_idx), in SetColorModeById()
2091 int disp_idx = GetDisplayIndex(display); in SetColorModeFromClient() local
2092 if (disp_idx == -1) { in SetColorModeFromClient()
2097 auto err = CallDisplayFunction(static_cast<hwc2_display_t>(disp_idx), in SetColorModeFromClient()
2102 callbacks_.Refresh(static_cast<hwc2_display_t>(disp_idx)); in SetColorModeFromClient()
2110 int disp_idx = GetDisplayIndex(display); in RefreshScreen() local
2111 if (disp_idx == -1) { in RefreshScreen()
2116 callbacks_.Refresh(static_cast<hwc2_display_t>(disp_idx)); in RefreshScreen()
2558 int disp_idx = GetDisplayIndex(input_parcel->readInt32()); in GetVisibleDisplayRect() local
2559 if (disp_idx == -1) { in GetVisibleDisplayRect()
2560 DLOGE("Invalid display = %d", disp_idx); in GetVisibleDisplayRect()
2564 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in GetVisibleDisplayRect()
2565 if (!hwc_display_[disp_idx]) { in GetVisibleDisplayRect()
2570 int error = hwc_display_[disp_idx]->GetVisibleDisplayRect(&visible_rect); in GetVisibleDisplayRect()