diff options
author | robertphillips <robertphillips@google.com> | 2015-10-22 05:31:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-22 05:31:32 -0700 |
commit | a352b14c8796c0d01ea8581c157a52c7d00973f5 (patch) | |
tree | 405855d64f5ae97b87f8fd2f2fbcf15f4be4d581 /src/gpu/GrDrawingManager.cpp | |
parent | 869c5e82a725a6928a45cd1fa6945ac783b8b3d8 (diff) |
Revert of Dependencies are now added between the drawTargets in GrPipeline (patchset #6 id:120001 of https://codereview.chromium.org/1414903002/ )
Reason for revert:
Breaking bots
Original issue's description:
> Dependencies are now added between the drawTargets in GrPipeline
>
> This CL relies on https://codereview.chromium.org/1414773002/ (Add the machinery to GrDrawTarget to enable topological sorting)
>
> BUG=skia:4094
>
> Committed: https://skia.googlesource.com/skia/+/45a1c34f607a970933e5cd05e1df6cd8090db1be
>
> Committed: https://skia.googlesource.com/skia/+/869c5e82a725a6928a45cd1fa6945ac783b8b3d8
TBR=bsalomon@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:4094
Review URL: https://codereview.chromium.org/1417263002
Diffstat (limited to 'src/gpu/GrDrawingManager.cpp')
-rw-r--r-- | src/gpu/GrDrawingManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp index 3b82a5c4f4..682b15511a 100644 --- a/src/gpu/GrDrawingManager.cpp +++ b/src/gpu/GrDrawingManager.cpp @@ -13,8 +13,6 @@ #include "GrStencilAndCoverTextContext.h" #include "SkTTopoSort.h" -//#define ENABLE_MDB 1 - void GrDrawingManager::cleanup() { for (int i = 0; i < fDrawTargets.count(); ++i) { fDrawTargets[i]->unref(); @@ -107,7 +105,7 @@ GrDrawTarget* GrDrawingManager::newDrawTarget(GrRenderTarget* rt) { } #endif - GrDrawTarget* dt = new GrDrawTarget(rt, fContext->getGpu(), fContext->resourceProvider()); + GrDrawTarget* dt = new GrDrawTarget(fContext->getGpu(), fContext->resourceProvider()); *fDrawTargets.append() = dt; |