hwc: fix source crop when using gscaler m2m
authorGreg Hackmann <ghackmann@google.com>
Fri, 17 Aug 2012 00:28:57 +0000 (17:28 -0700)
committerGreg Hackmann <ghackmann@google.com>
Fri, 17 Aug 2012 16:23:29 +0000 (09:23 -0700)
commit90219f32a19cfaa1c24673452e9f33cccc092e21
treeaf934a193faa7669a5965d5f8dd013419944fe58
parent1cf195be9d313c1696a8617646bb1b3327dc4592
hwc: fix source crop when using gscaler m2m

The source image has already been scaled and cropped, so adjust the
source crop accordingly

Change-Id: Ife09a8eecb4e20c60a8e8ef54164e1a14c5a2718
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp