OSDN Git Service

Enable stencil clipping within clearLayerRegions
authorDohyun Lee <dohyun.lee@lge.com>
Mon, 24 Nov 2014 12:08:15 +0000 (21:08 +0900)
committerDohyun Lee <dohyun.lee@lge.com>
Mon, 24 Nov 2014 12:08:15 +0000 (21:08 +0900)
commitadc0d9da8648abfea1035fb1108eceea9fd9b5b1
tree8656d15624a473abdf019d1d8d51de2d74adeaac
parentff4dd15cd024f72cbd2b6d547356de030b2dd71c
Enable stencil clipping within clearLayerRegions

Previously stencil clipping within clearLayerRegions is disabled by commit
62d307c2402777d5e53b4590af5f32f8c55afd81. However, clearing whole layer
regions causes black-colored triangle regions when a TextView has
RotateAnimation because the draw within clearLayerRegions does not
affected by the current stencil clip.

Change-Id: Id32a0b16754b109905f833e063ebfa156bd953f2
Signed-off-by: Dohyun Lee <dohyun.lee@lge.com>
libs/hwui/OpenGLRenderer.cpp