aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-29 08:28:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-29 08:28:25 -0700
commit1e8761809d76429961dac92f874e7e0a36a0e5c4 (patch)
tree5fb8bd7c07785628d0bdacda909fbc36bc95fc9a /include/gpu
parente0d362929d6569e8737d80dead791c640390e819 (diff)
Remove GrContext::applyGamma
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrContext.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index deddb462d6..667301e61d 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -295,15 +295,6 @@ public:
uint32_t pixelOpsFlags = 0);
/**
- * Copies contents of src to dst, while applying a gamma curve. Fails if the two surfaces
- * are not identically sized.
- * @param dst the surface to copy to.
- * @param src the texture to copy from.
- * @param gamma the gamma value to apply.
- */
- bool applyGamma(GrRenderTarget* dst, GrTexture* src, SkScalar gamma);
-
- /**
* Copies a rectangle of texels from src to dst.
* @param dst the surface to copy to.
* @param src the surface to copy from.