OSDN Git Service

[Qt][Draw][GL] Reduce GPU usage a lot.Now needs OpenGL 3.0 or above.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 17 Jan 2016 12:44:22 +0000 (21:44 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 17 Jan 2016 12:44:22 +0000 (21:44 +0900)
commitc7627e060e78ab2fd77f338a0670fb07a5d7b7c4
tree1afaa4e0d29d4b505b8faae119a3a70c218d2a1a
parent9f3e1730a730d55730e2298897fd4b45c934fe9a
[Qt][Draw][GL] Reduce GPU usage a lot.Now needs OpenGL 3.0 or above.
[Qt][Draw][GL] Calculate brightness when uploading texture (or adjusting brightness), not rendering to screen.
source/src/qt/common/fragment_shader.glsl
source/src/qt/common/qrc/shaders.qrc
source/src/qt/common/qt_gldraw.cpp
source/src/qt/common/qt_gldraw.h
source/src/qt/common/qt_glevents.cpp
source/src/qt/common/qt_glutil.cpp
source/src/qt/common/tmp_fragment_shader.glsl [new file with mode: 0644]
source/src/qt/common/tmp_vertex_shader.glsl [new file with mode: 0644]