diff options
author | wm4 <wm4@nowhere> | 2016-04-08 22:21:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-08 22:21:38 +0200 |
commit | 87cb2339a6870e04a05d54b4e297168fb2bf5e34 (patch) | |
tree | 79c7301509e6a0dca70c0e00029e2fc4585ac7d0 /.travis.yml | |
parent | a2db0105abbfe447b032dc89f3b57abe4585db18 (diff) | |
download | mpv-87cb2339a6870e04a05d54b4e297168fb2bf5e34.tar.bz2 mpv-87cb2339a6870e04a05d54b4e297168fb2bf5e34.tar.xz |
vo_opengl: improve rotation handling (again)
Apply basic transformations like rotation by 90° and mirroring when
sampling from the source textures. The original idea was making this
part of img_tex.transform, but this didn't work: lots of code plays
tricks on the transform, so manipulating it is not necessarily
transparent, especially when width/height are switched. So add a new
pre_transform field, which is strictly applied before the normal
transform.
This fixes most glitches involved with rotating the image.
Cropping and rotation are now weirdly separated, even though they could
be done in the same step. I think this is not much of a problem, and
has the advantage that changing panscan does not trigger FBO
reallocations (I think...).
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions