Current implementation of eglCreateWindowSurface() is against to the EGL
specification, because it allows creating multiple surfaces per single window.
---
src/egl/main/eglapi.c | 109 +-
1 file changed, 107 insertions(+), 2 deletions(-)
diff --g
I've found that EGLSurface width and height are not updated after window
resizing on x11.
Here is the patch for this issue.
---
src/egl/drivers/dri2/platform_x11.c | 16
1 file changed, 16 insertions(+)
diff --git a/src/egl/drivers/dri2/platform_x11.c
b/src/egl/drivers/dri2/pl
This is fix for not setting EGL_BAD_MATCH when calling eglCreatePbufferSurface
with invalid setting of EGL_TEXTURE_FORMAT and EGL_TEXTURE_TARGET.
According to EGL spec the following combination should generate EGL_BAD_MATCH:
EGL_TEXTURE_FORMAT == EGL_NO_TEXTURE and EGL_TEXTURE_TARGET != EGL_NO_