util: Move main/set to util/hash_set
Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -28,10 +28,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "util/hash_table.h"
|
#include "util/hash_table.h"
|
||||||
#include "main/set.h"
|
|
||||||
#include "../list.h"
|
#include "../list.h"
|
||||||
#include "GL/gl.h" /* GLenum */
|
#include "GL/gl.h" /* GLenum */
|
||||||
#include "util/ralloc.h"
|
#include "util/ralloc.h"
|
||||||
|
#include "util/set.h"
|
||||||
#include "main/mtypes.h"
|
#include "main/mtypes.h"
|
||||||
#include "main/bitset.h"
|
#include "main/bitset.h"
|
||||||
#include "nir_types.h"
|
#include "nir_types.h"
|
||||||
|
@@ -174,8 +174,6 @@ MAIN_FILES = \
|
|||||||
$(SRCDIR)main/samplerobj.h \
|
$(SRCDIR)main/samplerobj.h \
|
||||||
$(SRCDIR)main/scissor.c \
|
$(SRCDIR)main/scissor.c \
|
||||||
$(SRCDIR)main/scissor.h \
|
$(SRCDIR)main/scissor.h \
|
||||||
$(SRCDIR)main/set.c \
|
|
||||||
$(SRCDIR)main/set.h \
|
|
||||||
$(SRCDIR)main/shaderapi.c \
|
$(SRCDIR)main/shaderapi.c \
|
||||||
$(SRCDIR)main/shaderapi.h \
|
$(SRCDIR)main/shaderapi.h \
|
||||||
$(SRCDIR)main/shaderimage.c \
|
$(SRCDIR)main/shaderimage.c \
|
||||||
|
@@ -36,9 +36,9 @@
|
|||||||
#include "main/context.h"
|
#include "main/context.h"
|
||||||
#include "main/teximage.h"
|
#include "main/teximage.h"
|
||||||
#include "main/image.h"
|
#include "main/image.h"
|
||||||
#include "main/set.h"
|
|
||||||
#include "main/condrender.h"
|
#include "main/condrender.h"
|
||||||
#include "util/hash_table.h"
|
#include "util/hash_table.h"
|
||||||
|
#include "util/set.h"
|
||||||
|
|
||||||
#include "swrast/swrast.h"
|
#include "swrast/swrast.h"
|
||||||
#include "drivers/common/meta.h"
|
#include "drivers/common/meta.h"
|
||||||
|
@@ -36,12 +36,12 @@
|
|||||||
#include "program/program.h"
|
#include "program/program.h"
|
||||||
#include "dlist.h"
|
#include "dlist.h"
|
||||||
#include "samplerobj.h"
|
#include "samplerobj.h"
|
||||||
#include "set.h"
|
|
||||||
#include "shaderapi.h"
|
#include "shaderapi.h"
|
||||||
#include "shaderobj.h"
|
#include "shaderobj.h"
|
||||||
#include "syncobj.h"
|
#include "syncobj.h"
|
||||||
|
|
||||||
#include "util/hash_table.h"
|
#include "util/hash_table.h"
|
||||||
|
#include "util/set.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allocate and initialize a shared context state structure.
|
* Allocate and initialize a shared context state structure.
|
||||||
|
@@ -63,8 +63,8 @@
|
|||||||
#include "get.h"
|
#include "get.h"
|
||||||
#include "dispatch.h"
|
#include "dispatch.h"
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
#include "set.h"
|
|
||||||
#include "util/hash_table.h"
|
#include "util/hash_table.h"
|
||||||
|
#include "util/set.h"
|
||||||
|
|
||||||
#include "syncobj.h"
|
#include "syncobj.h"
|
||||||
|
|
||||||
|
@@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "util/hash_table.h"
|
#include "util/hash_table.h"
|
||||||
|
#include "util/set.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "glformats.h"
|
#include "glformats.h"
|
||||||
#include "set.h"
|
|
||||||
#include "texobj.h"
|
#include "texobj.h"
|
||||||
#include "teximage.h"
|
#include "teximage.h"
|
||||||
#include "vdpau.h"
|
#include "vdpau.h"
|
||||||
|
@@ -9,6 +9,8 @@ MESA_UTIL_FILES := \
|
|||||||
register_allocate.h \
|
register_allocate.h \
|
||||||
rgtc.c \
|
rgtc.c \
|
||||||
rgtc.h \
|
rgtc.h \
|
||||||
|
set.c \
|
||||||
|
set.h \
|
||||||
strtod.cpp \
|
strtod.cpp \
|
||||||
strtod.h \
|
strtod.h \
|
||||||
texcompress_rgtc_tmp.h \
|
texcompress_rgtc_tmp.h \
|
||||||
|
@@ -35,8 +35,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
|
#include "ralloc.h"
|
||||||
#include "set.h"
|
#include "set.h"
|
||||||
#include "util/ralloc.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* From Knuth -- a good choice for hash/rehash values is p, p-2 where
|
* From Knuth -- a good choice for hash/rehash values is p, p-2 where
|
||||||
@@ -343,4 +343,3 @@ _mesa_set_random_entry(struct set *ht,
|
|||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user