gl4es updated, added latest changes by ptitSeb

This commit is contained in:
lubomyr
2016-11-29 23:31:07 +02:00
parent 9a1dbfc234
commit 72a4905ea4
23 changed files with 695 additions and 280 deletions

View File

@@ -11,6 +11,7 @@ link_directories(${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
option(PANDORA "Set to ON if targeting an OpenPandora device" ${PANDORA})
option(BCMHOST "Set to ON if targeting an RPi(2) device" ${BCMHOST})
option(ODROID "Set to ON if targeting an ODroid device" ${ODROID})
option(CHIP "Set to ON if targeting an C.H.I.P. device" ${CHIP})
option(USE_DRAWTEX "Set to ON to use the glDrawTexiOES extension" ${USE_DRAWTEX})
@@ -31,6 +32,11 @@ if(ODROID)
add_definitions(-DODROID)
endif()
if(CHIP)
add_definitions(-DCHIP)
add_definitions(-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=hard -ftree-vectorize -fsingle-precision-constant -ffast-math)
endif()
if(USE_DRAWTEX)
add_definitions(-DUSE_DRAWTEX)
endif()