diff options
author | Jason Sams <jsams@google.com> | 2012-07-25 19:33:43 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2012-07-25 19:33:43 -0700 |
commit | a6dd823b9dcbd7ce7dfc34eda52a1e4104771f79 (patch) | |
tree | 324d0c1e625f5ae39b6e783df8c08f75cd5d0350 /rsFont.h | |
parent | 807fdc4b6f3fb893015ee136565d6151bb2332d3 (diff) | |
download | rs-a6dd823b9dcbd7ce7dfc34eda52a1e4104771f79.tar.gz |
Cleanup pointer access in adapter and font.
Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
Diffstat (limited to 'rsFont.h')
-rw-r--r-- | rsFont.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -215,10 +215,11 @@ protected: // Texture to cache glyph bitmaps ObjectBaseRef<Allocation> mTextTexture; + uint8_t *mCacheBuffer; + uint32_t mCacheWidth; + uint32_t mCacheHeight; + void initTextTexture(); - const uint8_t* getTextTextureData() const { - return (uint8_t*)mTextTexture->getPtr(); - } #ifndef ANDROID_RS_SERIALIZE bool cacheBitmap(FT_Bitmap_ *bitmap, uint32_t *retOriginX, uint32_t *retOriginY); |