CanvasResourceParams: Use Skia types directly
Change CanvasResourceParams to use - SkColorType instead of CanvasPixelFormat - SkAlphaType instead of OpacityMode This will allow us to cull CanvasPixelFormat down to just the types that users can specify. Bug: 1157747 Change-Id: I70b23024d6fda00d031e013610347eebae896d92 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2589354 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Yi Xu <yiyix@chromium.org> Cr-Commit-Position: refs/heads/master@{#837471}
Showing
This diff is collapsed.
Please register or sign in to comment