aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-benchmark/glmark2
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22rcar-gen3: glmark2: Fix glmark2 build failureKhang Nguyen2-0/+51
glmark2 fails to build in YP v2.4 environment with the following error: | Checking for 'libpng12' : not found | Checking for 'libpng15' : not found | Checking for 'gbm' : not found This commit modifies recipe to fix this issue. It also applies a patch to avoid the following error: | ../src/gl-state-egl.cpp: In member function 'bool GLStateEGL::gotValidDisplay()': | ../src/gl-state-egl.cpp:420:41: error: 'EGL_PLATFORM_GBM_KHR' was not declared in this scope | #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR | ^ | ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM' | GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ../src/gl-state-egl.cpp:420:41: note: suggested alternative: 'EGL_PLATFORM_GBM_MESA' | #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR | ^ | ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM' | GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>