aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsExtendedTest.cpp
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-01-20 16:59:02 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-23 15:23:31 +0000
commit977f64cbfad1ecd7fd4b1231c694c7e828fda1f0 (patch)
treed419cde9e63734448b8f01da25105123086d667c /tests/PathOpsExtendedTest.cpp
parent6987b00fae08ef0731042bb341b4e002a2da72c2 (diff)
Refactor trimming logic for read/writePixels()
(1) Move trimming logic into Bitmap/Pixmap level for raster. Everything goes through here, so we'll only do the work once. (2) This means it also goes to GPU level. (3) Always use SkReadPixelsRec rather than inlining the logic. (4) Create an SkWritePixelsRec to encapsulate write trimming. (5) Disabled kIndex8 as a dst - always. BUG=skia:6021 Change-Id: I748f50c3b726f7c6de5462e2b1ccb54bc387a510 Reviewed-on: https://skia-review.googlesource.com/7326 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'tests/PathOpsExtendedTest.cpp')
0 files changed, 0 insertions, 0 deletions