From: Victor Cebollada Date: Wed, 14 Jun 2017 15:49:39 +0000 (+0100) Subject: [3.0] Enable GLES 3.0 by default. X-Git-Tag: accepted/tizen/3.0/common/20170714.174703~7 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=6cf2d49b47c78116e46558aa0b6a83617986a8bd [3.0] Enable GLES 3.0 by default. Change-Id: I67230c3d07d1f2d7e8cab005ab9a5fcc0b327fcc Signed-off-by: Victor Cebollada --- diff --git a/adaptors/common/gl/egl-image-extensions.cpp b/adaptors/common/gl/egl-image-extensions.cpp index b77bfa1..14ae6e2 100644 --- a/adaptors/common/gl/egl-image-extensions.cpp +++ b/adaptors/common/gl/egl-image-extensions.cpp @@ -22,8 +22,6 @@ // EXTERNAL INCLUDES #if DALI_GLES_VERSION >= 30 #include -#include - #else #include #endif // DALI_GLES_VERSION >= 30 diff --git a/adaptors/common/gl/gl-extensions.h b/adaptors/common/gl/gl-extensions.h index 569a266..2b2f6cc 100644 --- a/adaptors/common/gl/gl-extensions.h +++ b/adaptors/common/gl/gl-extensions.h @@ -22,7 +22,6 @@ #if DALI_GLES_VERSION >= 30 #include -#include #else #include #include diff --git a/adaptors/tizen/gl/egl-image-extensions-tizen.cpp b/adaptors/tizen/gl/egl-image-extensions-tizen.cpp index ad1edb6..5edef30 100644 --- a/adaptors/tizen/gl/egl-image-extensions-tizen.cpp +++ b/adaptors/tizen/gl/egl-image-extensions-tizen.cpp @@ -22,8 +22,6 @@ // EXTERNAL INCLUDES #if DALI_GLES_VERSION >= 30 #include -#include - #else #include #endif // DALI_GLES_VERSION >= 30 diff --git a/build/tizen/adaptor-uv/configure.ac b/build/tizen/adaptor-uv/configure.ac index 9dfe67b..5b97a3a 100644 --- a/build/tizen/adaptor-uv/configure.ac +++ b/build/tizen/adaptor-uv/configure.ac @@ -142,7 +142,7 @@ AC_ARG_ENABLE([gles], [AC_HELP_STRING([--enable-gles], [Specify the OpenGL ES version for backwards compatibility])], [enable_gles=$enableval], - [enable_gles=20]) + [enable_gles=30]) DALI_ADAPTOR_CFLAGS="$DALI_ADAPTOR_CFLAGS -DDALI_GLES_VERSION=${enable_gles}" diff --git a/build/tizen/adaptor/configure.ac b/build/tizen/adaptor/configure.ac index f0ff169..8ee2fc0 100644 --- a/build/tizen/adaptor/configure.ac +++ b/build/tizen/adaptor/configure.ac @@ -131,7 +131,7 @@ AC_ARG_ENABLE([gles], [AC_HELP_STRING([--enable-gles], [Specify the OpenGL ES version for backwards compatibility])], [enable_gles=$enableval], - [enable_gles=20]) + [enable_gles=30]) DALI_ADAPTOR_CFLAGS="$DALI_ADAPTOR_CFLAGS -DDALI_GLES_VERSION=${enable_gles}" diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index a73aff2..ca198d4 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -284,8 +284,8 @@ FONT_DOWNLOADED_PATH="%{font_downloaded_path}" ; export FONT_DOWNLOADED_PATH FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE -# Default to GLES 2.0 if not specified. -%{!?target_gles_version: %define target_gles_version 20} +# Default to GLES 3.0 if not specified. +%{!?target_gles_version: %define target_gles_version 30} #--enable-efl=no \ # only affects dali-adaptor-uv #--enable-appfw=yes \ # affects both dali-adaptor & dali-adaptor-uv