summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-10-12 18:40:36 -0700
committer Romain Guy <romainguy@google.com> 2010-10-12 18:40:36 -0700
commiteb07af687319a0f52c219c3c0c1b73162fce9d04 (patch)
treea27dad9873cd7cab7217ff45fd5c26a4a8885ff0 /libs/hwui/ProgramCache.cpp
parenta0a312225ad56b858f37c2a428e9b8a7140907c4 (diff)
Optimize layer clears.
Don't clear the entire texture when we use textures that are bigger than the layer itself. This will save time during the glClear() calls. Change-Id: I06f3259ba62affb3708ba69ea41418832c7e1a65
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions