diff options
author | Dylan Baker <[email protected]> | 2018-09-12 15:56:30 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2020-04-21 11:09:03 -0700 |
commit | b85775900d084e3d27f269c3bd336b9aa356b98d (patch) | |
tree | 3bec5036b41b03041227d9b82a00dac82ed8fa25 /src/mesa/drivers/dri/i915 | |
parent | 9ee6e78a8716eed09a088dad2d6153373423a565 (diff) |
replace malloc macros in imports.h with u_memory.h versions
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_buffer_objects.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_fbo.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_screen.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tex.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_buffer_objects.c b/src/mesa/drivers/dri/i915/intel_buffer_objects.c index 6353c11ea32..841808b7e3d 100644 --- a/src/mesa/drivers/dri/i915/intel_buffer_objects.c +++ b/src/mesa/drivers/dri/i915/intel_buffer_objects.c @@ -30,6 +30,7 @@ #include "main/mtypes.h" #include "main/macros.h" #include "main/bufferobj.h" +#include "util/u_memory.h" #include "intel_blit.h" #include "intel_buffer_objects.h" diff --git a/src/mesa/drivers/dri/i915/intel_fbo.c b/src/mesa/drivers/dri/i915/intel_fbo.c index 4f4a2fe96b9..2e00e803b58 100644 --- a/src/mesa/drivers/dri/i915/intel_fbo.c +++ b/src/mesa/drivers/dri/i915/intel_fbo.c @@ -37,6 +37,7 @@ #include "main/teximage.h" #include "main/image.h" +#include "util/u_memory.h" #include "swrast/swrast.h" #include "drivers/common/meta.h" diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index b84dfcaa136..bdf97522a05 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -41,6 +41,7 @@ #include "utils.h" #include "util/xmlpool.h" +#include "util/u_memory.h" static const __DRIconfigOptionsExtension i915_config_options = { .base = { __DRI_CONFIG_OPTIONS, 1 }, diff --git a/src/mesa/drivers/dri/i915/intel_tex.c b/src/mesa/drivers/dri/i915/intel_tex.c index 0b24c7e935b..801aeb28ca5 100644 --- a/src/mesa/drivers/dri/i915/intel_tex.c +++ b/src/mesa/drivers/dri/i915/intel_tex.c @@ -4,6 +4,7 @@ #include "main/teximage.h" #include "main/mipmap.h" #include "drivers/common/meta.h" +#include "util/u_memory.h" #include "intel_context.h" #include "intel_mipmap_tree.h" #include "intel_tex.h" |