Hi all,
A few fixes, all maint material considering we all agree on the idea.
Long story short, piglit explicitly feeds in a requested version in the
range 10-15 which waffle interprets as "I must use
{GLX,WGL}_ARB_create_context". Jose and Ilia managed to convince me that
this should really
Direct port of previous commit.
Cc: Jose Fonseca
Cc: Ilia Mirkin
Signed-off-by: Emil Velikov
---
src/waffle/wgl/wgl_config.c | 7 ---
src/waffle/wgl/wgl_context.c | 12 +++-
src/waffle/wgl/wgl_context.h | 15
fwd_compat is already handled at the top of the function, while
version checks will become invalid with a later patch.
Signed-off-by: Emil Velikov
---
src/waffle/wgl/wgl_config.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/src/waffle/wgl/wgl_config.c
Signed-off-by: Emil Velikov
---
src/waffle/wgl/wgl_config.h | 2 +-
src/waffle/wgl/wgl_context.h | 2 +-
src/waffle/wgl/wgl_display.h | 2 +-
src/waffle/wgl/wgl_platform.h | 2 +-
src/waffle/wgl/wgl_window.h | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
Signed-off-by: Emil Velikov
---
src/waffle/egl/wegl_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/waffle/egl/wegl_display.c b/src/waffle/egl/wegl_display.c
index 88fce7a..b3d0d88 100644
--- a/src/waffle/egl/wegl_display.c
+++
There is no specific reason why we cannot move the teardown function
prior to the setup one. Most (rest of) waffle does so already.
Signed-off-by: Emil Velikov
---
src/waffle/android/droid_surfaceflingerlink.cpp | 32 +++--
1 file changed, 14
Analogous to previous commit, minus the case where the setup (wrongly)
open-codes it.
Signed-off-by: Emil Velikov
---
src/waffle/android/droid_surfaceflingerlink.cpp | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git
If the C++ runtime fails to create the relevant object(s) an exception
will be raised, thus the NULL checks will never get hit.
While we're here replace the opencoded SurfaceComposerClient dtor with
the proper one.
Signed-off-by: Emil Velikov
---
Calling dl_can_open() to determine whether the API is supported is
confusing and somewhat incorrect.
Instead, determine the supported APIs based on the string provided by
eglQueryString(EGL_CLIENT_APIS) and cross that with the minimum EGL
requirement (for eglBindAPI) for each one.
Note: we're
As mentioned earlier with similar EGL commit - one should two to keep
the two separate.
Signed-off-by: Emil Velikov
---
src/waffle/glx/glx_config.c | 22 +-
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/src/waffle/glx/glx_config.c
The upper layer (api/core) already checks and bails out if the provided
value for context_api is invalid. Change the condition to an assert so
that we can catch it as (if) we extend the API and forget to update one
of the backends.
Signed-off-by: Emil Velikov
---
11 matches
Mail list logo