aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/VisualBench.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-06-16 12:23:47 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-16 12:23:47 -0700
commit5b16e740fe6ab6d679083d06f07651602265081b (patch)
tree3a6be38dc79d0bb7316a3fd71943403e2edf3171 /tools/VisualBench.cpp
parent48297f72fb852bed08d4af4de23366dfae39c245 (diff)
Make GrTextContext be owned by the GrDrawContext
This CL makes the GrTextContext be owned (and hidden) by the GrDrawContext. This funnels all the drawText* calls through the GrDrawContext and hides the (dispreferred) GrPipelineBuilder drawText variant. Some consequences of this are: GrDrawContext now has to get the text drawing settings (i.e., SkDeviceProperties & useDFT). This means that we need a separate GrDrawContext for each combination of pixel geometry and DFT-use. All the GrTextContext-derived classes now get a back pointer to the originating GrDrawContext so their method calls no longer take one. Review URL: https://codereview.chromium.org/1175553002
Diffstat (limited to 'tools/VisualBench.cpp')
0 files changed, 0 insertions, 0 deletions