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

Unified Diff: ui/gl/gl_gl_api_implementation.h

Issue 516643002: Fix assorted issues with remote CoreAnimation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean_up_accel_layers
Patch Set: Incorporate review feedback Created 6 years, 4 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_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_

Powered by Google App Engine
This is Rietveld 408576698