From 272a685f17cc4828257e521a6f62b7b17870f75e Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 29 Jul 2015 16:48:58 -0700 Subject: Replace most usages of utils/Vector.h Change-Id: I540d1b3523244d6c71fc52d6fb30555271c25644 --- libs/hwui/FontRenderer.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libs/hwui/FontRenderer.h') diff --git a/libs/hwui/FontRenderer.h b/libs/hwui/FontRenderer.h index dfb107c99bc5..2954975b1413 100644 --- a/libs/hwui/FontRenderer.h +++ b/libs/hwui/FontRenderer.h @@ -21,16 +21,16 @@ #include "font/CacheTexture.h" #include "font/CachedGlyphInfo.h" #include "font/Font.h" -#include "utils/SortedList.h" #include -#include #include #include #include +#include + #ifdef ANDROID_ENABLE_RENDERSCRIPT #include "RenderScript.h" namespace RSC { @@ -75,7 +75,7 @@ public: FontRenderer(); ~FontRenderer(); - void flushLargeCaches(Vector& cacheTextures); + void flushLargeCaches(std::vector& cacheTextures); void flushLargeCaches(); void setGammaTable(const uint8_t* gammaTable) { @@ -127,7 +127,7 @@ private: CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate); void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, uint32_t *retOriginX, uint32_t *retOriginY, bool precaching); - CacheTexture* cacheBitmapInTexture(Vector& cacheTextures, const SkGlyph& glyph, + CacheTexture* cacheBitmapInTexture(std::vector& cacheTextures, const SkGlyph& glyph, uint32_t* startX, uint32_t* startY); void flushAllAndInvalidate(); @@ -136,7 +136,7 @@ private: void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor); void finishRender(); - void issueDrawCommand(Vector& cacheTextures); + void issueDrawCommand(std::vector& cacheTextures); void issueDrawCommand(); void appendMeshQuadNoClip(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, @@ -164,8 +164,8 @@ private: uint32_t mLargeCacheWidth; uint32_t mLargeCacheHeight; - Vector mACacheTextures; - Vector mRGBACacheTextures; + std::vector mACacheTextures; + std::vector mRGBACacheTextures; Font* mCurrentFont; LruCache mActiveFonts; -- cgit v1.2.3-59-g8ed1b