А теперь те же 3 теста-сцены помещаются в файл сценария тестирования:
Код: Выделить всё
olej@R420:~/2021/R420$ touch gl.dat
Код: Выделить всё
olej@R420:~/2021/R420$ cat gl.dat
shading
build
texture
Код: Выделить всё
olej@R420:~/2021/R420$ glmark2-es2 --benchmark-file ./gl.dat
libEGL warning: DRI2: failed to authenticate
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: Mesa/X.org
GL_RENDERER: llvmpipe (LLVM 12.0.0, 256 bits)
GL_VERSION: OpenGL ES 3.2 Mesa 21.0.3
=======================================================
[shading] <default>: FPS: 250 FrameTime: 4.000 ms
[build] <default>: FPS: 338 FrameTime: 2.959 ms
[texture] <default>: FPS: 541 FrameTime: 1.848 ms
=======================================================
glmark2 Score: 376
=======================================================
Код: Выделить всё
olej@R420:~/2021/R420$ time glmark2-es2 --benchmark-file ./gl.dat --off-screen
libEGL warning: DRI2: failed to authenticate
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: Mesa/X.org
GL_RENDERER: llvmpipe (LLVM 12.0.0, 256 bits)
GL_VERSION: OpenGL ES 3.2 Mesa 21.0.3
=======================================================
[shading] <default>: FPS: 509 FrameTime: 1.965 ms
[build] <default>: FPS: 650 FrameTime: 1.538 ms
[texture] <default>: FPS: 3044 FrameTime: 0.329 ms
=======================================================
glmark2 Score: 1401
=======================================================
real 0m30,128s
user 2m36,918s
sys 0m12,551s