diff options
author | Brian Salomon <bsalomon@google.com> | 2017-08-22 17:12:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-22 21:36:40 +0000 |
commit | a184ac7e0cdb26919369151f606c194358c94ff5 (patch) | |
tree | 73e00f463d8bd71f51ce4dd99fed9ff04e7aac67 /src/gpu/GrRenderTargetContext.h | |
parent | 82e314534c231dc399990ccf7803d7c5032392f5 (diff) |
Revert "Revert "Revert "Add GrTextureOp and use to implement SkGpuDevice::drawImage[Rect]() when possible"""
This reverts commit 20af6d12eefd8d937bc13bdb7fa0a9ac86b699af.
Performance regressions on Android and Flutter
Change-Id: If70edbe85aa251f298eddf18a89ba2cf56ed94fb
Reviewed-on: https://skia-review.googlesource.com/37340
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.h')
-rw-r--r-- | src/gpu/GrRenderTargetContext.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gpu/GrRenderTargetContext.h b/src/gpu/GrRenderTargetContext.h index 084e1530a4..a73f4c9f8f 100644 --- a/src/gpu/GrRenderTargetContext.h +++ b/src/gpu/GrRenderTargetContext.h @@ -135,17 +135,6 @@ public: const SkMatrix& localMatrix); /** - * Creates an op that draws a subrectangle of a texture. The passed color is modulated by the - * texture's color. 'srcRect' specifies the rectangle of the texture to draw. 'dstRect' - * specifies the rectangle to draw in local coords which will be transformed by 'viewMatrix' to - * device space. The edges of the rendered rectangle are not antialiased. This asserts that the - * view matrix does not have perspective. - */ - void drawTextureAffine(const GrClip& clip, sk_sp<GrTextureProxy>, GrSamplerParams::FilterMode, - GrColor, const SkRect& srcRect, const SkRect& dstRect, - const SkMatrix& viewMatrix, sk_sp<GrColorSpaceXform>); - - /** * Draw a roundrect using a paint. * * @param paint describes how to color pixels. |