cc: Add PaintCanvas::clipDeviceRect
Instead of having to serialize SkRegion (as clipRegion is the only call that needs a region), instead add a top level "clip device rect" that takes two parameters. This is to support the use case that the RasterSource canvas setup preamble uses to clear the canvas efficiently. Bug: 737629 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: Icfb41557c716d5c52ef44454b8791e29c36d5bda Reviewed-on: https://chromium-review.googlesource.com/590950Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
Vladimir Levin <vmpstr@chromium.org> Commit-Queue: enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#491159}
Showing
Please register or sign in to comment