diff options
| author | 2011-01-22 00:32:12 -0800 | |
|---|---|---|
| committer | 2011-01-22 00:35:23 -0800 | |
| commit | c88e357d1ed9dadfc0efb3dfbe92f24460674ef5 (patch) | |
| tree | af36de378d845f6db755c13191d8118f9711fd8b /libs/hwui/TextureCache.cpp | |
| parent | acf36126e4620a0cc36d4e5b1268d15777ea4361 (diff) | |
Fix regression with hardware layers.
The renderer was checking whether the layer's region is a rect to
draw it with a simple quad. This test was done against the layer's
region structure, which was cleared after generating the mesh.
Unfortunately Region::isRect() returns true when the region is
empty, which was causing the renderer to always use a quad to
draw a mesh on screen.
Change-Id: If4b874579ee0cedcb67367c9efa5c0c98ca55231
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
0 files changed, 0 insertions, 0 deletions