summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gl/gl_surface.h')
-rw-r--r--ui/gl/gl_surface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index a2483c4..5872ed0 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -6,6 +6,8 @@
#define UI_GL_GL_SURFACE_H_
#pragma once
+#include <string>
+
#include "base/memory/ref_counted.h"
#include "build/build_config.h"
#include "ui/gfx/native_widget_types.h"
@@ -58,6 +60,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
// The surface must be current.
virtual std::string GetExtensions();
+ bool HasExtension(const char* name);
+
// Returns the internal frame buffer object name if the surface is backed by
// FBO. Otherwise returns 0.
virtual unsigned int GetBackingFrameBufferObject();