Valgrind Suppression is a generic-valgrind-suppression file used to help valgrind to ignore Graphics API (OpenGL) underlying built-in errors. Therefore, the programmer can forcus on programmer-made-errors during the development of the application on top of the API.
It is generic, therefore, feel free to customize it.
Attempt is made to suppress all of the OpenGL API errors that valgrind detects.
Valgrind detects these errors whenever you run it on any program that uses OpenGL. However, they are not
any errors you can fix because they are built into the API (the API may be designed that way).
The most that can be done is to suppress the errors, that is, hide them.
Requirements:
- Linux OS via any of the distros, such as, Ubuntu
- OpenGL, low-level-graphics API.
- Valgrind, the star of the show.
- SDL, graphics and window framework for easy use of OpenGL.
Sometimes, the suppression file will have to be updated after the computer (platform) receives an (os) update. This is because these updates may include new internal leaks.
A demo is provided that test suppressions of default graphics errors. Just run make to test it.
The 'C' file only just open an OpenGL window via SDL and glad. It allows you to test OpenGL internal memory leaks and
therefore suppress those errors.
This project is licensed under the zlib License - see the LICENSE file for details.