Image-Orientation: Use the DrawRRect shader fast path where possible
The previous code disabled the shader fast path whenever respecting image orientation, even when the orientation would not make any different (i.e. for non bitmaps or the default orientation). Fix this by adding Image::HasDefaultOrientation and using it where possible. Bug: 1036181 Change-Id: Ifb8f9163caf6a4352b0c1516664427c5b49d48a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993840 Commit-Queue: Stephen Chenney <schenney@chromium.org> Reviewed-by:Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#730191}
Showing
12.4 KB


