aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrResourceKey.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-10-19 08:24:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-19 08:24:09 -0700
commit1a197ea31e0aac7ea312e9a6c0d9f5df626b0350 (patch)
tree0ca9a78db8e6e71b37fd9f25194fef1fb9e5ed94 /include/gpu/GrResourceKey.h
parentcdf79dbf2f18aca733a1d33f8c5f32a8e85c142c (diff)
Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.
Diffstat (limited to 'include/gpu/GrResourceKey.h')
-rw-r--r--include/gpu/GrResourceKey.h4
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;
};
/**