/hardware/libhardware/include/hardware/ |
D | hwcomposer.h | 445 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp); 467 void (*hotplug)(const struct hwc_procs* procs, int disp, int connected); 589 int (*eventControl)(struct hwc_composer_device_1* dev, int disp, 607 int (*blank)(struct hwc_composer_device_1* dev, int disp, int blank); 632 int (*setPowerMode)(struct hwc_composer_device_1* dev, int disp, 690 int (*getDisplayConfigs)(struct hwc_composer_device_1* dev, int disp, 711 int (*getDisplayAttributes)(struct hwc_composer_device_1* dev, int disp, 725 int (*getActiveConfig)(struct hwc_composer_device_1* dev, int disp); 746 int (*setActiveConfig)(struct hwc_composer_device_1* dev, int disp, 773 … int (*setCursorPositionAsync)(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos);
|
/hardware/ti/am57x/libhwcomposer/ |
D | hwc.cpp | 54 static bool is_valid_display(omap_hwc_device_t* hwc_dev, int disp) in is_valid_display() argument 56 if (disp < 0 || disp >= MAX_DISPLAYS || !hwc_dev->displays[disp]) in is_valid_display() 103 static int display_get_connector_type(int disp) in display_get_connector_type() argument 107 if (disp == HWC_DISPLAY_PRIMARY) in display_get_connector_type() 420 static int hwc_prepare_for_display(omap_hwc_device_t* hwc_dev, int disp, hwc_display_contents_1_t* … in hwc_prepare_for_display() argument 422 if (!is_valid_display(hwc_dev, disp)) in hwc_prepare_for_display() 425 HWCDisplay* display = hwc_dev->displays[disp]; in hwc_prepare_for_display() 436 …djust_drm_plane_to_layer(&content->hwLayers[content->numHwLayers - 1], &display->planeProps[disp]); in hwc_prepare_for_display() 472 static int hwc_set_for_display(omap_hwc_device_t* hwc_dev, int disp, hwc_display_contents_1_t* cont… in hwc_set_for_display() argument 474 if (!is_valid_display(hwc_dev, disp)) in hwc_set_for_display() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_session.h | 63 static int EventControl(hwc_composer_device_1 *device, int disp, int event, int enable); 64 static int SetPowerMode(hwc_composer_device_1 *device, int disp, int mode); 69 static int GetDisplayConfigs(hwc_composer_device_1 *device, int disp, uint32_t *configs, 71 static int GetDisplayAttributes(hwc_composer_device_1 *device, int disp, uint32_t config, 73 static int GetActiveConfig(hwc_composer_device_1 *device, int disp); 74 static int SetActiveConfig(hwc_composer_device_1 *device, int disp, int index); 75 static int SetCursorPositionAsync(hwc_composer_device_1 *device, int disp, int x, int y); 77 bool IsDisplayYUV(int disp); 85 int ConnectDisplay(int disp, hwc_display_contents_1_t *content_list); 86 int DisconnectDisplay(int disp); [all …]
|
D | hwc_session.cpp | 88 static void VSync(const struct hwc_procs* procs, int disp, int64_t timestamp) { in VSync() argument 91 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { in Hotplug() argument 359 int HWCSession::GetVsyncPeriod(int disp) { in GetVsyncPeriod() argument 365 if (hwc_display_[disp]) { in GetVsyncPeriod() 366 hwc_display_[disp]->GetDisplayAttributes(0, &attribute, &vsync_period); in GetVsyncPeriod() 449 bool HWCSession::IsDisplayYUV(int disp) { in IsDisplayYUV() argument 454 if (disp < 0 || disp >= HWC_NUM_DISPLAY_TYPES || !hwc_display_[disp]) { in IsDisplayYUV() 455 DLOGE("Invalid input parameters. Display = %d", disp); in IsDisplayYUV() 460 error = hwc_display_[disp]->GetActiveDisplayConfig(&active_config); in IsDisplayYUV() 462 error = hwc_display_[disp]->GetDisplayAttributesForConfig(INT(active_config), &attributes); in IsDisplayYUV() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_session.h | 63 static int EventControl(hwc_composer_device_1 *device, int disp, int event, int enable); 64 static int SetPowerMode(hwc_composer_device_1 *device, int disp, int mode); 69 static int GetDisplayConfigs(hwc_composer_device_1 *device, int disp, uint32_t *configs, 71 static int GetDisplayAttributes(hwc_composer_device_1 *device, int disp, uint32_t config, 73 static int GetActiveConfig(hwc_composer_device_1 *device, int disp); 74 static int SetActiveConfig(hwc_composer_device_1 *device, int disp, int index); 75 static int SetCursorPositionAsync(hwc_composer_device_1 *device, int disp, int x, int y); 77 bool IsDisplayYUV(int disp); 85 int ConnectDisplay(int disp, hwc_display_contents_1_t *content_list); 86 int DisconnectDisplay(int disp); [all …]
|
D | hwc_session.cpp | 88 static void VSync(const struct hwc_procs* procs, int disp, int64_t timestamp) { in VSync() argument 91 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { in Hotplug() argument 359 int HWCSession::GetVsyncPeriod(int disp) { in GetVsyncPeriod() argument 365 if (hwc_display_[disp]) { in GetVsyncPeriod() 366 hwc_display_[disp]->GetDisplayAttributes(0, &attribute, &vsync_period); in GetVsyncPeriod() 449 bool HWCSession::IsDisplayYUV(int disp) { in IsDisplayYUV() argument 454 if (disp < 0 || disp >= HWC_NUM_DISPLAY_TYPES || !hwc_display_[disp]) { in IsDisplayYUV() 455 DLOGE("Invalid input parameters. Display = %d", disp); in IsDisplayYUV() 460 error = hwc_display_[disp]->GetActiveDisplayConfig(&active_config); in IsDisplayYUV() 462 error = hwc_display_[disp]->GetDisplayAttributesForConfig(INT(active_config), &attributes); in IsDisplayYUV() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_session.h | 62 static int EventControl(hwc_composer_device_1 *device, int disp, int event, int enable); 63 static int SetPowerMode(hwc_composer_device_1 *device, int disp, int mode); 68 static int GetDisplayConfigs(hwc_composer_device_1 *device, int disp, uint32_t *configs, 70 static int GetDisplayAttributes(hwc_composer_device_1 *device, int disp, uint32_t config, 72 static int GetActiveConfig(hwc_composer_device_1 *device, int disp); 73 static int SetActiveConfig(hwc_composer_device_1 *device, int disp, int index); 74 static int SetCursorPositionAsync(hwc_composer_device_1 *device, int disp, int x, int y); 76 bool IsDisplayYUV(int disp); 84 int ConnectDisplay(int disp, hwc_display_contents_1_t *content_list); 85 int DisconnectDisplay(int disp); [all …]
|
D | hwc_session.cpp | 85 static void VSync(const struct hwc_procs* procs, int disp, int64_t timestamp) { in VSync() argument 88 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { in Hotplug() argument 340 int HWCSession::GetVsyncPeriod(int disp) { in GetVsyncPeriod() argument 346 if (hwc_display_[disp]) { in GetVsyncPeriod() 347 hwc_display_[disp]->GetDisplayAttributes(0, &attribute, &vsync_period); in GetVsyncPeriod() 429 bool HWCSession::IsDisplayYUV(int disp) { in IsDisplayYUV() argument 434 if (disp < 0 || disp >= HWC_NUM_DISPLAY_TYPES || !hwc_display_[disp]) { in IsDisplayYUV() 435 DLOGE("Invalid input parameters. Display = %d", disp); in IsDisplayYUV() 440 error = hwc_display_[disp]->GetActiveDisplayConfig(&active_config); in IsDisplayYUV() 442 error = hwc_display_[disp]->GetDisplayAttributesForConfig(INT(active_config), &attributes); in IsDisplayYUV() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc.cpp | 783 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument 788 bool hotPluggable = isHotPluggable(ctx, disp); in hwc_getDisplayConfigs() 789 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getDisplayConfigs() 791 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs() 792 ALOGE("%s display (%d) is inactive", __FUNCTION__, disp); in hwc_getDisplayConfigs() 801 switch(disp) { in hwc_getDisplayConfigs() 828 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument 834 bool hotPluggable = isHotPluggable(ctx, disp); in hwc_getDisplayAttributes() 835 bool isVirtualDisplay = (disp == HWC_DISPLAY_VIRTUAL); in hwc_getDisplayAttributes() 837 if ((hotPluggable || isVirtualDisplay) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc.cpp | 489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument 495 switch(disp) { in hwc_getDisplayConfigs() 517 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument 522 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes() 542 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes() 545 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes() 546 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes() 547 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes() 550 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes() 551 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc.cpp | 763 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument 767 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs() 770 switch(disp) { in hwc_getDisplayConfigs() 781 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs() 793 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument 797 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes() 799 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes() 819 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes() 822 if (ctx->dpyAttr[disp].customFBSize) in hwc_getDisplayAttributes() 823 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc.cpp | 733 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument 737 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs() 740 switch(disp) { in hwc_getDisplayConfigs() 751 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs() 763 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument 767 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes() 769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes() 789 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes() 792 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes() 793 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8909w_3100/liblight/ |
D | Android.mk | 25 LOCAL_SHARED_LIBRARIES := liblog libcutils libsdm-disp-vndapis
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_session.cpp | 883 int32_t HWCSession::ConnectDisplay(int disp) { in ConnectDisplay() argument 884 DLOGI("Display = %d", disp); in ConnectDisplay() 892 if (disp == HWC_DISPLAY_EXTERNAL) { in ConnectDisplay() 893 status = CreateExternalDisplay(disp, primary_width, primary_height); in ConnectDisplay() 900 hwc_display_[disp]->SetSecureDisplay(secure_display_active_); in ConnectDisplay() 906 int HWCSession::DisconnectDisplay(int disp) { in DisconnectDisplay() argument 907 DLOGI("Display = %d", disp); in DisconnectDisplay() 909 if (disp == HWC_DISPLAY_EXTERNAL) { in DisconnectDisplay() 910 HWCDisplayExternal::Destroy(hwc_display_[disp]); in DisconnectDisplay() 911 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() [all …]
|
D | hwc_session.h | 173 int32_t ConnectDisplay(int disp); 174 int DisconnectDisplay(int disp); 175 int GetVsyncPeriod(int disp); 184 int32_t CreateExternalDisplay(int disp, uint32_t primary_width = 0,
|
D | hwcomposer.cpp | 243 for (const auto& disp : displays) { in Hwc2ImplRegisterCallback() local 244 hotplug_callback(hotplug_data, disp.first, HWC2_CONNECTION_CONNECTED); in Hwc2ImplRegisterCallback()
|
/hardware/google/pixel/power-libperfmgr/ |
D | Android.bp | 20 "disp-power/DisplayLowPower.cpp", 21 "disp-power/InteractionHandler.cpp",
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.cpp | 714 int32_t HWCSession::ConnectDisplay(int disp) { in ConnectDisplay() argument 715 DLOGI("Display = %d", disp); in ConnectDisplay() 723 if (disp == HWC_DISPLAY_EXTERNAL) { in ConnectDisplay() 725 primary_height, qservice_, false, &hwc_display_[disp]); in ConnectDisplay() 732 hwc_display_[disp]->SetSecureDisplay(secure_display_active_); in ConnectDisplay() 738 int HWCSession::DisconnectDisplay(int disp) { in DisconnectDisplay() argument 739 DLOGI("Display = %d", disp); in DisconnectDisplay() 741 if (disp == HWC_DISPLAY_EXTERNAL) { in DisconnectDisplay() 742 HWCDisplayExternal::Destroy(hwc_display_[disp]); in DisconnectDisplay() 743 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() [all …]
|
D | hwc_session.h | 132 int32_t ConnectDisplay(int disp); 133 int DisconnectDisplay(int disp); 134 int GetVsyncPeriod(int disp);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_session.cpp | 838 int32_t HWCSession::ConnectDisplay(int disp) { in ConnectDisplay() argument 839 DLOGI("Display = %d", disp); in ConnectDisplay() 847 if (disp == HWC_DISPLAY_EXTERNAL) { in ConnectDisplay() 849 primary_height, qservice_, false, &hwc_display_[disp]); in ConnectDisplay() 856 hwc_display_[disp]->SetSecureDisplay(secure_display_active_); in ConnectDisplay() 862 int HWCSession::DisconnectDisplay(int disp) { in DisconnectDisplay() argument 863 DLOGI("Display = %d", disp); in DisconnectDisplay() 865 if (disp == HWC_DISPLAY_EXTERNAL) { in DisconnectDisplay() 866 HWCDisplayExternal::Destroy(hwc_display_[disp]); in DisconnectDisplay() 867 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() [all …]
|
D | hwc_session.h | 163 int32_t ConnectDisplay(int disp); 164 int DisconnectDisplay(int disp); 165 int GetVsyncPeriod(int disp);
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.h | 131 int32_t ConnectDisplay(int disp); 132 int DisconnectDisplay(int disp); 133 int GetVsyncPeriod(int disp);
|
D | hwc_session.cpp | 732 int32_t HWCSession::ConnectDisplay(int disp) { in ConnectDisplay() argument 733 DLOGI("Display = %d", disp); in ConnectDisplay() 741 if (disp == HWC_DISPLAY_EXTERNAL) { in ConnectDisplay() 743 primary_height, qservice_, false, &hwc_display_[disp]); in ConnectDisplay() 750 hwc_display_[disp]->SetSecureDisplay(secure_display_active_); in ConnectDisplay() 756 int HWCSession::DisconnectDisplay(int disp) { in DisconnectDisplay() argument 757 DLOGI("Display = %d", disp); in DisconnectDisplay() 759 if (disp == HWC_DISPLAY_EXTERNAL) { in DisconnectDisplay() 760 HWCDisplayExternal::Destroy(hwc_display_[disp]); in DisconnectDisplay() 761 } else if (disp == HWC_DISPLAY_VIRTUAL) { in DisconnectDisplay() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_session.h | 208 int32_t ConnectDisplay(int disp); 209 int DisconnectDisplay(int disp); 210 int GetVsyncPeriod(int disp);
|
/hardware/libhardware/tests/hwc/ |
D | cnativewindow.c | 356 static void hwc_vsync(const struct hwc_procs *procs, int disp, int64_t ts) {} in hwc_vsync() argument 357 static void hwc_hotplug(const struct hwc_procs *procs, int disp, int conn) {} in hwc_hotplug() argument
|