diff options
author | Robert Carr <racarr@google.com> | 2015-12-08 14:03:13 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2015-12-09 12:46:24 -0800 |
commit | 51a1b875c2ba1bf086c849871dd340cfee2ccfaa (patch) | |
tree | cc75689021498c838d60ebc5ef0ed9553d4356ce /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 70ac616b3851a063b974cf5e5c8bc764994cab7d (diff) |
Apply cropping to resizing surfaces.
Apply crop to surfaces even while we resize them. In the case of
SurfaceView, the SurfaceView will be much slower to resize than the
main window. Without crop, this causes the SurfaceView to jut past
the bounds of the main window as it is shrinking. With crop we can
ensure the crop moves with the border in the same SurfaceFlinger
transaction.
Bug: 26010823
Change-Id: Ifb32422de8d18363bd956a457e9efe8cf26678e5
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions