Created attachment 187161 [details]
New port for a nice graphics debugging toolkit: https://github.com/apitrace/apitrace
The last released version is literally 2 years old, so using git master.
Tested on 12-CURRENT with Mesa 17.2.2, works great!
It is buggy on the FreeBSD:
So I am hesitant to commit it now.
Created attachment 188013 [details]
I updated the patch.
(In reply to Yuri Victorovich from comment #1)
I don't think some warnings in libbacktrace matter that much. Backtraces are not important to apitrace. It reads OpenGL frames perfectly fine.
(In reply to Greg V from comment #3)
I had to patch some ELF tags because they didn't exist on 10.
But now the build on 10i386 hangs entirely. It looks like the compile of egltrace.cpp never finishes on 10i386.
Created attachment 188025 [details]
A commit references this bug:
Date: Sat Nov 18 05:38:06 UTC 2017
New revision: 454408
New port: devel/apitrace: Tools for tracing OpenGL and other graphics APIs
Submitted by: Greg V <email@example.com>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D13112
Committed with small changes.
Thank you for your contribution!