Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / gl / gl_context.h
index 66a7631..f40b1bb 100644 (file)
@@ -108,6 +108,12 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
   // 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<GLContext> {
   // 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<GLContext>;