mesa/src/egl/drivers/dri2
Emil Velikov 9365ff4b88 egl: move eglCreateDRMImageMESA's malloc later
Don't bother allocating any memory until we're finished parsing and
sanitising all the attributes.

As a nice side effect we now consistently set eglError when any of
the attrib/values are not correct.

Strangely enough the spec does not mention _anything_ about what error
should be set where, even if the implementation already sets the odd
one.

Cc: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-07-12 15:42:03 +01:00
..
egl_dri2.c egl: move eglCreateDRMImageMESA's malloc later 2017-07-12 15:42:03 +01:00
egl_dri2.h egl: simplify dri_config conditionals 2017-06-22 14:54:36 +01:00
egl_dri2_fallbacks.h egl: improve dri2_fallback_swap_buffers_with_damage() 2017-06-13 12:12:50 +01:00
platform_android.c egl: android: Fix potential use of unitialized variable 2017-07-05 18:49:22 +01:00
platform_drm.c egl: fold _eglError() + return EGL_FALSE 2017-06-26 12:41:00 +01:00
platform_surfaceless.c egl: Rename 'count' in ${platform}_add_configs_for_visuals (v2) 2017-06-22 12:35:49 -07:00
platform_wayland.c egl: fold _eglError() + return EGL_FALSE 2017-06-26 12:41:00 +01:00
platform_x11.c egl_dri2: swrastGetDrawableInfo: set *x, *y [v2] 2017-06-26 12:48:19 +01:00
platform_x11_dri3.c egl: drop _eglInitImage() return type 2017-06-26 12:40:22 +01:00
platform_x11_dri3.h