]> git.sesse.net Git - movit/commitdiff
Minor optimization in ResampleEffect: Set less GL state.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 6 Sep 2015 22:10:48 +0000 (00:10 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 6 Sep 2015 22:10:48 +0000 (00:10 +0200)
In particular, if we can avoid it, use glTexSubImage2D instead of glTexImage2D.
This actually has a real effect, at least on Intel/Linux, where the drive seems
to stall on some mappings.

Of course, this only really helps for things like pans, not zooms.


No differences found