]> git.sesse.net Git - movit/commit
Add a unit test for VignetteEffect, and fix two bugs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 Jan 2014 23:43:58 +0000 (00:43 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 Jan 2014 23:43:58 +0000 (00:43 +0100)
commit0f37f626e3c445593e2008357622441977fa3a32
tree917ee947c3c77a11724efbd028554782b89b84d2
parent1514db1d0f3963dbc18177d2fd7eaae16a069c3b
Add a unit test for VignetteEffect, and fix two bugs.

As usual, adding unit tests uncovers bugs (although one was known
in this case):

 - Make VignetteEffect work with any aspect, not only 16:9 (known).
 - Make sure (0,0) is upper-left for center, not lower-left as in
   OpenGL.
Makefile.in
vignette_effect.cpp
vignette_effect.frag
vignette_effect.h
vignette_effect_test.cpp [new file with mode: 0644]