Change-Id: I499e4cbcdc16ead1cde9086ab500cd71032186f2
#include "list.h"
#define FREE_QUEUE 1
-#define DUTY_QUEUE 2
+#define DIRTY_QUEUE 2
#define NODE_LIST 4
#define DEBUG 0
queue_node *tmp = NULL;
if (type == 0)
- type = FREE_QUEUE | DUTY_QUEUE | NODE_LIST;
+ type = FREE_QUEUE | DIRTY_QUEUE | NODE_LIST;
if (out_type)
*out_type = 0;
}
}
- if (type & DUTY_QUEUE)
+ if (type & DIRTY_QUEUE)
{
LIST_FOR_EACH_ENTRY_SAFE(node, tmp, &surface_queue->dirty_queue.head, item_link) {
if (node->surface == surface)
{
- if (out_type) *out_type = DUTY_QUEUE;
+ if (out_type) *out_type = DIRTY_QUEUE;
return node;
}
}