/hardware/qcom/display/msm8226/libvirtual/ |
D | virtual.cpp | 84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown() 85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown() 166 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = true; in setDownScaleMode() 168 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in setDownScaleMode() 174 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 175 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes() 198 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].left = 0; in setAttributes() 199 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].top = 0; in setAttributes() 200 mHwcContext->mViewFrame[HWC_DISPLAY_VIRTUAL].right = in setAttributes() 201 (int)mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() [all …]
|
D | virtual.h | 49 return mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].connected; in isConnected()
|
/hardware/qcom/display/msm8084/libvirtual/ |
D | virtual.cpp | 84 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres = 0; in teardown() 85 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres = 0; in teardown() 155 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = true; in setDownScaleMode() 157 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].mDownScaleMode = false; in setDownScaleMode() 163 uint32_t &extW = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].xres; in setAttributes() 164 uint32_t &extH = mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].yres; in setAttributes() 186 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].vsync_period = in setAttributes() 197 getFbForDpy(HWC_DISPLAY_VIRTUAL); in openFrameBuffer() 208 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in openFrameBuffer() 221 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in closeFrameBuffer()
|
D | virtual.h | 49 return mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].connected; in isConnected()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_uevents.cpp | 66 return HWC_DISPLAY_VIRTUAL; in getConnectedDisplay() 122 clear(ctx, HWC_DISPLAY_VIRTUAL); in teardownWfd() 123 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected = false; in teardownWfd() 124 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in teardownWfd() 238 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in handle_uevent() 292 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
|
D | hwc_virtual.cpp | 63 const int dpy = HWC_DISPLAY_VIRTUAL; in init() 76 int dpy = HWC_DISPLAY_VIRTUAL; in destroy() 107 const int dpy = HWC_DISPLAY_VIRTUAL; in prepare() 164 const int dpy = HWC_DISPLAY_VIRTUAL; in set() 295 const int dpy = HWC_DISPLAY_VIRTUAL; in prepare() 330 const int dpy = HWC_DISPLAY_VIRTUAL; in set() 426 if(dpy == HWC_DISPLAY_VIRTUAL) in resume()
|
D | hwc_qclient.cpp | 143 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 169 int dpy = HWC_DISPLAY_VIRTUAL; in pauseWFD() 184 int dpy = HWC_DISPLAY_VIRTUAL; in setWfdStatus() 200 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_uevents.cpp | 66 return HWC_DISPLAY_VIRTUAL; in getConnectedDisplay() 122 clear(ctx, HWC_DISPLAY_VIRTUAL); in teardownWfd() 123 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected = false; in teardownWfd() 124 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = false; in teardownWfd() 230 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in handle_uevent() 285 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
|
D | hwc_virtual.cpp | 52 const int dpy = HWC_DISPLAY_VIRTUAL; in init() 65 int dpy = HWC_DISPLAY_VIRTUAL; in destroy() 96 const int dpy = HWC_DISPLAY_VIRTUAL; in prepare() 152 const int dpy = HWC_DISPLAY_VIRTUAL; in set() 255 const int dpy = HWC_DISPLAY_VIRTUAL; in prepare() 291 const int dpy = HWC_DISPLAY_VIRTUAL; in set() 388 if(dpy == HWC_DISPLAY_VIRTUAL) in resume()
|
D | hwc_qclient.cpp | 137 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 163 int dpy = HWC_DISPLAY_VIRTUAL; in pauseWFD() 178 int dpy = HWC_DISPLAY_VIRTUAL; in setWfdStatus()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_session.cpp | 297 if (dpy == HWC_DISPLAY_VIRTUAL) { in Prepare() 304 bool connected = (hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL] != NULL); in Prepare() 307 hwc_session->ConnectDisplay(HWC_DISPLAY_VIRTUAL, content_list); in Prepare() 309 hwc_session->DisconnectDisplay(HWC_DISPLAY_VIRTUAL); in Prepare() 379 if (dpy == HWC_DISPLAY_VIRTUAL && !hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL]) { in Set() 479 if (disp == HWC_DISPLAY_PRIMARY && hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL]) { in SetPowerMode() 482 status = hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL]->SetPowerMode(mode); in SetPowerMode() 619 if (!device || (disp < HWC_DISPLAY_PRIMARY) || (disp > HWC_DISPLAY_VIRTUAL)) { in SetCursorPositionAsync() 644 } else if (disp == HWC_DISPLAY_VIRTUAL) { in ConnectDisplay() 664 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_session.cpp | 316 if (dpy == HWC_DISPLAY_VIRTUAL) { in Prepare() 323 bool connected = (hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL] != NULL); in Prepare() 326 hwc_session->ConnectDisplay(HWC_DISPLAY_VIRTUAL, content_list); in Prepare() 328 hwc_session->DisconnectDisplay(HWC_DISPLAY_VIRTUAL); in Prepare() 399 if (dpy == HWC_DISPLAY_VIRTUAL && !hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL]) { in Set() 636 if (!device || (disp < HWC_DISPLAY_PRIMARY) || (disp > HWC_DISPLAY_VIRTUAL)) { in SetCursorPositionAsync() 661 } else if (disp == HWC_DISPLAY_VIRTUAL) { in ConnectDisplay() 664 connected_displays_[HWC_DISPLAY_VIRTUAL] = 1; in ConnectDisplay() 683 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() 685 connected_displays_[HWC_DISPLAY_VIRTUAL] = 0; in DisconnectDisplay() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_session.cpp | 316 if (dpy == HWC_DISPLAY_VIRTUAL) { in Prepare() 323 bool connected = (hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL] != NULL); in Prepare() 326 hwc_session->ConnectDisplay(HWC_DISPLAY_VIRTUAL, content_list); in Prepare() 328 hwc_session->DisconnectDisplay(HWC_DISPLAY_VIRTUAL); in Prepare() 399 if (dpy == HWC_DISPLAY_VIRTUAL && !hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL]) { in Set() 636 if (!device || (disp < HWC_DISPLAY_PRIMARY) || (disp > HWC_DISPLAY_VIRTUAL)) { in SetCursorPositionAsync() 661 } else if (disp == HWC_DISPLAY_VIRTUAL) { in ConnectDisplay() 664 connected_displays_[HWC_DISPLAY_VIRTUAL] = 1; in ConnectDisplay() 683 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() 685 connected_displays_[HWC_DISPLAY_VIRTUAL] = 0; in DisconnectDisplay() [all …]
|
/hardware/libhardware/include/hardware/ |
D | hwcomposer_defs.h | 302 HWC_DISPLAY_VIRTUAL = 2, enumerator 311 HWC_DISPLAY_VIRTUAL_BIT = 1 << HWC_DISPLAY_VIRTUAL,
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_virtual.cpp | 42 const int dpy = HWC_DISPLAY_VIRTUAL; in init() 54 int dpy = HWC_DISPLAY_VIRTUAL; in destroy() 75 const int dpy = HWC_DISPLAY_VIRTUAL; in prepare() 138 const int dpy = HWC_DISPLAY_VIRTUAL; in set()
|
D | hwc.cpp | 401 case HWC_DISPLAY_VIRTUAL: in hwc_prepare() 520 case HWC_DISPLAY_VIRTUAL: in hwc_setPowerMode() 521 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { in hwc_setPowerMode() 522 const int dpy = HWC_DISPLAY_VIRTUAL; in hwc_setPowerMode() 765 case HWC_DISPLAY_VIRTUAL: in hwc_set() 789 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getDisplayConfigs() 820 case HWC_DISPLAY_VIRTUAL: in hwc_getDisplayConfigs() 835 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getDisplayAttributes() 928 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getActiveConfig() 952 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_setActiveConfig()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_session.cpp | 219 Locker::SequenceCancelScopeLock lock_v(locker_[HWC_DISPLAY_VIRTUAL]); in Deinit() 339 SCOPE_LOCK(locker_[HWC_DISPLAY_VIRTUAL]); in CreateVirtualDisplay() 351 *out_display_id = HWC_DISPLAY_VIRTUAL; in CreateVirtualDisplay() 366 if (!device || display != HWC_DISPLAY_VIRTUAL) { in DestroyVirtualDisplay() 395 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 534 Locker::ScopeLock lock_v(locker_[HWC_DISPLAY_VIRTUAL]); in PresentDisplay() 536 if (!hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL]) { in PresentDisplay() 700 if (display != HWC_DISPLAY_VIRTUAL) { in SetOutputBuffer() 871 if (hwc_display_[HWC_DISPLAY_VIRTUAL]) { in CreateVirtualDisplayObject() 875 height, format, &hwc_display_[HWC_DISPLAY_VIRTUAL]); in CreateVirtualDisplayObject() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.cpp | 246 *out_display_id = HWC_DISPLAY_VIRTUAL; in CreateVirtualDisplay() 294 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 544 if (display == HWC_DISPLAY_VIRTUAL && hwc_session->hwc_display_[display]) { in SetOutputBuffer() 702 if (hwc_display_[HWC_DISPLAY_VIRTUAL]) { in CreateVirtualDisplayObject() 706 height, format, &hwc_display_[HWC_DISPLAY_VIRTUAL]); in CreateVirtualDisplayObject() 743 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() 973 if (dpy > HWC_DISPLAY_VIRTUAL) { in HandleSetActiveDisplayConfig() 992 if (dpy > HWC_DISPLAY_VIRTUAL) { in HandleGetActiveDisplayConfig() 1012 if (dpy > HWC_DISPLAY_VIRTUAL) { in HandleGetDisplayConfigCount() 1035 if (dpy > HWC_DISPLAY_VIRTUAL) { in HandleGetDisplayAttributesForConfig() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.cpp | 263 *out_display_id = HWC_DISPLAY_VIRTUAL; in CreateVirtualDisplay() 280 if (!device || display != HWC_DISPLAY_VIRTUAL) { in DestroyVirtualDisplay() 311 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 558 if (display != HWC_DISPLAY_VIRTUAL) { in SetOutputBuffer() 720 if (hwc_display_[HWC_DISPLAY_VIRTUAL]) { in CreateVirtualDisplayObject() 724 height, format, &hwc_display_[HWC_DISPLAY_VIRTUAL]); in CreateVirtualDisplayObject() 761 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() 995 if (dpy < HWC_DISPLAY_PRIMARY || dpy > HWC_DISPLAY_VIRTUAL) { in HandleSetActiveDisplayConfig() 1014 if (dpy < HWC_DISPLAY_PRIMARY || dpy > HWC_DISPLAY_VIRTUAL) { in HandleGetActiveDisplayConfig() 1034 if (dpy < HWC_DISPLAY_PRIMARY || dpy > HWC_DISPLAY_VIRTUAL) { in HandleGetDisplayConfigCount() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_uevents.cpp | 79 extDpyNum = HWC_DISPLAY_VIRTUAL; in handle_uevent() 100 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; in handle_uevent()
|
/hardware/qcom/display/msm8998/libqdutils/ |
D | display_config.h | 55 DISPLAY_VIRTUAL = HWC_DISPLAY_VIRTUAL,
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | display_config.h | 55 DISPLAY_VIRTUAL = HWC_DISPLAY_VIRTUAL,
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | display_config.h | 55 DISPLAY_VIRTUAL = HWC_DISPLAY_VIRTUAL,
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_session.cpp | 349 *out_display_id = HWC_DISPLAY_VIRTUAL; in CreateVirtualDisplay() 369 if (!device || display != HWC_DISPLAY_VIRTUAL) { in DestroyVirtualDisplay() 400 for (int id = HWC_DISPLAY_PRIMARY; id <= HWC_DISPLAY_VIRTUAL; id++) { in Dump() 664 if (display != HWC_DISPLAY_VIRTUAL) { in SetOutputBuffer() 826 if (hwc_display_[HWC_DISPLAY_VIRTUAL]) { in CreateVirtualDisplayObject() 830 height, format, &hwc_display_[HWC_DISPLAY_VIRTUAL]); in CreateVirtualDisplayObject() 867 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() 1117 if (bit_mask_display_type[HWC_DISPLAY_VIRTUAL]) { in SetMaxMixerStages() 1118 if (hwc_display_[HWC_DISPLAY_VIRTUAL]) { in SetMaxMixerStages() 1119 error = hwc_display_[HWC_DISPLAY_VIRTUAL]->SetMaxMixerStages(max_mixer_stages); in SetMaxMixerStages() [all …]
|
/hardware/qcom/sdm845/display/libqdutils/ |
D | display_config.h | 55 DISPLAY_VIRTUAL = HWC_DISPLAY_VIRTUAL,
|