diff options
author | robertphillips <robertphillips@google.com> | 2015-06-17 05:43:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-17 05:43:33 -0700 |
commit | 2334fb655f8d4ef5915770d32bf845c88d3627f4 (patch) | |
tree | a4bc1ef4636671f40201f6d4139ef092432d9810 /src/codec/SkGifInterlaceIter.cpp | |
parent | 48fc0ea272916a04f947bcd5bfce44fdab1f16b4 (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.
Committed: https://skia.googlesource.com/skia/+/5b16e740fe6ab6d679083d06f07651602265081b
Review URL: https://codereview.chromium.org/1175553002
Diffstat (limited to 'src/codec/SkGifInterlaceIter.cpp')
0 files changed, 0 insertions, 0 deletions