Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Unified Diff: ui/gl/gl_context.h

Issue 139013008: Implement support for rendering to 32-bit float textures on ES3 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make TexSubImage validation agree with TexImage validation Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>;

Powered by Google App Engine
This is Rietveld 408576698