X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fgraphics%2Fgles%2Fgl-implementation.h;h=8c279f448ab39697dc0315fa28a3bf571d8663b1;hb=6f28222b808749415a16ba6f2130253faff5fecd;hp=9ccc0151bd3949ea0ffaa0ff4c8e6e1e923f3f59;hpb=007603858fb502e0ac77d7f7b501e51deaae7874;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/graphics/gles/gl-implementation.h b/dali/internal/graphics/gles/gl-implementation.h index 9ccc015..8c279f4 100644 --- a/dali/internal/graphics/gles/gl-implementation.h +++ b/dali/internal/graphics/gles/gl-implementation.h @@ -23,7 +23,6 @@ #include #include #include -#include // INTERNAL INCLUDES #include @@ -50,10 +49,7 @@ class GlImplementation : public Dali::Integration::GlAbstraction public: GlImplementation() : mGlesVersion( 30 ), - mIsSurfacelessContextSupported( false ), - mIsContextCreated( false ), - mContextCreatedWaitCondition(), - mMaxTextureSize( 0 ) + mIsSurfacelessContextSupported( false ) { mImpl.reset( new Gles3Implementation() ); } @@ -70,17 +66,6 @@ public: /* Do nothing in main implementation */ } - void ContextCreated() - { - glGetIntegerv( GL_MAX_TEXTURE_SIZE, &mMaxTextureSize ); - - if( !mIsContextCreated ) - { - mContextCreatedWaitCondition.Notify(); - } - mIsContextCreated = true; - } - void SetGlesVersion( const int32_t glesVersion ) { if( mGlesVersion != glesVersion ) @@ -118,15 +103,6 @@ public: return convert; } - int GetMaxTextureSize() - { - if( !mIsContextCreated ) - { - mContextCreatedWaitCondition.Wait(); - } - return mMaxTextureSize; - } - /* OpenGL ES 2.0 */ void ActiveTexture( GLenum texture ) @@ -1364,9 +1340,6 @@ public: private: int32_t mGlesVersion; bool mIsSurfacelessContextSupported; - bool mIsContextCreated; - ConditionalWait mContextCreatedWaitCondition; - GLint mMaxTextureSize; std::unique_ptr mImpl; };