aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-11-27 12:18:04 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-27 22:11:46 +0000
commit778a2c984e4b5b4702926618cea567a658b2a979 (patch)
tree4e3a80564fb3ccc5260f91121d583c1741453e7f /src/gpu
parentaa73b96760c280629b9a765be387087d772fe242 (diff)
Batch ops together in SkAtasTextTarget
Change-Id: I7f2b03dd965079f801d66b670bdeb1d01bbf0fd6 Reviewed-on: https://skia-review.googlesource.com/76160 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/ops/GrAtlasTextOp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/ops/GrAtlasTextOp.h b/src/gpu/ops/GrAtlasTextOp.h
index c8ef643fd2..d31a3297ec 100644
--- a/src/gpu/ops/GrAtlasTextOp.h
+++ b/src/gpu/ops/GrAtlasTextOp.h
@@ -130,7 +130,8 @@ public:
MaskType maskType() const { return fMaskType; }
- void executeForTextTarget(SkAtlasTextTarget*, uint32_t color);
+ void finalizeForTextTarget(uint32_t color, const GrCaps&);
+ void executeForTextTarget(SkAtlasTextTarget*);
private:
// The minimum number of Geometry we will try to allocate.