Skip to content

Funto/OpenGL-Timestamp-Profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction
------------

This code is an implementation of the graphical real-time profiler using OpenGL timer queries and precise OS-specific CPU time queries that is described in the chapter "A real-time profiling tool" from the book "OpenGL Insights".
This code is provided in the hope that it will be useful.
Patches and improvements are welcome. The code is available on the following Git repository:
	https://github.com/Funto/OpenGL-Timestamp-Profiler

Licensing
---------
This code is covered by the WTFPL (Do What The Fuck You Want To Public License).

Hardware and driver requirements
--------------------------------
You need at least an OpenGL 3.2 compatible GPU and driver with the ARB_timer_query extension to run the demo.

Dependencies
------------
This code depends on the libraries GLEW and GLFW, which are part of the source tree.

Compiling
---------

* Windows:
To compile with Visual C++ 2022, use the provided project files.
To compile with the MinGW64 compiler, use the command:
	make -f Makefile.mingw64

* Linux:
To compile on Linux, you need to install SCons, GLEW and GLFW. On Debian-based systems:
	sudo apt install libglew-dev libglfw3-dev
	scons

* macOS
Compilation on macOS is NOT working as of today (needs to be brought to latest versions of GLFW, GLEW, C++20).
Old makefile has been kept and renamed to Makefile.osx.OLD. Pull requests are welcome if anyone wants to do the port.

Authors
-------

Lionel Fuentes: main contributor
Robert Menzel: initial patches for MacOS X support (not working anymore)

About

A simple CPU/GPU OpenGL-based profiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published