skia /
skia /
d2c201cb1a599d6d06985b27d45add4190d56e0f [graphite] Expand cases covered by HW YUV shader variants
Add support for the following to the HW YUV shader variants:
1) Nearest neighbor filtering which uses linear filtering for UV plane
and snaps UV coordinates to Y texel centers
2) Full image draws with any tiling mode
3) Subset draws with clamp tiling mode
Also, fix use of linearFilterInset in sample_image_subset to add both
components to match what the HW YUV shaders do so that we can rebaseline
them together - this part is basically a reland of the previous attempt:
https://skia-review.googlesource.com/c/skia/+/850517
Bug: chromium:414844442
Change-Id: I3d67e5f678f971c9ebdca6e6047b5255bff25b5e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/985696
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
6 files changed