diff options
author | Pablo Ceballos <pceballos@google.com> | 2016-08-03 10:20:45 -0700 |
---|---|---|
committer | Pablo Ceballos <pceballos@google.com> | 2016-08-03 14:19:56 -0700 |
commit | 51450039e2fd266b31f33dfd1b4353bc1b0b145a (patch) | |
tree | dee3baebed9e340a340d37f92c7c931ac139e402 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | acff43dca6a3c8a29f449706967d4de21c373d26 (diff) |
SF: Change rounding behavior in setGeometry
- Add an option for a transform to round outwards instead of to the
nearest pixel.
- Use this new rounding behavior when converting the crop rectangle
from display-space to layer-space. Otherwise a pixel that will
partially be on the screen might be marked as transparent.
Bug 30510632
Change-Id: I1aece177cc29c54ee0d4a2c919e47442eb455f30
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions