Avert duplicating translation in drawing a background drawable
When bounds of a background drawable of a view is set then
the drawable is translated into its left and top position
twice by:
 1. mBackgroundRenderNode.setLeftTopRightBottom() when
    creating or updaing the display list for the drawable.
 2. OpenGLRenderer during actual rendering. For example,
    the translation is done by loadTranslate() call to a
    model view matrix in setupDrawModelView() for drawing
    a simple colored rectangle.
This patch removes the translation described in step 1
above since all works for the translation of a background
drawable is done by OpenGLRenderer appropriately.
Change-Id: I9b8549b36215d567a5f43e1bb7bd02243a2377d1
Signed-off-by:  Dohyun Lee <dohyun.lee@lge.com>
Dohyun Lee <dohyun.lee@lge.com>
Loading
Please register or sign in to comment
