aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrProxyProvider.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-02-02 15:48:33 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-02 21:16:19 +0000
commitfb3abcd8c335132b6ad8434a171516102bbf4495 (patch)
treea61244af55debc848e27716742f209dc29d63bc1 /src/gpu/GrProxyProvider.h
parent1d8726fbed346dd2b96d4ef3106262e3d3dee5f4 (diff)
Update GrYUVGenerator to upload to texture vs use writePixels
Bug: skia: Change-Id: I891ba25d2018008a32ef01608da9209cf2642b2e Reviewed-on: https://skia-review.googlesource.com/102902 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrProxyProvider.h')
-rw-r--r--src/gpu/GrProxyProvider.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrProxyProvider.h b/src/gpu/GrProxyProvider.h
index 0ac7d4994b..91cd5f600f 100644
--- a/src/gpu/GrProxyProvider.h
+++ b/src/gpu/GrProxyProvider.h
@@ -84,7 +84,8 @@ public:
GrSurfaceFlags flags,
GrSurfaceOrigin origin,
int sampleCnt,
- SkBudgeted budgeted);
+ SkBudgeted budgeted,
+ SkBackingFit fit);
/*
* Create a mipmapped texture proxy with data.