display: fix blinking display issue with OpenGL 2.1
authorJinhyung Jo <jinhyung.jo@samsung.com>
Wed, 9 Nov 2016 06:52:27 +0000 (15:52 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 2 Dec 2016 08:31:25 +0000 (17:31 +0900)
commitf6f9dabab4a3b1d2e19bd7fde47de8dafc131b46
tree7dda6ec270ff1b4c02e98ead2bad9530d87a63a2
parent9bd89b92f93eb1726e4bfc1bfafb278c2682ff06
display: fix blinking display issue with OpenGL 2.1

Use the texture arrays to avoid collisions.

The glBufferSubData function makes the display blink
with OpenGL verion 2.1 have no glMapBufferRange support.
The glMapBuffer function helps to solve this problem.

Use the Qt5 class API(QOpenGLShaderProgram) instead of the OpenGL API.
That's a little clearer and better to watch.

Use multiple buffering to avoid performance degration.

Change-Id: I819a52f7e0db5accded86b71c8a15fa1a9e65e28
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
hw/vigs/vigs_gl_backend.c
hw/vigs/vigs_gl_backend.h
hw/vigs/vigs_qt5.cpp
hw/vigs/vigs_qt5.h
hw/yagl/yagl_apis/gles/yagl_host_gles_calls.c
tizen/src/ui/displayglwidget.cpp
tizen/src/ui/displayglwidget.h
tizen/src/ui/mainwindow.cpp
tizen/src/ui/mainwindow.h
tizen/src/ui/qt5_supplement.cpp