diff options
author | 2014-12-15 14:16:27 -0800 | |
---|---|---|
committer | 2014-12-15 14:16:27 -0800 | |
commit | 9b98932adaceb7ad0a617ade16616923f6bffe84 (patch) | |
tree | c9a7a19ca9555e3284d67b01ad1ad448a963ad17 /include/core/SkTemplates.h | |
parent | bc3d0de755c4164563d136fc6b28fc186d275db7 (diff) |
This change will ultimately pull uniform color, and to a much lesser degree uniform coverage, into GPs. There are still some loose ends because drawstate has the ability to override the GP, but fixing these cleanly will have to wait until we have deferred geometry in place and can make attribute / uniform decisions on the fly.
BUG=skia:
Review URL: https://codereview.chromium.org/746423007
Diffstat (limited to 'include/core/SkTemplates.h')
-rw-r--r-- | include/core/SkTemplates.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h index 5ef28ea4e5..3571af6706 100644 --- a/include/core/SkTemplates.h +++ b/include/core/SkTemplates.h @@ -464,6 +464,7 @@ private: template <size_t N> class SkAlignedSStorage : SkNoncopyable { public: void* get() { return fData; } + const void* get() const { return fData; } private: union { void* fPtr; |