X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fgl%2Fgl_context.h;h=f40b1bba78647ab9ef7090ffa420e4c5ba1b739c;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=66a763167ba67ca2e505a100b4b863aa0b94b04c;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/gl/gl_context.h b/src/ui/gl/gl_context.h index 66a7631..f40b1bb 100644 --- a/src/ui/gl/gl_context.h +++ b/src/ui/gl/gl_context.h @@ -108,6 +108,12 @@ class GL_EXPORT GLContext : public base::RefCounted { // being released or destroyed. void OnReleaseVirtuallyCurrent(GLContext* virtual_context); + // Returns the GL version string. The context must be current. + virtual std::string GetGLVersion(); + + // Returns the GL renderer string. The context must be current. + virtual std::string GetGLRenderer(); + protected: virtual ~GLContext(); @@ -123,9 +129,6 @@ class GL_EXPORT GLContext : public base::RefCounted { // Returns the last real (non-virtual) GLContext made current. static GLContext* GetRealCurrent(); - // Returns the GL version string. The context must be current. - virtual std::string GetGLVersion(); - private: friend class base::RefCounted;