summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2010-10-22 17:49:18 -0700
committer Romain Guy <romainguy@android.com> 2010-10-22 17:49:18 -0700
commitae88e5e8e9cb6c9539314c4360c5b20f8ec1fefc (patch)
tree451798ed04880220134161c51b1f417fb8450797 /libs/hwui/ProgramCache.cpp
parent58ae6db4ff8a9d0910e1183ee8be9a038a2712a6 (diff)
Fix rendering issue with layers.
A change was made earlier in the renderer to not snap the current clip rect on every clip operation. The clip rect must not be snapped to pixel boundaries before being used for pixel precision operations. Some operations were doing this correctly, others were not. For instance, a layer was always created by rounding to the correct pixels, but composing a layer was done with a non rounded clip, thus resulting in slightly odd behaviors. Change-Id: I31c2cf0a343450470bcd449c3f13fe37648b9c7c
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions