VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-24.0.2/docs/debugging.rst@ 105254

最後變更 在這個檔案從105254是 103996,由 vboxsync 提交於 12 月 前

Additions/3D/mesa: export mesa-24.0.2 to OSE. bugref:10606

  • 屬性 svn:eol-style 設為 native
檔案大小: 632 位元組
 
1Debugging Tips
2==============
3
4Normally Mesa (and OpenGL) records but does not notify the user of
5errors. It is up to the application to call ``glGetError`` to check for
6errors. Mesa supports an environment variable, ``MESA_DEBUG``, to help
7with debugging. If ``MESA_DEBUG`` is defined, a message will be printed
8to stdout whenever an error occurs.
9
10More extensive error checking is done in DEBUG builds
11(``--buildtype debug`` for Meson).
12
13In your debugger you can set a breakpoint in ``_mesa_error()`` to trap
14Mesa errors.
15
16There is a display list printing/debugging facility. See the end of
17``src/mesa/main/dlist.c`` for details.
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette