egl/drm: rename dri2_drm_create_surface()
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 4 Aug 2017 23:25:53 +0000 (00:25 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 10 Aug 2017 18:34:04 +0000 (19:34 +0100)
commita51be4f9a6561b5a97513ddc50f235c8126d3cf2
treee26ca6ff69c5fe279b2cd363f029253b0824dfa5
parent430a80a7b6cb05525cdf8c20be5aede6d717ec45
egl/drm: rename dri2_drm_create_surface()

The function can handle only window surfaces, so let's rename it
accordingly, killing the wrapper around it.

v2: Use native_window in the function args. list.

Suggested-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/platform_drm.c