commit | e89a8a1280b1eb6d0413757ad2d9a145b9459cc9 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Mon Aug 14 15:12:58 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Aug 14 20:15:06 2023 +0000 |
tree | b211f6dbb13907251a8d0e436ca0b9d9b33d022c | |
parent | a380625287157fb9e143e9343e4ea774d03028f4 [diff] |
Fix SurfaceAsyncReadPixels test and non-scaled colorspace transforms. CL https://skia-review.googlesource.com/c/skia/+/348886 did a refactor which ended up breaking SurfaceAsyncReadPixels so it never executed any readbacks. Subsequently, a follow-up CL https://skia-review.googlesource.com/c/skia/+/405497 broke colorspace conversion because it was never being tested. This fixes the test, and restores the old way of managing colorspace transforms. A later CL will handle the colorspace transform through rescale as intended, now that it can be tested properly. Change-Id: I96731bd18b1046014185f6f20d2edb2241e80bb7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/739077 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>