diff options
author | Greg Daniel <egdaniel@google.com> | 2018-04-06 10:00:09 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-06 16:54:45 +0000 |
commit | 9cc282370fd28cf9ebc1ea7ce1add1a56ff92c61 (patch) | |
tree | 2c017969e011f3e138a7eafdbb52a740d784df54 /src/gpu/GrAHardwareBufferImageGenerator.cpp | |
parent | 13872ddc56c4ab128569428b3ea8c722e7494df5 (diff) |
Remove unneeded SK_SUPPORT_GPU checks in gpu only files.
Bug: skia:
Change-Id: I8f25c883f7d741866ac850c8e0ba9f439830570f
Reviewed-on: https://skia-review.googlesource.com/119008
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrAHardwareBufferImageGenerator.cpp')
-rw-r--r-- | src/gpu/GrAHardwareBufferImageGenerator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/GrAHardwareBufferImageGenerator.cpp b/src/gpu/GrAHardwareBufferImageGenerator.cpp index be6a8d099a..ea1da11ab0 100644 --- a/src/gpu/GrAHardwareBufferImageGenerator.cpp +++ b/src/gpu/GrAHardwareBufferImageGenerator.cpp @@ -95,8 +95,6 @@ void GrAHardwareBufferImageGenerator::deleteImageTexture(void* context) { /////////////////////////////////////////////////////////////////////////////////////////////////// -#if SK_SUPPORT_GPU - sk_sp<GrTextureProxy> GrAHardwareBufferImageGenerator::onGenerateTexture( GrContext* context, const SkImageInfo& info, const SkIPoint& origin, SkTransferFunctionBehavior, bool willNeedMipMaps) { @@ -144,7 +142,6 @@ sk_sp<GrTextureProxy> GrAHardwareBufferImageGenerator::onGenerateTexture( } return texProxy; } -#endif sk_sp<GrTextureProxy> GrAHardwareBufferImageGenerator::makeProxy(GrContext* context) { if (context->contextPriv().abandoned() || |