diff options
| author | Romain Guy <romainguy@google.com> | 2010-08-26 20:35:23 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-08-27 11:31:24 -0700 |
| commit | b45c0c9774bd19a9dbe77d149abae4e124b08bf6 (patch) | |
| tree | 809e63c596802906242c982ed67f463481b57230 /libs/hwui/Caches.h | |
| parent | c70bd1921bbc4046d0caf84959e5f1c2d526769a (diff) | |
| download | frameworks_base-b45c0c9774bd19a9dbe77d149abae4e124b08bf6.zip frameworks_base-b45c0c9774bd19a9dbe77d149abae4e124b08bf6.tar.gz frameworks_base-b45c0c9774bd19a9dbe77d149abae4e124b08bf6.tar.bz2 | |
Apply gamma correction to font rendering.
Change-Id: I1b05f40e356221b2a5eb9400e67d77ecd98ed6c4
Diffstat (limited to 'libs/hwui/Caches.h')
| -rw-r--r-- | libs/hwui/Caches.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/hwui/Caches.h b/libs/hwui/Caches.h index 151e29f..fda57b8 100644 --- a/libs/hwui/Caches.h +++ b/libs/hwui/Caches.h @@ -25,7 +25,7 @@ #include "LayerCache.h" #include "GradientCache.h" #include "PatchCache.h" -#include "FontRenderer.h" +#include "GammaFontRenderer.h" #include "ProgramCache.h" #include "PathCache.h" #include "TextDropShadowCache.h" @@ -42,7 +42,6 @@ struct CacheLogger { class Caches: public Singleton<Caches> { Caches(): Singleton<Caches>(), blend(false), lastSrcMode(GL_ZERO), lastDstMode(GL_ZERO), currentProgram(NULL) { - dropShadowCache.setFontRenderer(fontRenderer); } friend class Singleton<Caches>; @@ -62,7 +61,7 @@ public: PathCache pathCache; PatchCache patchCache; TextDropShadowCache dropShadowCache; - FontRenderer fontRenderer; + GammaFontRenderer fontRenderer; }; // class Caches }; // namespace uirenderer |
