[Ozone/Wayland] Correctly handle SetViewport* early-out cases
Empty size inputs for SetViewport* functions means the wp_viewport cropping/scaling will not apply. |crop_rect_| and |display_size_px_| should be empty and exit early. Change-Id: I5f4ec85d89835daf5d9f7c46815a18dc4b6c279f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2641326 Commit-Queue: Kramer Ge <fangzhoug@chromium.org> Reviewed-by:Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#845817}
Showing
Please register or sign in to comment