intel: make intel_base_dbg_create() more useful
Allow the allocation size to be specified for intel_base_dbg_create(). This
makes it reusable for creating intel_base_dbg subclasses.
intel_base_dbg_init() and intel_base_dbg_cleanup() are removed.
diff --git a/icd/intel/queue.c b/icd/intel/queue.c
index a35449c..9dc23ab 100644
--- a/icd/intel/queue.c
+++ b/icd/intel/queue.c
@@ -41,8 +41,8 @@
queue->base.dispatch = dev->base.dispatch;
if (dev->base.dbg) {
- queue->base.dbg =
- intel_base_dbg_create(XGL_DBG_OBJECT_QUEUE, NULL, 0);
+ queue->base.dbg = intel_base_dbg_create(XGL_DBG_OBJECT_QUEUE,
+ NULL, 0, 0);
if (!queue->base.dbg) {
icd_free(queue);
return XGL_ERROR_OUT_OF_MEMORY;