/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_session_services.cpp | 57 return HWC_DISPLAY_PRIMARY; in MapDisplayType() 101 if (disp_id < HWC_DISPLAY_PRIMARY || disp_id >= HWC_NUM_DISPLAY_TYPES) { in isDisplayConnected() 126 if (disp_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus() 144 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in configureDynRefeshRate() 145 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in configureDynRefeshRate() 241 if (disp_id >= HWC_DISPLAY_PRIMARY && disp_id < HWC_NUM_DISPLAY_TYPES) { in getDisplayAttributes() 264 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in setPanelBrightness() 267 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in setPanelBrightness() 268 error = hwc_display_[HWC_DISPLAY_PRIMARY]->SetPanelBrightness(static_cast<int>(level)); in setPanelBrightness() 278 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in GetPanelBrightness() [all …]
|
D | hwc_session.cpp | 139 SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in Init() 196 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY); in Init() 201 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 221 Locker::SequenceCancelScopeLock lock_p(locker_[HWC_DISPLAY_PRIMARY]); in Deinit() 223 HWCDisplay *primary_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in Deinit() 231 hwc_display_[HWC_DISPLAY_PRIMARY] = nullptr; in Deinit() 395 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 468 if (display == HWC_DISPLAY_PRIMARY) { in GetDozeSupport() 532 if (hwc_session->external_pending_connect_ && (display == HWC_DISPLAY_PRIMARY)) { in PresentDisplay() 567 if (hwc_session->hwc_display_[HWC_DISPLAY_PRIMARY]) { in RegisterCallback() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_session.cpp | 150 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 151 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); in Init() 156 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 161 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 166 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 181 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 182 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Init() 191 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 192 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 280 HWCDisplay *primary_display = hwc_session->hwc_display_[HWC_DISPLAY_PRIMARY]; in Prepare() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_session.cpp | 165 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY, 0, 0, false); in Init() 166 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); in Init() 171 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 176 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 181 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 196 connected_displays_[HWC_DISPLAY_PRIMARY] = 1; in Init() 208 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 209 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 221 connected_displays_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 299 HWCDisplay *primary_display = hwc_session->hwc_display_[HWC_DISPLAY_PRIMARY]; in Prepare() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_session.cpp | 165 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY, 0, 0, false); in Init() 166 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); in Init() 171 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 176 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 181 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 196 connected_displays_[HWC_DISPLAY_PRIMARY] = 1; in Init() 208 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 209 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 221 connected_displays_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 299 HWCDisplay *primary_display = hwc_session->hwc_display_[HWC_DISPLAY_PRIMARY]; in Prepare() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_session_services.cpp | 56 return HWC_DISPLAY_PRIMARY; in MapDisplayType() 120 if (disp_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus() 140 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in configureDynRefeshRate() 253 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in setPanelBrightness() 254 error = hwc_display_[HWC_DISPLAY_PRIMARY]->SetPanelBrightness(static_cast<int>(level)); in setPanelBrightness() 268 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in GetPanelBrightness() 269 error = hwc_display_[HWC_DISPLAY_PRIMARY]->GetPanelBrightness(level); in GetPanelBrightness() 315 Refresh(HWC_DISPLAY_PRIMARY); in refreshScreen() 327 if (disp_id != HWC_DISPLAY_PRIMARY) { in ControlPartialUpdate() 332 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in ControlPartialUpdate() [all …]
|
D | hwc_session.cpp | 185 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 190 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 217 HWCDisplay *primary_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in Deinit() 225 hwc_display_[HWC_DISPLAY_PRIMARY] = nullptr; in Deinit() 400 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 473 if (display == HWC_DISPLAY_PRIMARY) { in GetDozeSupport() 538 if (hwc_session->hwc_display_[HWC_DISPLAY_PRIMARY] && !hwc_session->hdmi_is_primary_) { in RegisterCallback() 539 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 702 if (display == HWC_DISPLAY_PRIMARY) { in ValidateDisplay() 845 hwc_display_[HWC_DISPLAY_PRIMARY]->GetFrameBufferResolution(&primary_width, &primary_height); in ConnectDisplay() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.cpp | 115 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 119 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 134 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 135 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Init() 153 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 154 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 311 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 380 if (display == HWC_DISPLAY_PRIMARY) { in GetDozeSupport() 442 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 596 if (display == HWC_DISPLAY_PRIMARY) { in ValidateDisplay() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.cpp | 113 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 117 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 132 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 133 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Init() 142 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 143 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 294 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 368 if (display == HWC_DISPLAY_PRIMARY) { in GetDozeSupport() 427 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 577 if (display == HWC_DISPLAY_PRIMARY) { in ValidateDisplay() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_session_services.cpp | 161 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in configureDynRefeshRate() 162 HWCDisplay *hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in configureDynRefeshRate() 165 DLOGW("Display = %d is not connected.", HWC_DISPLAY_PRIMARY); in configureDynRefeshRate() 294 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in setPanelBrightness() 297 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in setPanelBrightness() 298 error = INT32(hwc_display_[HWC_DISPLAY_PRIMARY]->SetPanelBrightness(INT32(level))); in setPanelBrightness() 308 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in GetPanelBrightness() 311 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in GetPanelBrightness() 312 error = INT32(hwc_display_[HWC_DISPLAY_PRIMARY]->GetPanelBrightness(level)); in GetPanelBrightness() 322 SEQUENCE_WAIT_SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in GetPanelMaxBrightness() [all …]
|
/hardware/qcom/sm7250/display/composer/ |
D | hwc_session_services.cpp | 185 SEQUENCE_WAIT_SCOPE_LOCK(hwc_session_->locker_[HWC_DISPLAY_PRIMARY]); in ConfigureDynRefreshRate() 186 HWCDisplay *hwc_display = hwc_session_->hwc_display_[HWC_DISPLAY_PRIMARY]; in ConfigureDynRefreshRate() 189 DLOGW("Display = %d is not connected.", HWC_DISPLAY_PRIMARY); in ConfigureDynRefreshRate() 309 return INT32(hwc_session_->SetDisplayBrightness(HWC_DISPLAY_PRIMARY, -1.0f)); in SetPanelBrightness() 311 return INT32(hwc_session_->SetDisplayBrightness(HWC_DISPLAY_PRIMARY, (level - 1)/254.0f)); in SetPanelBrightness() 319 error = hwc_session_->getDisplayBrightness(HWC_DISPLAY_PRIMARY, &brightness); in GetPanelBrightness() 335 disp_id = HWC_DISPLAY_PRIMARY; in MinHdcpEncryptionLevelChanged() 358 SEQUENCE_WAIT_SCOPE_LOCK(hwc_session_->locker_[HWC_DISPLAY_PRIMARY]); in RefreshScreen() 359 hwc_session_->callbacks_.Refresh(HWC_DISPLAY_PRIMARY); in RefreshScreen() 370 if (disp_idx != HWC_DISPLAY_PRIMARY) { in ControlPartialUpdate() [all …]
|
D | hwc_session.cpp | 192 SCOPE_LOCK(locker_[HWC_DISPLAY_PRIMARY]); in Init() 260 auto hwc_display = hwc_display_[HWC_DISPLAY_PRIMARY]; in PostInit() 914 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in RegisterCallback() 916 callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 955 if (!pointer && is_idle_time_up_ && hwc_display_[HWC_DISPLAY_PRIMARY]) { // De-registering… in RegisterCallback() 957 hwc_display_[HWC_DISPLAY_PRIMARY]->SetIdleTimeoutMs(0,0); in RegisterCallback() 1326 if (hwc_display_[HWC_DISPLAY_PRIMARY]) { in CreateVirtualDisplayObj() 1327 DisplayError error = hwc_display_[HWC_DISPLAY_PRIMARY]->TeardownConcurrentWriteback(); in CreateVirtualDisplayObj() 1580 uint32_t display = HWC_DISPLAY_PRIMARY; in notifyCallback() 1885 if (dpy < HWC_DISPLAY_PRIMARY || dpy >= HWC_NUM_DISPLAY_TYPES || enabled_cmd < 0 || in setColorSamplingEnabled() [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_vsync.cpp | 117 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 121 dpy == HWC_DISPLAY_PRIMARY ? 0 : in vsync_loop() 130 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop() 153 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 199 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); in vsync_loop() 204 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop()
|
D | hwc_utils.cpp | 82 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || in isValidResolution() 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; in changeResolution() 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; in changeResolution() 91 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; in changeResolution() 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; in changeResolution() 102 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 107 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in changeResolution() 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in changeResolution() 118 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() [all …]
|
D | hwc.cpp | 269 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_prepare_primary() 362 case HWC_DISPLAY_PRIMARY: in hwc_prepare() 402 if(dpy == HWC_DISPLAY_PRIMARY) { in hwc_eventControl() 452 case HWC_DISPLAY_PRIMARY: in hwc_setPowerMode() 504 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel() 511 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK, in reset_panel() 520 ret = ioctl(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd, FBIOBLANK, in reset_panel() 521 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode); in reset_panel() 524 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].lastPowerMode, in reset_panel() 527 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1); in reset_panel() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_vsync.cpp | 129 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 133 dpy == HWC_DISPLAY_PRIMARY ? 0 : in vsync_loop() 142 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop() 165 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 198 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); in vsync_loop() 203 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop()
|
D | hwc_utils.cpp | 81 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || in isValidResolution() 87 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_orig = xres_orig; in changeResolution() 88 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_orig = yres_orig; in changeResolution() 89 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution() 101 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 111 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() 160 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() [all …]
|
D | hwc.cpp | 271 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_prepare_primary() 362 case HWC_DISPLAY_PRIMARY: in hwc_prepare() 402 if(dpy == HWC_DISPLAY_PRIMARY) { in hwc_eventControl() 460 if (dpy == HWC_DISPLAY_PRIMARY && not (mode == HWC_POWER_MODE_OFF)) { in hwc_setPowerMode() 468 case HWC_DISPLAY_PRIMARY: in hwc_setPowerMode() 520 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel() 527 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF); in reset_panel() 534 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL); in reset_panel() 539 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1); in reset_panel() 582 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_set_primary() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_vsync.cpp | 133 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 137 dpy == HWC_DISPLAY_PRIMARY ? 0 : in vsync_loop() 146 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop() 169 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 202 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); in vsync_loop() 207 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop()
|
D | hwc_utils.cpp | 91 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || in isValidResolution() 98 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; in changeResolution() 99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; in changeResolution() 100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; in changeResolution() 111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; in changeResolution() 112 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 117 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in changeResolution() 118 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in changeResolution() 174 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() [all …]
|
D | hwc.cpp | 193 ((dpy == HWC_DISPLAY_PRIMARY) && in isHotPluggable() 284 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_prepare_primary() 395 case HWC_DISPLAY_PRIMARY: in hwc_prepare() 440 if(dpy == HWC_DISPLAY_PRIMARY) { in hwc_eventControl() 489 case HWC_DISPLAY_PRIMARY: in hwc_setPowerMode() 559 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel() 566 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF); in reset_panel() 573 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL); in reset_panel() 578 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1); in reset_panel() 622 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_set_primary() [all …]
|
/hardware/google/graphics/gs101/libhwc2.1/libdevice/ |
D | ExynosDeviceModule.cpp | 34 if (display->mType == HWC_DISPLAY_PRIMARY || display->mType == HWC_DISPLAY_EXTERNAL) { in ExynosDeviceModule() 43 if (display->mType == HWC_DISPLAY_PRIMARY) { in ExynosDeviceModule() 64 if (display->mType == HWC_DISPLAY_PRIMARY) { in getDisplayColorManager()
|
/hardware/google/graphics/gs101/libhwc2.1/ |
D | ExynosHWCModule.h | 92 … EXTERNAL_MAIN_DISPLAY_PRIMARY_BIT = 1 << (EXTERNAL_MAIN_DISPLAY_START_BIT + HWC_DISPLAY_PRIMARY), 129 {HWC_DISPLAY_PRIMARY, 0, "PrimaryDisplay", "/dev/dri/card0", ""}, 130 {HWC_DISPLAY_PRIMARY, 1, "SecondaryDisplay", "/dev/dri/card0", ""}
|
/hardware/google/graphics/gs201/libhwc2.1/ |
D | ExynosHWCModule.h | 50 {HWC_DISPLAY_PRIMARY, 0, "PrimaryDisplay", "/dev/dri/card0", ""}, 51 {HWC_DISPLAY_PRIMARY, 1, "SecondaryDisplay", "/dev/dri/card0", ""}
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 52 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; in openFramebufferDevice() 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice() 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice() 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice() 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in openFramebufferDevice() 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in openFramebufferDevice() 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; in openFramebufferDevice() 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; in openFramebufferDevice() 211 ctx->mFBUpdate[HWC_DISPLAY_PRIMARY] = in initContext() [all …]
|