diff options
author | Mathias Agopian <mathias@google.com> | 2012-08-31 19:52:30 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-08-31 20:04:18 -0700 |
commit | a8557d2169e14997637f57bc897640c8882d4a46 (patch) | |
tree | 7b2266c166f65ef186e913f18110dab6bbd7d9e8 /libs/hwui/GradientCache.cpp | |
parent | 703bd32647556524fa8cadbe869c8a8d734640ef (diff) |
Revert "Add more support for transformed clip rects and paths"
this introduced a dead lock in GradientCache's ctor.
This reverts commit dfe082f63e94cde9aee271c94d13de5e7217e036.
Bug: 7096001
Change-Id: I57b8bbab11fb7cb502fa58e3bbf5d19864db874f
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
-rw-r--r-- | libs/hwui/GradientCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/GradientCache.cpp b/libs/hwui/GradientCache.cpp index b50ed1060c96..2e4e3492df03 100644 --- a/libs/hwui/GradientCache.cpp +++ b/libs/hwui/GradientCache.cpp @@ -57,7 +57,7 @@ GradientCache::GradientCache(): INIT_LOGD(" Using default gradient cache size of %.2fMB", DEFAULT_GRADIENT_CACHE_SIZE); } - mMaxTextureSize = Caches::getInstance().maxTextureSize; + glGetIntegerv(GL_MAX_TEXTURE_SIZE, &mMaxTextureSize); mCache.setOnEntryRemovedListener(this); } |