commit | 73055ae1c9f481e439ae2c91bd23652d91b4b42a | [log] [tgz] |
---|---|---|
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | Wed May 01 16:26:47 2019 -0700 |
committer | Eric Engestrom <eric@engestrom.ch> | Tue May 14 12:41:14 2019 +0000 |
tree | 1972d2249132923f73c0ce5659b430b2a8863bcc | |
parent | 04ecda3b3c85b5a3a52f4fa1a3e0f88c17231408 [diff] |
egl: check if a window/pixmap is already used on surface creation The spec says we can't create another surface if we already created a surface with the given window or pixmap. Implement this check. This behavior is exercised by piglit/egl-create-surface. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>