diff options
Diffstat (limited to 'include/gpu/GrRenderTarget.h')
-rw-r--r-- | include/gpu/GrRenderTarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h index dcbe8ea974..ad96229dc7 100644 --- a/include/gpu/GrRenderTarget.h +++ b/include/gpu/GrRenderTarget.h @@ -119,6 +119,8 @@ public: return (GrRenderTargetOpList*) this->getLastOpList(); } + static size_t ComputeSize(const GrSurfaceDesc& desc, int colorValuesPerPixel); + protected: enum class Flags { kNone = 0, |