egl: Add storage for EGL_KHR_debug's state to EGL objects
Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:

committed by
Adam Jackson

parent
1d535c1e83
commit
7206b3a556
@@ -79,6 +79,8 @@ struct _egl_resource
|
||||
EGLBoolean IsLinked;
|
||||
EGLint RefCount;
|
||||
|
||||
EGLLabelKHR Label;
|
||||
|
||||
/* used to link resources of the same type */
|
||||
_EGLResource *Next;
|
||||
};
|
||||
@@ -165,6 +167,8 @@ struct _egl_display
|
||||
|
||||
/* lists of resources */
|
||||
_EGLResource *ResourceLists[_EGL_NUM_RESOURCES];
|
||||
|
||||
EGLLabelKHR Label;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user