powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
702 stars 197 forks source link

glDebugMessageControlKHR doesn't work correctly #38

Open zhaijialong opened 5 years ago

zhaijialong commented 5 years ago

I try to use glDebugMessageControlKHR to disable application message, but still got lots of debug messages in the callback of glDebugMessageCallbackKHR when I invoke glPushDebugGroupKHR with GL_DEBUG_SOURCE_APPLICATION.

gl::ext::DebugMessageControlKHR(GL_DEBUG_SOURCE_APPLICATION, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_FALSE)

That works correctly in Angle emulator. So maybe a bug in PowerVR emulator ?

graptis commented 5 years ago

Hi @zhaijialong, (Sorry for the canned answer, I just realised this was without reply) - again, this is potentially a bug in the emulator, the team is notified, you can open a topic for it in the forum.

zhaijialong commented 5 years ago

No problem, created a topic here https://forums.imgtec.com/t/issue-gldebugmessagecontrolkhr-doesnt-work-correctly/2956