16 Commits

Author SHA1 Message Date
rdb
f12bc29d6d tests: do not attempt to run GLSL tests without buffer tex support 2018-07-26 22:58:15 +02:00
rdb
71e18eb960 tests: add test for setting near distance to infinitiy 2018-07-17 23:23:48 +02:00
rdb
eafab53729 tests: fix depth buffer test failure 2018-07-17 22:59:38 +02:00
rdb
06539f5c66 glsl: support passing uint variables to shader 2018-07-17 22:32:34 +02:00
rdb
c434e08a9c tests: add various depth buffer rendering tests 2018-07-12 14:20:31 +02:00
rdb
7c8426a79f tests: fix int overflow error with GLSL shader test on some drivers 2018-07-08 22:28:52 +02:00
rdb
c5dd683366 tests: add unit test for writing to and extracting buffer textures 2018-07-04 20:55:07 +02:00
rdb
c1e5a71904 tests: ensure FrameBufferProperties has working copy constructor 2018-06-09 10:38:03 +02:00
rdb
d8bf9d4b55 tests: skip display tests if pipe cannot create offscreen buffers 2018-06-03 22:33:12 +02:00
rdb
bfff7e1000 tests: don't assert if pipe cannot create physical windows 2018-03-08 11:41:00 +01:00
rdb
f37c070c7c tests: cleanup GraphicsEngine to prevent shutdown freeze on windows
This occurs with the multithreaded render pipeline.  It's not an issue when using ShowBase because ShowBase also explicitly calls this during shutdown.
2018-01-03 00:07:50 +01:00
rdb
97eb734765 tests: add test cases for GLSL shaders 2017-12-24 20:46:53 +01:00
rdb
2f910ccd7c tests: fixes for the window tests 2017-12-24 20:34:06 +01:00
rdb
3be22679a4 display: also avoid getting more than 24 color bits if 0 were requested
See issue #197
2017-11-26 00:06:03 +01:00
rdb
0edac2e94a Work around gamma issue with 64-bit color depths on NVIDIA hardware 2017-11-16 23:52:12 +01:00
Mitchell Stokes
aabf009ff0 tests: Add test_window_basic
This test just makes sure that created windows match the default
WindowProperties (with a few exceptions).

This also adds the following fixtures:

  * graphics_engine - scope='session', GraphicsEngine
  * graphics_pipe - scope='session', default GraphicsPipe
  * window - scope='test', GraphicsWindow with default framebuffer and window properties
2017-11-03 19:25:13 +01:00