mesa/src/egl
Matt Turner 7c7b7b068b Remove Xcalloc/Xmalloc/Xfree calls
These calls allowed Xlib to use a custom memory allocator, but Xlib has
used the standard C library functions since at least its initial import
into git in 2003. It seems unlikely that it will grow a custom memory
allocator. The functions now just add extra overhead. Replacing them
will make future Coccinelle patches simpler.

This patch has been generated by the following Coccinelle semantic
patch:

// Remove Xcalloc/Xmalloc/Xfree calls

@@ expression E1, E2; @@
- Xcalloc (E1, E2)
+ calloc (E1, E2)

@@ expression E; @@
- Xmalloc (E)
+ malloc (E)

@@ expression E; @@
- Xfree (E)
+ free (E)

@@ expression E; @@
- XFree (E)
+ free (E)

Reviewed-by: Brian Paul <brianp@vmware.com>
2012-09-05 22:28:49 -07:00
..
docs egl: Mark EGL_MESA_screen_surface as obsolete. 2010-08-31 15:25:22 +08:00
drivers Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
main egl: fix invalid flag detection for EGL_KHR_create_context 2012-08-27 15:11:11 -07:00
wayland wayland: Include wl_drm format enum in wayland-drm.h 2012-07-17 08:30:39 -04:00
.gitignore automake: Convert src/egl/Makefile to automake. 2012-06-21 09:58:12 -07:00
Makefile.am automake: Convert src/egl/Makefile to automake. 2012-06-21 09:58:12 -07:00