diff options
Diffstat (limited to 'libs/hwui/FontRenderer.h')
| -rw-r--r-- | libs/hwui/FontRenderer.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libs/hwui/FontRenderer.h b/libs/hwui/FontRenderer.h index 442f4e2..080cc71 100644 --- a/libs/hwui/FontRenderer.h +++ b/libs/hwui/FontRenderer.h @@ -144,7 +144,6 @@ private: void removeFont(const Font* font); - void updateDrawParams(); void checkTextureUpdate(); void setTextureDirty() { @@ -165,12 +164,7 @@ private: bool mUploadTexture; - // Pointer to vertex data to speed up frame to frame work - float* mTextMesh; - uint32_t mCurrentQuadIndex; - uint32_t mLastQuadIndex; uint32_t mMaxNumberOfQuads; - uint32_t mIndexBufferID; const Rect* mClip; @@ -181,33 +175,6 @@ private: bool mLinearFiltering; - struct TextBatch { - TextBatch(): offset(NULL), count(0), texture(NULL) { - } - - TextBatch(uint16_t* offset, uint32_t count, CacheTexture* texture): - offset(offset), count(count), texture(texture) { - } - - static int compare(const TextBatch& lhs, const TextBatch& rhs) { - return lhs.texture->getTextureId() - rhs.texture->getTextureId(); - } - - friend inline int strictly_order_type(const TextBatch& lhs, const TextBatch& rhs) { - return compare(lhs, rhs) < 0; - } - - friend inline int compare_type(const TextBatch& lhs, const TextBatch& rhs) { - return compare(lhs, rhs); - } - - uint16_t* offset; - uint32_t count; - CacheTexture* texture; - }; - - SortedList<TextBatch> mDrawBatch; - // RS constructs sp<RSC::RS> mRs; sp<const RSC::Element> mRsElement; |
