aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrResourceKey.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-10-20 07:58:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-20 07:58:01 -0700
commit045802dbb7202b52f5fd2758d725f39c156a6165 (patch)
tree49cdef8c087b3c674928e2428a4761fb15f777b4 /include/gpu/GrResourceKey.h
parent4beb5c117b355599e2fd26b8b3d19de99512cb69 (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;
};
/**