diff options
author | Robert Phillips <robertphillips@google.com> | 2017-06-13 08:11:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-13 13:12:17 +0000 |
commit | c4f0a8245ccf0d14f6a6dffc73ff56b563012b69 (patch) | |
tree | a595e5acd034b2d708122dea9a4d046610537c02 /src/gpu/GrRenderTargetPriv.h | |
parent | e8f28818a2c0fe967f9fc4cec4bb9dc78af78212 (diff) |
Move Flags from GrRenderTarget to GrTypesPriv.h & rename
The motivation for this is to prevent GrRenderTarget.h appearing in GrRenderTargetProxy.h
Change-Id: I4ef126972c0780cbacb35fa2aa6290777c66eddf
Reviewed-on: https://skia-review.googlesource.com/19521
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetPriv.h')
-rw-r--r-- | src/gpu/GrRenderTargetPriv.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/GrRenderTargetPriv.h b/src/gpu/GrRenderTargetPriv.h index 89f4d5289e..271dd44dd7 100644 --- a/src/gpu/GrRenderTargetPriv.h +++ b/src/gpu/GrRenderTargetPriv.h @@ -37,9 +37,7 @@ public: // to affect the multisample information itself. const GrGpu::MultisampleSpecs& getMultisampleSpecs(const GrPipeline&) const; - typedef GrRenderTarget::Flags Flags; - - Flags flags() const { return fRenderTarget->fFlags; } + GrRenderTargetFlags flags() const { return fRenderTarget->fFlags; } private: explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} |