[Mesa-dev] [PATCH v2] egl/android: Implement the eglSwapinterval for Android.

2018-01-18 Thread Zhongmin Wu
Implement the eglSwapinterval for Android platform to enable the async mode for some GFX benchmarks such as Daimler C217, CityBench. Signed-off-by: Zhongmin Wu --- src/egl/drivers/dri2/platform_android.c | 21 + 1 file changed, 21 insertions(+) diff --git a/src/egl/drivers

[Mesa-dev] [PATCH v1] egl/android: Implement the eglSwapinterval for Android.

2018-01-15 Thread Zhongmin Wu
Implement the eglSwapinterval for Android platform to enable the async mode for some GFX benchmarks. Signed-off-by: Zhongmin Wu --- src/egl/drivers/dri2/platform_android.c | 16 1 file changed, 16 insertions(+) diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl

[Mesa-dev] [egl/android: Implement the eglSwapinterval for Android] egl/android: Implement the eglSwapinterval for Android.

2018-01-02 Thread zhongmin . wu
From: Zhongmin Wu Implement the eglSwapinterval for Android platform to enable the async mode for some GFX benchmarks. Change-Id: I3576d8b92862719dae11c31e2adc2d77cb5a0b64 Signed-off-by: Zhongmin Wu --- src/egl/drivers/dri2/platform_android.c | 15 +++ 1 file changed, 15

[Mesa-dev] [egl/android: Implement the eglSwapinterval for Android] egl/android: Implement the eglSwapinterval for Android.

2018-01-02 Thread zhongmin . wu
From: Zhongmin Wu Implement the eglSwapinterval for Android platform to enable the async mode for some GFX benchmarks. Change-Id: I3576d8b92862719dae11c31e2adc2d77cb5a0b64 Signed-off-by: Zhongmin Wu --- src/egl/drivers/dri2/platform_android.c | 15 +++ 1 file changed, 15

[Mesa-dev] [PATCH 2/2] i965: Queue the buffer with a sync fence for Android OS v4.2

2017-07-24 Thread Zhongmin Wu
) make some changes of variable name. b) the patch is breaked into two patches. v4.2: a) Add a deinit interface for surface to clear the out fence Change-Id: Ided54d2e193cde73a6f0feb36ac1c0056e4958f2 Signed-off-by: Zhongmin Wu --- src/egl/drivers/dri2/egl_dri2.c | 51

[Mesa-dev] [EGL android: accquire fence implementation 2/2] i965: Queue the buffer with a sync fence for Android OS v4.1

2017-07-20 Thread Zhongmin Wu
) make some changes of variable name. b) the patch is breaked into two patches. Change-Id: Ided54d2e193cde73a6f0feb36ac1c0056e4958f2 Signed-off-by: Zhongmin Wu --- src/egl/drivers/dri2/egl_dri2.c | 45 +++ src/egl/drivers/dri2/egl_dri2.h |5

[Mesa-dev] [EGL android: accquire fence implementation 1/2] i965: Return the last fence if the batch buffer is empty and nothing to be flushed when _intel_batchbuffer_flush_fence.

2017-07-20 Thread Zhongmin Wu
Always save the last fence in the brw context when flushing buffer. If the buffer is nothing to be flushed, then return the last fence when asked for. Change-Id: Ic47035bcd1a27e402609afd9e2d1e3972548b97d Signed-off-by: Zhongmin Wu --- src/mesa/drivers/dri/i965/brw_context.c |5

[Mesa-dev] [EGL android: accquire fence implementation 1/2] i965: Return the last fence if the batch buffer is empty and nothing to be flushed when _intel_batchbuffer_flush_fence.

2017-07-20 Thread Zhongmin Wu
Always save the last fence in the brw context when flushing buffer. If the buffer is nothing to be flushed, then return the last fence when asked for. Change-Id: Ic47035bcd1a27e402609afd9e2d1e3972548b97d Signed-off-by: Zhongmin Wu --- src/mesa/drivers/dri/i965/brw_context.c |5

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v4)

2017-07-20 Thread Zhongmin Wu
: https://jira01.devtools.intel.com/browse/OAM-43936 Reported-On: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Reported-by: Li, Guangli Tested-by: Marathe, Yogesh --- src/egl/drivers/dri2/egl_dri2.c | 47 + src/egl/drivers

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3.1)

2017-07-18 Thread Zhongmin Wu
fd in the new vbtl interface on none Android platform Change-Id: Ic0773c19788d612a98d1402f5b5619dab64c1bc2 Tracked-On: https://jira01.devtools.intel.com/browse/OAM-43936 Reported-On: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Reported-by: Li, Guangli Tested-by

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3)

2017-07-18 Thread Zhongmin Wu
: Ic0773c19788d612a98d1402f5b5619dab64c1bc2 Tracked-On: https://jira01.devtools.intel.com/browse/OAM-43936 Reported-On: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Reported-by: Li, Guangli Tested-by: Marathe, Yogesh --- src/egl/drivers/dri2/egl_dri2.c

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v2)

2017-07-14 Thread Zhongmin Wu
sync fence is stored in drawable object rather than brw context. c) format clear. Change-Id: Ic0773c19788d612a98d1402f5b5619dab64c1bc2 Tracked-On: https://jira01.devtools.intel.com/browse/OAM-43936 Reported-On: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS

2017-07-09 Thread Zhongmin Wu
: https://jira01.devtools.intel.com/browse/OAM-43936 Reported-On: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Reported-by: Li, Guangli Tested-by: Marathe, Yogesh --- include/GL/internal/dri_interface.h |2 ++ src/egl/drivers/dri2/platform_android.c

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS

2017-07-07 Thread Zhongmin Wu
: https://jira01.devtools.intel.com/browse/OAM-43936 Reported-On: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Reported-by: Li, Guangli Tested-by: Marathe, Yogesh --- include/GL/internal/dri_interface.h |2 ++ src/egl/drivers/dri2/platform_android.c