aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/GrResourceCacheBench.cpp
diff options
context:
space:
mode:
authorGravatar sugoi <sugoi@chromium.org>2015-02-13 13:57:09 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-13 13:57:09 -0800
commit4ccce7ea618fd9557a6d5cfa29c1fd6b015c7580 (patch)
treefd10b7c221b1bde63af5b10678c827aa2b2ab203 /bench/GrResourceCacheBench.cpp
parentdb0f9516ae22a28e16e18bfaa375eca01d29e346 (diff)
YUV scale fix
There was a scaling mistake visible in some JPEG images because the ratio between Y, U and V planes were assumed to be the same ratios as the ratio between texture sizes, which was wrong because texture have a minimum size of 16 and are rounded up to the next POT. Since the ratios between Y and UV planes are generally 1, 2 or 4, rounding up to the next POT would generally preserve this ratio, so that this bug was not very visible, apart from very small jpeg images of 8 or less pixels in either width or height. BUG=457954 Committed: https://skia.googlesource.com/skia/+/e6eddf7dd85add7da41f22f2643bdd573ad1f1cf Review URL: https://codereview.chromium.org/922273002
Diffstat (limited to 'bench/GrResourceCacheBench.cpp')
0 files changed, 0 insertions, 0 deletions