diff options
author | 2013-09-26 19:56:51 +0000 | |
---|---|---|
committer | 2013-09-26 19:56:51 +0000 | |
commit | 939ca7ce860c5e80a4fdccc0dba5f7bfa29fef22 (patch) | |
tree | 58e1f8a0928368c9e97ef402f7c8a65dd69447f8 /include/gpu/GrTypes.h | |
parent | baed71fbfeee030184af74eb7e8622e99952bbf8 (diff) |
move GrMalloc, GrFree, Gr_bzero to their sk equivalents
BUG=
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/23566022
git-svn-id: http://skia.googlecode.com/svn/trunk@11486 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r-- | include/gpu/GrTypes.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index b78976361b..0585074697 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -125,16 +125,6 @@ static inline size_t GrSizeAlignDown(size_t x, uint32_t alignment) { */ #define GR_ARRAY_COUNT(array) SK_ARRAY_COUNT(array) -//!< allocate a block of memory, will never return NULL -extern void* GrMalloc(size_t bytes); - -//!< free block allocated by GrMalloc. ptr may be NULL -extern void GrFree(void* ptr); - -static inline void Gr_bzero(void* dst, size_t size) { - memset(dst, 0, size); -} - /////////////////////////////////////////////////////////////////////////////// /** |