Add global variable NvOptimusEnablement for the NVidia GPU.
It can run with Release 302 driver or later.
Add global vatiable AmdPowerXpressRequestHighPerformance for the AMD GPU.
It can run with 13.35 driver or later.
Change-Id: Ia917d46dd466fbfa2260c8013dab6baa7ffbb803
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
#include <GL/gl.h>
#include <GL/wglext.h>
+__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
+__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
+
#define VIGS_WGL_WIN_CLASS "VIGSWinClass"
#define VIGS_WGL_GET_PROC(proc_type, proc_name, label) \