summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2009-07-22 11:35:49 -0700
committer Romain Guy <romainguy@android.com> 2009-07-22 11:35:49 -0700
commit5140141c2637b89ad0d86c3b715459a1e7b92729 (patch)
treeacfa1415168711e15013edd1b522f8c9f02030e0 /opengl/libagl/TextureObjectManager.cpp
parent113eaa59c1dfafd548a13919e48c0346c0c925ac (diff)
DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
Before this change, DrawableContainer would always return true from getPadding(Rect) even if all of its children were returning false from getPadding(Rect). This change modifies this behavior to respect getPadding(Rect): mConstantPadding is kept null when getPadding(Rect) returns false for all of the children and a flag is set to avoid recomputing that value every time getConstantPadding() is invoked.
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions