summaryrefslogtreecommitdiffstats
path: root/bsp/meta-freescale/recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch
blob: 180a9d84e6efb70c713c253902f6637e20e7f36b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 010af1952d935352764389636b7165283e6c9e3f Mon Sep 17 00:00:00 2001
From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Date: Tue, 7 Apr 2015 17:58:45 -0500
Subject: [PATCH] Additional eglSwapBuffer calling makes wrong throttling

Upstream Status: Pending

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
---
 src/egl/eglut/eglut_wayland.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egl/eglut/eglut_wayland.c b/src/egl/eglut/eglut_wayland.c
index 968b33f..5664d35 100644
--- a/src/egl/eglut/eglut_wayland.c
+++ b/src/egl/eglut/eglut_wayland.c
@@ -155,7 +155,7 @@ draw(void *data, struct wl_callback *callback, uint32_t time)
 
    if (win->display_cb)
       win->display_cb();
-   eglSwapBuffers(_eglut->dpy, win->surface);
+   /*eglSwapBuffers(_eglut->dpy, win->surface);*/
 
    if (callback)
       wl_callback_destroy(callback);
-- 
2.3.5