diff options
author | Lauren Post <lauren.post@freescale.com> | 2015-07-24 10:40:49 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:16 -0300 |
commit | d86ab85c30725d80db8982bd73314be6fb9aed68 (patch) | |
tree | c532ed7a11963b33004d70a059b7b80b1078c83f /recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch | |
parent | e11b8465478964a1a3eb2fc8e35e07b1eefa9623 (diff) | |
download | meta-freescale-d86ab85c30725d80db8982bd73314be6fb9aed68.tar.gz |
mesa-demos: Add Wayland and OpenVG support
Add patches to support both OpenVG and Wayland support.
Add configuration to enable in PACKAGECONFIG.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch')
-rw-r--r-- | recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch b/recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch new file mode 100644 index 00000000..180a9d84 --- /dev/null +++ b/recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 010af1952d935352764389636b7165283e6c9e3f Mon Sep 17 00:00:00 2001 | ||
2 | From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> | ||
3 | Date: Tue, 7 Apr 2015 17:58:45 -0500 | ||
4 | Subject: [PATCH] Additional eglSwapBuffer calling makes wrong throttling | ||
5 | |||
6 | Upstream Status: Pending | ||
7 | |||
8 | Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> | ||
9 | --- | ||
10 | src/egl/eglut/eglut_wayland.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/egl/eglut/eglut_wayland.c b/src/egl/eglut/eglut_wayland.c | ||
14 | index 968b33f..5664d35 100644 | ||
15 | --- a/src/egl/eglut/eglut_wayland.c | ||
16 | +++ b/src/egl/eglut/eglut_wayland.c | ||
17 | @@ -155,7 +155,7 @@ draw(void *data, struct wl_callback *callback, uint32_t time) | ||
18 | |||
19 | if (win->display_cb) | ||
20 | win->display_cb(); | ||
21 | - eglSwapBuffers(_eglut->dpy, win->surface); | ||
22 | + /*eglSwapBuffers(_eglut->dpy, win->surface);*/ | ||
23 | |||
24 | if (callback) | ||
25 | wl_callback_destroy(callback); | ||
26 | -- | ||
27 | 2.3.5 | ||
28 | |||