summaryrefslogtreecommitdiff
path: root/libs/utils/Threads.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2013-02-26 16:37:53 -0800
committer Mathias Agopian <mathias@google.com> 2013-02-28 18:43:04 -0800
commit5219a06d61ac4517506500363c5e8a5972dd7ac9 (patch)
tree6c71799f5875b715fd182c5183aa10781de567df /libs/utils/Threads.cpp
parenteb0d12963d271052c24abb025d698504df9e7573 (diff)
set correct crop rectangle in LayerBase::setCrop
The crop always had left=top=0, because the crop position and the layer's transform were merged together in computeBounds() (which really used to compute the bounds in screen space, which we usually call the "frame" elsewhere in the code) Note: in practice this crop value is not used by hwc, because it's overridden in Layer::setGeometry(), which is why this bug was never apparent. Change-Id: I1ec6400a8fc8314408e4252708f43ea98c2fe64e
Diffstat (limited to 'libs/utils/Threads.cpp')
0 files changed, 0 insertions, 0 deletions