summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2015-12-16 18:16:21 -0800
committer Robert Carr <racarr@google.com> 2015-12-21 14:57:52 -0800
commitcd9a18c7f864901400c6017c892bfd3bc48c3a4b (patch)
tree7e28592e6d0ce994cd8feeff23119ff63932df89 /libs/hwui/ProgramCache.cpp
parent2fd71cc6ee7b5bd8b4b211fccb0752134d11f034 (diff)
Set SCALING_MODE_NO_SCALE_CROP for SurfaceView.
When resizing SurfaceView along with a main application window, we want to be able to update the crop of the SurfaceView without waiting for a buffer at a new size. If we fail to do so the SurfaceView may extend beyond the edge of the host surface. Bug: 26010823 Change-Id: I3bb52f82c02bb729a2494a3a43b9654d9aae9532
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions