Enable GLES 3.0 by default. 11/134111/3
authorVictor Cebollada <v.cebollada@samsung.com>
Wed, 14 Jun 2017 15:49:39 +0000 (16:49 +0100)
committerVictor Cebollada <v.cebollada@samsung.com>
Thu, 15 Jun 2017 10:13:48 +0000 (11:13 +0100)
Change-Id: I67230c3d07d1f2d7e8cab005ab9a5fcc0b327fcc
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
adaptors/common/gl/egl-image-extensions.cpp
adaptors/common/gl/gl-extensions.h
adaptors/tizen/gl/egl-image-extensions-tizen.cpp
build/tizen/adaptor-uv/configure.ac
build/tizen/adaptor/configure.ac
packaging/dali-adaptor.spec

index 154a521..cc00800 100644 (file)
@@ -22,8 +22,6 @@
 // EXTERNAL INCLUDES
 #if DALI_GLES_VERSION >= 30
 #include <GLES3/gl3.h>
-#include <GLES3/gl3ext.h>
-
 #else
 #include <GLES2/gl2.h>
 #endif // DALI_GLES_VERSION >= 30
index 569a266..2b2f6cc 100644 (file)
@@ -22,7 +22,6 @@
 
 #if DALI_GLES_VERSION >= 30
 #include <GLES3/gl3.h>
-#include <GLES3/gl3ext.h>
 #else
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>
index 57d0c08..24f5c82 100644 (file)
@@ -22,8 +22,6 @@
 // EXTERNAL INCLUDES
 #if DALI_GLES_VERSION >= 30
 #include <GLES3/gl3.h>
-#include <GLES3/gl3ext.h>
-
 #else
 #include <GLES2/gl2.h>
 #endif // DALI_GLES_VERSION >= 30
index e61fccf..ee46712 100644 (file)
@@ -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}"
 
index de27247..f7746dc 100644 (file)
@@ -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}"
 
index 80b693b..3788707 100644 (file)
@@ -288,8 +288,8 @@ FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION
 TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TIZEN_PLATFORM_CONFIG_SUPPORTED
 %endif
 
-# 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