mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:27:36 +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:
parent
3a4dd5ff87
commit
7a27ecc135
4 changed files with 74 additions and 0 deletions
7
Tests/LibGL/CMakeLists.txt
Normal file
7
Tests/LibGL/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
set(TEST_SOURCES
|
||||
TestRender.cpp
|
||||
)
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
serenity_test("${source}" LibGL LIBS LibGL)
|
||||
endforeach()
|
Loading…
Add table
Add a link
Reference in a new issue