egl: add eglCreateImage (v2)
authorMarek Olšák <marek.olsak@amd.com>
Tue, 12 May 2015 18:42:05 +0000 (20:42 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 5 Jun 2015 17:44:33 +0000 (19:44 +0200)
commit515f04ed6fe0c914b2cd22c7ea65db6e34c362e3
tree83085ecba1de96411ce5122f99536a0efebfff2e
parent1e79e054e7dff0c45538fff1257e1f81a206d7c9
egl: add eglCreateImage (v2)

v2: - use calloc
    - return BAD_ALLOC if calloc fails

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/egl/main/eglapi.c