diff options
author | Robert Phillips <robertphillips@google.com> | 2017-06-13 12:44:56 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-13 17:21:41 +0000 |
commit | 646e4293f06d9de6d44dbfa3c32cdc15a6f5906e (patch) | |
tree | 282acbcd4dc4204d06ed7d61e1d9884dbd6dd3f1 /src/gpu/GrOpFlushState.h | |
parent | 1791a064f1c1256cf29c69a5eef88de66ee6e794 (diff) |
Retract GrTexture*.h & GrRenderTarget*.h from other headers
This does push some additional work (& includes) into the .cpp files.
Change-Id: I27c847e371802270d13594dcc22aae44039990bb
Reviewed-on: https://skia-review.googlesource.com/19660
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrOpFlushState.h')
-rw-r--r-- | src/gpu/GrOpFlushState.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrOpFlushState.h b/src/gpu/GrOpFlushState.h index 402bac5325..3a2fe328e6 100644 --- a/src/gpu/GrOpFlushState.h +++ b/src/gpu/GrOpFlushState.h @@ -9,10 +9,10 @@ #define GrOpFlushState_DEFINED #include "GrBufferAllocPool.h" -#include "GrGpu.h" #include "SkArenaAlloc.h" #include "ops/GrMeshDrawOp.h" +class GrGpu; class GrGpuCommandBuffer; class GrResourceProvider; @@ -29,7 +29,7 @@ public: fAsapUploads.emplace_back(std::move(upload)); } - const GrCaps& caps() const { return *fGpu->caps(); } + const GrCaps& caps() const; GrResourceProvider* resourceProvider() const { return fResourceProvider; } /** Has the token been flushed to the backend 3D API. */ |