| Index: ui/gl/gl_context.h
|
| diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
|
| index 66a763167ba67ca2e505a100b4b863aa0b94b04c..f40b1bba78647ab9ef7090ffa420e4c5ba1b739c 100644
|
| --- a/ui/gl/gl_context.h
|
| +++ b/ui/gl/gl_context.h
|
| @@ -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>;
|
|
|
|
|