aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrResourceProvider.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-08-18 09:16:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-18 14:37:09 +0000
commit20af6d12eefd8d937bc13bdb7fa0a9ac86b699af (patch)
tree6773b3029cb9c426c5e3daaed28b1f4e34740e4d /src/gpu/GrResourceProvider.h
parentf6df1cd993c4cd717b40c5f19c2b96029250ac9b (diff)
Revert "Revert "Add GrTextureOp and use to implement SkGpuDevice::drawImage[Rect]() when possible""
This reverts commit ceef4fb5c498003be77a32a46cedfbf5da22a274. Bug: skia: Change-Id: I50b738169b4cf9e06cbe0b5fad0234b506717b66 Reviewed-on: https://skia-review.googlesource.com/36201 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrResourceProvider.h')
-rw-r--r--src/gpu/GrResourceProvider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h
index 28207b7a87..9616d7541d 100644
--- a/src/gpu/GrResourceProvider.h
+++ b/src/gpu/GrResourceProvider.h
@@ -152,6 +152,8 @@ public:
return this->createQuadIndexBuffer();
}
+ static int QuadCountOfQuadBuffer();
+
/**
* Factories for GrPath and GrPathRange objects. It's an error to call these if path rendering
* is not supported.