/hardware/qcom/display/msm8909/liblight/ |
lights_prv.cpp | 50 int err = disp_api_set_panel_brightness_level_ext(g_ctx, HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8909w_3100/liblight/ |
lights_prv.cpp | 50 int err = disp_api_set_panel_brightness_level_ext(g_ctx, HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8998/liblight/ |
lights_prv.cpp | 50 int err = disp_api_set_panel_brightness_level_ext(g_ctx, HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
hwc_session_services.cpp | 57 return HWC_DISPLAY_PRIMARY; 120 if (disp_id == HWC_DISPLAY_PRIMARY) { 138 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); 139 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; 255 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); 258 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { 259 error = hwc_display_[HWC_DISPLAY_PRIMARY]->SetPanelBrightness(static_cast<int>(level)); 269 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); 272 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { 273 error = hwc_display_[HWC_DISPLAY_PRIMARY]->GetPanelBrightness(level) [all...] |
hwc_session.cpp | 44 #include "hwc_display_primary.h" 139 SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); 196 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY); 201 &hwc_display_[HWC_DISPLAY_PRIMARY]); 231 Locker::SequenceCancelScopeLock lock_p(locker_[HWC_DISPLAY_PRIMARY]); 233 HWCDisplay *primary_display = hwc_display_[HWC_DISPLAY_PRIMARY]; 241 hwc_display_[HWC_DISPLAY_PRIMARY] = nullptr; 405 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { 478 if (display == HWC_DISPLAY_PRIMARY) { 542 if (hwc_session->external_pending_connect_ && (display == HWC_DISPLAY_PRIMARY)) { [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_session.cpp | 54 #include "hwc_display_primary.h" 150 &hwc_display_[HWC_DISPLAY_PRIMARY]); 151 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); 156 &hwc_display_[HWC_DISPLAY_PRIMARY]); 161 &hwc_display_[HWC_DISPLAY_PRIMARY]); 166 &hwc_display_[HWC_DISPLAY_PRIMARY]); 181 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 182 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 191 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 192 hwc_display_[HWC_DISPLAY_PRIMARY] = 0 [all...] |
/device/google/cuttlefish_common/guest/hals/hwcomposer/legacy/ |
hwcomposer_common.h | 33 #define IS_PRIMARY_DISPLAY(x) ((x) == HWC_DISPLAY_PRIMARY)
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
hwc_session.cpp | 55 #include "hwc_display_primary.h" 165 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY, 0, 0, false); 166 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); 171 &hwc_display_[HWC_DISPLAY_PRIMARY]); 176 &hwc_display_[HWC_DISPLAY_PRIMARY]); 181 &hwc_display_[HWC_DISPLAY_PRIMARY]); 196 connected_displays_[HWC_DISPLAY_PRIMARY] = 1; 208 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 209 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 221 connected_displays_[HWC_DISPLAY_PRIMARY] = 0 [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
hwc_session.cpp | 55 #include "hwc_display_primary.h" 165 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY, 0, 0, false); 166 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); 171 &hwc_display_[HWC_DISPLAY_PRIMARY]); 176 &hwc_display_[HWC_DISPLAY_PRIMARY]); 181 &hwc_display_[HWC_DISPLAY_PRIMARY]); 196 connected_displays_[HWC_DISPLAY_PRIMARY] = 1; 208 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 209 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 221 connected_displays_[HWC_DISPLAY_PRIMARY] = 0 [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
hwc_session_services.cpp | 56 return HWC_DISPLAY_PRIMARY; 120 if (disp_id == HWC_DISPLAY_PRIMARY) { 140 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; 253 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { 254 error = hwc_display_[HWC_DISPLAY_PRIMARY]->SetPanelBrightness(static_cast<int>(level)); 268 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { 269 error = hwc_display_[HWC_DISPLAY_PRIMARY]->GetPanelBrightness(level); 315 Refresh(HWC_DISPLAY_PRIMARY); 327 if (disp_id != HWC_DISPLAY_PRIMARY) { 332 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; [all...] |
hwc_session.cpp | 45 #include "hwc_display_primary.h" 185 &hwc_display_[HWC_DISPLAY_PRIMARY]); 190 &hwc_display_[HWC_DISPLAY_PRIMARY]); 217 HWCDisplay *primary_display = hwc_display_[HWC_DISPLAY_PRIMARY]; 225 hwc_display_[HWC_DISPLAY_PRIMARY] = nullptr; 400 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { 473 if (display == HWC_DISPLAY_PRIMARY) { 538 if (hwc_session->hwc_display_[HWC_DISPLAY_PRIMARY] && !hwc_session->hdmi_is_primary_) { 539 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); 702 if (display == HWC_DISPLAY_PRIMARY) { [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
hwc_session.cpp | 43 #include "hwc_display_primary.h" 115 &hwc_display_[HWC_DISPLAY_PRIMARY]); 119 &hwc_display_[HWC_DISPLAY_PRIMARY]); 134 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 135 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 153 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 154 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 311 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { 380 if (display == HWC_DISPLAY_PRIMARY) { 442 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected) [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
hwc_session.cpp | 42 #include "hwc_display_primary.h" 113 &hwc_display_[HWC_DISPLAY_PRIMARY]); 117 &hwc_display_[HWC_DISPLAY_PRIMARY]); 132 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 133 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 142 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); 143 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; 294 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { 364 if (display == HWC_DISPLAY_PRIMARY) { 423 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected) [all...] |
/hardware/libhardware/include/hardware/ |
hwcomposer_defs.h | 262 HWC_DISPLAY_PRIMARY = 0, 271 HWC_DISPLAY_PRIMARY_BIT = 1 << HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_vsync.cpp | 129 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 133 dpy == HWC_DISPLAY_PRIMARY ? 0 : 142 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 165 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 198 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); 203 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_vsync.cpp | 117 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 121 dpy == HWC_DISPLAY_PRIMARY ? 0 : 130 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 153 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 199 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); 204 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
hwc_utils.cpp | 82 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; 91 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; 102 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; 107 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 118 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_vsync.cpp | 133 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 137 dpy == HWC_DISPLAY_PRIMARY ? 0 : 146 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 169 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { 202 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); 207 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) {
|
/device/google/cuttlefish_common/guest/hals/hwcomposer/ |
hwcomposer.cpp | 149 hwc_display_contents_1_t* list = displays[HWC_DISPLAY_PRIMARY]; 165 hwc_display_contents_1_t* list = displays[HWC_DISPLAY_PRIMARY]; 195 if (event == HWC_EVENT_VSYNC || disp != HWC_DISPLAY_PRIMARY) { 202 if (disp != HWC_DISPLAY_PRIMARY) { 242 if (disp == HWC_DISPLAY_PRIMARY) { 277 if (disp != HWC_DISPLAY_PRIMARY) {
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_utils.cpp | 52 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 211 ctx->mFBUpdate[HWC_DISPLAY_PRIMARY] [all...] |
/hardware/intel/img/hwcomposer/merrifield/include/ |
IDisplayDevice.h | 56 DEVICE_PRIMARY = HWC_DISPLAY_PRIMARY,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
IDisplayDevice.h | 56 DEVICE_PRIMARY = HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8909/libqdutils/ |
display_config.h | 50 DISPLAY_PRIMARY = HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8909w_3100/libqdutils/ |
display_config.h | 50 DISPLAY_PRIMARY = HWC_DISPLAY_PRIMARY,
|
/hardware/qcom/display/msm8996/libqdutils/ |
display_config.h | 50 DISPLAY_PRIMARY = HWC_DISPLAY_PRIMARY,
|