diff options
author | bsalomon <bsalomon@google.com> | 2015-10-16 13:35:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-16 13:35:10 -0700 |
commit | fcffaf22d697f06f903c3193308f9dc54a959f79 (patch) | |
tree | 38408d319b281941642893e3642d2b947a086cf6 /include/gpu/GrResourceKey.h | |
parent | 466c2c48b9f78b974becbc6834970b6f6cdfa5f5 (diff) |
Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.
Review URL: https://codereview.chromium.org/1409163002
Diffstat (limited to 'include/gpu/GrResourceKey.h')
-rw-r--r-- | include/gpu/GrResourceKey.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/GrResourceKey.h b/include/gpu/GrResourceKey.h index 6cfa90fd8a..9958cfc872 100644 --- a/include/gpu/GrResourceKey.h +++ b/include/gpu/GrResourceKey.h @@ -138,8 +138,8 @@ private: friend class TestResource; // For unit test to access kMetaDataCnt. - // bmp textures require 4 uint32_t values. - SkAutoSTMalloc<kMetaDataCnt + 4, uint32_t> fKey; + // bmp textures require 5 uint32_t values. + SkAutoSTMalloc<kMetaDataCnt + 5, uint32_t> fKey; }; /** |