diff options
author | Gurpreet Singh Dhami <gdhami@codeaurora.org> | 2018-06-08 11:54:20 -0400 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-06-13 08:25:59 -0700 |
commit | 0853ca865ab6a0d307ec0fe22af11dff18da11a6 (patch) | |
tree | c421820f5500d875379eaf98da8c4d8c52d83b0b | |
parent | 0ceb16be81f64595d4c8021f05f09a017a946e04 (diff) | |
download | android_hardware_qcom_sdm710_display-0853ca865ab6a0d307ec0fe22af11dff18da11a6.tar.gz android_hardware_qcom_sdm710_display-0853ca865ab6a0d307ec0fe22af11dff18da11a6.tar.bz2 android_hardware_qcom_sdm710_display-0853ca865ab6a0d307ec0fe22af11dff18da11a6.zip |
hwc: Fix HWC Writeback wrong resolution shown with dumped frames
Change-Id: Ia4c680381801f14305515bb2e6b75cd49794743d
-rw-r--r-- | sdm/libs/hwc2/hwc_display.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdm/libs/hwc2/hwc_display.cpp b/sdm/libs/hwc2/hwc_display.cpp index 37e408fc..7bc4e734 100644 --- a/sdm/libs/hwc2/hwc_display.cpp +++ b/sdm/libs/hwc2/hwc_display.cpp @@ -1649,7 +1649,8 @@ void HWCDisplay::DumpOutputBuffer(const BufferInfo &buffer_info, void *base, int } snprintf(dump_file_name, sizeof(dump_file_name), "%s/output_layer_%dx%d_%s_frame%d.raw", - dir_path, buffer_info.buffer_config.width, buffer_info.buffer_config.height, + dir_path, buffer_info.alloc_buffer_info.aligned_width, + buffer_info.alloc_buffer_info.aligned_height, GetFormatString(buffer_info.buffer_config.format), dump_frame_index_); FILE *fp = fopen(dump_file_name, "w+"); |