On 27/03/15 23:28, Emil Velikov wrote:
C11 does not specify a static initializer, based on the idea that the
a mutex will be platform and/or implementation dependent. As such the
alternative solution is to initialize the mutex with call_once/mtx_init.
This will allow us to remove the transition
Signed-off-by: Frank Henigman fjhenig...@google.com
---
src/utils/wflinfo.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/utils/wflinfo.c b/src/utils/wflinfo.c
index 268d4b8..0a58aab 100644
--- a/src/utils/wflinfo.c
+++ b/src/utils/wflinfo.c
@@ -62,7 +62,7 @@ static
From: Frank Henigman fjhenig...@gmail.com
Store EGLImageCreateKHR and EGLImageDestroyKHR in the EGL platform struct.
Signed-off-by: Frank Henigman fjhenig...@google.com
---
src/waffle/egl/wegl_platform.c | 9 -
src/waffle/egl/wegl_platform.h | 4
2 files changed, 12 insertions(+),
From: Frank Henigman fjhenig...@gmail.com
wgbm_config_get_gbm_format() does not need to cast the display all the
way to wgbm_display; wegl_display is far enough.
Now wgbm_config_get_gbm_format() can be used outside of the gbm platform.
Signed-off-by: Frank Henigman fjhenig...@google.com
---
Factor out init and teardown functions from create and destroy
so a derived class can use them on its embedded wegl_context object.
Signed-off-by: Frank Henigman fjhenig...@google.com
---
src/waffle/egl/wegl_context.c | 79 +++
Retrieve additional gbm functions.
Change some functions from private to public.
Factor init and teardown out of create and destroy respectively,
so a derived class can used them on its embedded platform object.
Signed-off-by: Frank Henigman fjhenig...@google.com
---
Signed-off-by: Frank Henigman fjhenig...@google.com
---
examples/gl_basic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/gl_basic.c b/examples/gl_basic.c
index 8f59d21..ab9c78c 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -243,6 +243,7 @@ static const struct
7 matches
Mail list logo