ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

Possibly use the openGL version checker somehow #2606

Open GoogleFrog opened 5 years ago

GoogleFrog commented 5 years ago

https://springrts.com/dl/buildbot/default/develop/104.0.1-1859-g1c0b01a/win32/%7bdevelop%7d104.0.1-1859-g1c0b01a_win32_UnitTests.7z

There is a small test program that will output the results of OpenGL context creation for the graphical enhancements of develop. There are a few tasks:

lhog commented 5 years ago

The basic flow for win32 is the following:

  1. test_GLContextCreation.exe is copied into the spring engine directory (say currently active one)
  2. Zero-K.exe launch it from there, collect output and store it somewhere (or send somewhere)
  3. The output is parsed server side or Zero-K.exe side

here's how raw output looks on my side: https://pastebin.com/c4VKyFSF