Add a way to query GL extensions.

Change-Id: Ic27dbf72289dacf641b640a749fbd40c12cd474f
diff --git a/libs/hwui/FontRenderer.h b/libs/hwui/FontRenderer.h
index b73a96e..3d4d49c 100644
--- a/libs/hwui/FontRenderer.h
+++ b/libs/hwui/FontRenderer.h
@@ -43,10 +43,8 @@
     static Font* create(FontRenderer* state, uint32_t fontId, float fontSize);
 
 protected:
-
     friend class FontRenderer;
 
-    void invalidateTextureCache();
     struct CachedGlyphInfo {
         // Has the cache been invalidated?
         bool mIsValid;
@@ -68,17 +66,19 @@
         uint32_t mBitmapTop;
     };
 
-    FontRenderer* mState;
-    uint32_t mFontId;
-    float mFontSize;
-
     Font(FontRenderer* state, uint32_t fontId, float fontSize);
 
     DefaultKeyedVector<int32_t, CachedGlyphInfo*> mCachedGlyphs;
 
+    void invalidateTextureCache();
+
     CachedGlyphInfo *cacheGlyph(SkPaint* paint, int32_t glyph);
     void updateGlyphCache(SkPaint* paint, const SkGlyph& skiaGlyph, CachedGlyphInfo *glyph);
     void drawCachedGlyph(CachedGlyphInfo *glyph, int x, int y);
+
+    FontRenderer* mState;
+    uint32_t mFontId;
+    float mFontSize;
 };
 
 class FontRenderer {