projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
ui
/
gl
/
gl_context.h
diff --git
a/src/ui/gl/gl_context.h
b/src/ui/gl/gl_context.h
index
66a7631
..
f40b1bb
100644
(file)
--- 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<GLContext> {
// being released or destroyed.
void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
// 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();
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 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>;
private:
friend class base::RefCounted<GLContext>;