Lines Matching refs:ID
50 GLuint ID;
76 GLuint id;
180 * Handles generating a GL_ARB_debug_output message ID generated by the GL or
183 * The GL API has this "ID" mechanism, where the intention is to allow a
184 * client to filter in/out messages based on source, type, and ID. Of course,
187 * static storage where the ID should get stored. This ID will be shared
193 _mesa_debug_get_id(GLuint *id)
195 if (!(*id)) {
197 if (!(*id))
198 *id = NextDynamicID++;
215 enum mesa_debug_type type, GLuint id,
234 msg->id = id;
245 msg->id = oom_msg_id;
290 copy->ID = elem->ID;
299 * Set the state of \p id in the namespace.
303 GLuint id, bool enabled)
313 if (tmp->ID == id) {
333 elem->ID = id;
380 * Get the state of \p id in the namespace.
383 debug_namespace_get(const struct gl_debug_namespace *ns, GLuint id,
393 if (elem->ID == id) {
543 * Sets the state of the given message source/type/ID tuple.
549 GLuint id, GLboolean enabled)
557 debug_namespace_set(ns, id, enabled);
607 * Returns if the given message source/type/ID tuple is enabled.
613 GLuint id,
623 return debug_namespace_get(nspace, id, severity);
635 enum mesa_debug_type type, GLuint id,
657 id, severity, len, buf);
841 enum mesa_debug_type type, GLuint id,
847 if (!_mesa_debug_is_message_enabled(debug, source, type, id, severity)) {
866 callback(gl_source, gl_type, id, gl_severity, len, buf, data);
870 debug_log_message(ctx->Debug, source, type, id, severity, len, buf);
880 enum mesa_debug_type type, GLuint id,
888 log_msg_locked_and_unlock(ctx, source, type, id, severity, len, buf);
1001 _mesa_DebugMessageInsert(GLenum source, GLenum type, GLuint id,
1024 gl_enum_to_debug_type(type), id,
1094 *ids++ = msg->id;
1173 _mesa_PushDebugGroup(GLenum source, GLuint id, GLsizei length,
1217 id,
1225 MESA_DEBUG_TYPE_PUSH_GROUP, id,
1265 msg.id,