Support Canvas Clip on Blit Framebuffer
authorEric Karl <ericrk@chromium.org>
Tue, 4 Apr 2017 20:42:10 +0000 (13:42 -0700)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 4 Apr 2017 22:51:53 +0000 (22:51 +0000)
commit72e551e637c5f3047a963f9c5bd873d7f04f8b5a
tree9494639fd4fc61754ac2eb977cde7df2cd67994d
parentfc0e96e35f4d63b10a753ef4a7538d653592f976
Support Canvas Clip on Blit Framebuffer

The previous fix to blit framebuffer didn't take cases where
the canvas had a clip applied into account. Fix and update
the unit test to add this case.

Bug: 658277
Change-Id: If3a9d2c8ddf955164cf529c9d6036618f957e426
Reviewed-on: https://skia-review.googlesource.com/11300
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
src/gpu/GrRenderTargetContext.cpp
tests/BlendTest.cpp