Index: ui/gl/gl_gl_api_implementation.h |
diff --git a/ui/gl/gl_gl_api_implementation.h b/ui/gl/gl_gl_api_implementation.h |
index 6e0f7f1daf7b03585eea33d429531ff33b2d88e9..22faccd689763a5563a635950fde3e3046fa06d1 100644 |
--- a/ui/gl/gl_gl_api_implementation.h |
+++ b/ui/gl/gl_gl_api_implementation.h |
@@ -7,6 +7,7 @@ |
#include "base/compiler_specific.h" |
#include "ui/gl/gl_bindings.h" |
+#include "ui/gl/gl_export.h" |
namespace gpu { |
namespace gles2 { |
@@ -117,6 +118,15 @@ private: |
std::string extensions_; |
}; |
+class GL_EXPORT ScopedSetGLToRealGLApi { |
+ public: |
+ ScopedSetGLToRealGLApi(); |
+ ~ScopedSetGLToRealGLApi(); |
+ |
+ private: |
+ GLApi* old_gl_api_; |
+}; |
+ |
} // namespace gfx |
#endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ |