• Wenzhao (Colin) Zang's avatar
    Revert "viz: Fix wrong uv_rect calculation" · ec93e110
    Wenzhao (Colin) Zang authored
    This reverts commit 4bf9d01d.
    
    Reason for revert: crbug.com/900373
    
    Original change's description:
    > viz: Fix wrong uv_rect calculation
    > 
    > CL:1045256 calculates |uv_rect| of the primary plane in wrong way. It causes
    > drmModeAtomicAddProperty failure. This CL fixes it.
    > 
    > BUG=896945
    > 
    > Change-Id: I6e914707cb961e8294e8ddd160b75e48ae5a2b64
    > Reviewed-on: https://chromium-review.googlesource.com/c/1291590
    > Commit-Queue: Dongseong Hwang <dongseong.hwang@intel.com>
    > Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
    > Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
    > Reviewed-by: Dongseong Hwang <dongseong.hwang@intel.com>
    > Cr-Commit-Position: refs/heads/master@{#601392}
    
    TBR=dongseong.hwang@intel.com,dcastagna@chromium.org,hoegsberg@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 896945, 900373
    Change-Id: Ibab22a4fafb7be1ea0921f0cf774b5973d92b0b2
    Reviewed-on: https://chromium-review.googlesource.com/c/1318796Reviewed-by: default avatarWenzhao (Colin) Zang <wzang@chromium.org>
    Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#605559}
    ec93e110
overlay_unittest.cc 148 KB