1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:07:35 +00:00

Tests: Add a simple LibGL render-test

At the moment we just check if we *can* render a simple triangle, we do
not yet actually test if the image is indeed the triangle we wanted.

This test also outputs the rendered image when GL_DEBUG is enabled to a
file called "picture.bmp" for manual verification.

Co-authored-by: sunverwerth <s.unverwerth@serenityos.org>
This commit is contained in:
Hendiadyoin1 2021-11-29 18:18:34 +01:00 committed by Ali Mohammad Pur
parent 3a4dd5ff87
commit 7a27ecc135
4 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,7 @@
set(TEST_SOURCES
TestRender.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibGL LIBS LibGL)
endforeach()