Make GrTextContext no longer store a GrDrawContext
authorrobertphillips <robertphillips@google.com>
Tue, 1 Sep 2015 12:36:47 +0000 (05:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Sep 2015 12:36:47 +0000 (05:36 -0700)
commitf6703fa0aa98c61b78e2dbd52f610e3c5cd4a4da
treed178954f73035941a8b382248a73386cd5b69cb5
parentddc4b46c340d4572e1c29e97d5a85b4d76b9c577
Make GrTextContext no longer store a GrDrawContext

This, at least, makes GrTextContexts no longer bound to a single GrDrawContext. (Passing in a RenderTarget and praying it matched the DrawContext was always a bit fishy too).

Review URL: https://codereview.chromium.org/1320323004
src/gpu/GrAtlasTextContext.cpp
src/gpu/GrAtlasTextContext.h
src/gpu/GrDrawContext.cpp
src/gpu/GrStencilAndCoverTextContext.cpp
src/gpu/GrStencilAndCoverTextContext.h
src/gpu/GrTextContext.cpp
src/gpu/GrTextContext.h