4.5.2. Enabling Debugging on Windows

To enable debugging in the OpenGL ES 2.0 Emulator on Windows, you must add parameters as keys to the Windows registry. If a parameter is enabled, the OpenGL ES 2.0 Emulator writes debugging information to the standard error stream. Table 4.5 shows the keys.

You can use the standard Windows regedit tool. You must create the registry keys with the DWORD type, and a value of 1, to enable the corresponding debugging.

Table 4.5. Windows registry key settings for debugging

Registry settings
HKEY_CURRENT_USER\Software\ARM\MaliSDK\OGLES2EMUL\Debug\EGL_INTERNAL_REPORT
HKEY_CURRENT_USER\Software\ARM\MaliSDK\OGLES2EMUL\Debug\EGL_OUT_OF_MEMORY_REPORT
HKEY_CURRENT_USER\Software\ARM\MaliSDK\OGLES2EMUL\Debug\EGL_WARNING_REPORT
HKEY_CURRENT_USER\Software\ARM\MaliSDK\OGLES2EMUL\Debug\GLES2_INTERNAL_REPORT
HKEY_CURRENT_USER\Software\ARM\MaliSDK\OGLES2EMUL\Debug\GLES2_OUT_OF_MEMORY_REPORT
HKEY_CURRENT_USER\Software\ARM\MaliSDK\OGLES2EMUL\Debug\GLES2_WARNING_REPORT

Note

The following key formats are deprecated but still supported:

  • EGLInternalReport

  • EGLOutOfMemoryReport

  • EGLWarningReport

  • GLES2InternalReport

  • GLESOutOfMemoryReport

  • GLES2WarningReport.

Copyright © 2009-2010 ARM. All rights reserved.ARM DUI 0511C
Non-ConfidentialID072410