summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-08 22:21:31 +0200
committerwm4 <wm4@nowhere>2016-04-08 22:21:38 +0200
commit87cb2339a6870e04a05d54b4e297168fb2bf5e34 (patch)
tree79c7301509e6a0dca70c0e00029e2fc4585ac7d0 /.gitignore
parenta2db0105abbfe447b032dc89f3b57abe4585db18 (diff)
downloadmpv-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions