/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/msm8998/sdm/libs/hwc/ |
D | hwc_session.cpp | 153 status = CreateExternalDisplay(HWC_DISPLAY_PRIMARY, 0, 0, false); in Init() 154 is_hdmi_yuv_ = IsDisplayYUV(HWC_DISPLAY_PRIMARY); in Init() 159 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 164 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 169 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 184 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 185 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Init() 190 connected_displays_[HWC_DISPLAY_PRIMARY] = 1; in Init() 195 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 196 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.cpp | 112 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 116 &hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 131 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Init() 132 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Init() 141 HWCDisplayPrimary::Destroy(hwc_display_[HWC_DISPLAY_PRIMARY]); in Deinit() 142 hwc_display_[HWC_DISPLAY_PRIMARY] = 0; in Deinit() 286 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 356 if (display == HWC_DISPLAY_PRIMARY) { in GetDozeSupport() 416 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 566 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() 364 if (display == HWC_DISPLAY_PRIMARY) { in GetDozeSupport() 423 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 573 if (display == HWC_DISPLAY_PRIMARY) { in ValidateDisplay() [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 …]
|
D | hwc_ad.cpp | 147 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && in AssertiveDisplay() 161 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { in markDoable() 162 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0]; in markDoable()
|
D | hwc_virtual.cpp | 113 = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period; in prepare() 225 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in pause() 237 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in resume() 360 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in pause() 395 usleep(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period in resume()
|
/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 …]
|
D | hwc_qclient.cpp | 154 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 184 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setSecondaryDisplayStatus() 203 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame() 278 uint32_t dpy = HWC_DISPLAY_PRIMARY; in configureDynRefreshRate() 326 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = true; in toggleScreenUpdate() 336 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = false; in toggleScreenUpdate()
|
D | hwc_ad.cpp | 118 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && in AssertiveDisplay() 132 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { in markDoable() 133 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0]; in markDoable()
|
/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 …]
|
D | hwc_ad.cpp | 115 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && in AssertiveDisplay() 129 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { in markDoable() 130 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0]; in markDoable()
|
/hardware/qcom/display/msm8909/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() 171 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() 208 ctx->proc->vsync(ctx->proc, HWC_DISPLAY_PRIMARY, timestamp); in vsync_loop() 213 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop()
|
D | hwc_utils.cpp | 111 !isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY)) || in isValidResolution() 118 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_orig; in changeResolution() 119 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_orig; in changeResolution() 120 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = false; in changeResolution() 130 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres_new = xres_new; in changeResolution() 131 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres_new = yres_new; in changeResolution() 132 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].customFBSize = true; in changeResolution() 137 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; in changeResolution() 138 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; in changeResolution() 198 int fb_fd = openFb(HWC_DISPLAY_PRIMARY); in openFramebufferDevice() [all …]
|
D | hwc.cpp | 194 case HWC_DISPLAY_PRIMARY: in validDisplay() 262 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_prepare_primary() 377 case HWC_DISPLAY_PRIMARY: in hwc_prepare() 426 if(dpy == HWC_DISPLAY_PRIMARY) { in hwc_eventControl() 480 case HWC_DISPLAY_PRIMARY: in hwc_setPowerMode() 546 if (!ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive) { in reset_panel() 553 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_OFF); in reset_panel() 560 ret = hwc_setPowerMode(dev, HWC_DISPLAY_PRIMARY, HWC_POWER_MODE_NORMAL); in reset_panel() 565 hwc_vsync_control(ctx, HWC_DISPLAY_PRIMARY, 1); in reset_panel() 609 const int dpy = HWC_DISPLAY_PRIMARY; in hwc_set_primary() [all …]
|
D | hwc_qclient.cpp | 155 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 185 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setSecondaryDisplayStatus() 204 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame() 261 uint32_t dpy = HWC_DISPLAY_PRIMARY; in configureDynRefreshRate() 323 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = true; in toggleScreenUpdate() 333 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isPause = false; in toggleScreenUpdate()
|
D | hwc_ad.cpp | 118 if(adRead() >= 0 && isDisplaySplit(ctx, HWC_DISPLAY_PRIMARY) && in AssertiveDisplay() 132 ctx->listStats[HWC_DISPLAY_PRIMARY].yuvCount == 1) { in markDoable() 133 int nYuvIndex = ctx->listStats[HWC_DISPLAY_PRIMARY].yuvIndices[0]; in markDoable()
|
/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 …]
|
/hardware/libhardware/include/hardware/ |
D | hwcomposer_defs.h | 255 HWC_DISPLAY_PRIMARY = 0, enumerator 264 HWC_DISPLAY_PRIMARY_BIT = 1 << HWC_DISPLAY_PRIMARY,
|