Make GrDrawContext::internalDrawPath cons up its own GrPipelineBuilder
authorrobertphillips <robertphillips@google.com>
Tue, 1 Mar 2016 20:22:49 +0000 (12:22 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Mar 2016 20:22:49 +0000 (12:22 -0800)
commit4bc31815ba1aa42ea13c5637c6b52262422b7bdb
treeac12727a6dd7c254af6bb446e9af3e57910bf9e3
parent7fe18a821191bcb2cb6da8fc7136f13b65324383
Make GrDrawContext::internalDrawPath cons up its own GrPipelineBuilder

Hopefully, this better defines (and reduces) the lifetime and reuse of GrPipelineBuilder objects in GrDrawContext.

TBR=bsalomon@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1730903007

Committed: https://skia.googlesource.com/skia/+/00fddebe56fabea67dcc08762805c1294eebf5bf

Review URL: https://codereview.chromium.org/1730903007
include/gpu/GrDrawContext.h
src/gpu/GrDrawContext.cpp