Commits on Source (5)
-
During video_format_Setup(), the size, visible size and source aspect ratio is defined for the given video_format_t instance, but those values only make sense for a given orientation. Transforming the picture would mean transform the coordinates, as seen in video_format_TransformBy(). To ensure the correct behaviour is found when transforming after the setup, initialize the orientation to ORIENT_NORMAL as well.
fbc22398 -
Libplacebo changes the current framebuffer when starting the pl_gpu opengl instance, leading to invalid framebuffer operation when it's being used for rendering afterwards.
a1a676bc -
This test is able to use any offscreen opengl implementation available to run the opengl filters engine on both GL Core and GL ES, and will skip the test for one of those targets if no implementations are available. It currently mainly smoke-test the filters engine, while checking that orientation handling is correct, and uses glReadPixels to check the resulting rendered picture in a multi-platform way.
8ae846de -
The current code is now able to rotate depending on the filters engine orientation coming from the OpenGL provider, but it wasn't able to flip yet. Because the orientation will rotate vertical flipping, only horizontal flipping is needed for any direction flipping. This commit adds support for those.
824172ec -
Test the different missing orientation: - ORIENT_TRANSPOSED is ORIENT_ROTATED_270 + HFLIP - ORIENT_ANTITRANSPOSED is ORIENT_ROTATED_90 + HFLIP - ORIENT_HFLIP is ORIENT_NORMAL + HFLIP - ORIENT_VFLIP is ORIENT_ROTATED_180 + HFLIP
5e737ea4
Showing
- modules/video_output/opengl/renderer.c 26 additions, 6 deletionsmodules/video_output/opengl/renderer.c
- modules/video_output/opengl/sampler.c 10 additions, 0 deletionsmodules/video_output/opengl/sampler.c
- src/misc/es_format.c 1 addition, 0 deletionssrc/misc/es_format.c
- test/Makefile.am 25 additions, 0 deletionstest/Makefile.am
- test/modules/video_output/opengl/filters.c 333 additions, 0 deletionstest/modules/video_output/opengl/filters.c
test/modules/video_output/opengl/filters.c
0 → 100644