| 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 cfefb1384bcdd77a0a1fbbcfde4256acbde8695f..a5197fed774418c6f6cfe8d338828febd1dfd761 100644
|
| --- a/ui/gl/gl_gl_api_implementation.h
|
| +++ b/ui/gl/gl_gl_api_implementation.h
|
| @@ -36,7 +36,6 @@
|
| void SetGLToRealGLApi();
|
| void SetGLApi(GLApi* api);
|
| void SetGLApiToNoContext();
|
| -GLApi* GetCurrentGLApi();
|
| const GLVersionInfo* GetGLVersionInfo();
|
|
|
| class GL_EXPORT GLApiBase : public GLApi {
|
| @@ -140,6 +139,15 @@
|
| 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_
|
|
|