aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContext.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-12-03 09:36:48 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-03 09:36:49 -0800
commit26489ef21ff5df33b8cb5943fddfd4604e203960 (patch)
tree8f7b8d5f1a7a124af2ceb08b897c166cfd47d74c /src/gpu/GrContext.cpp
parent222b30d3a84b29b72b32e639751db4e6542d5e48 (diff)
Add option to draw wireframe batch bounds
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r--src/gpu/GrContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index ad89672f3b..a4887e3350 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -88,6 +88,7 @@ void GrContext::initCommon(const GrContextOptions& options) {
GrDrawTarget::Options dtOptions;
dtOptions.fClipBatchToBounds = options.fClipBatchToBounds;
+ dtOptions.fDrawBatchBounds = options.fDrawBatchBounds;
fDrawingManager.reset(new GrDrawingManager(this, dtOptions));
// GrBatchFontCache will eventually replace GrFontCache