Support surfaceless context for OpenGL ES 2
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles / egl-graphics.cpp
index ebaaa5a..ace3e93 100644 (file)
@@ -38,6 +38,16 @@ EglGraphics::~EglGraphics()
 {
 }
 
+void EglGraphics::SetGlesVersion( const int32_t glesVersion )
+{
+  mEglImplementation->SetGlesVersion( glesVersion );
+  mGLES->SetGlesVersion( glesVersion );
+}
+
+void EglGraphics::SetIsSurfacelessContextSupported( const bool isSupported )
+{
+  mGLES->SetIsSurfacelessContextSupported( isSupported );
+}
 
 void EglGraphics::Initialize( EnvironmentOptions* environmentOptions )
 {