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

Unified Diff: ui/gl/gl_gl_api_implementation.h

Issue 2136223002: Introduce GLStubApi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 cb54c69f52336116563adabc511b0b5f2f178353..575a1b60cb6046c447db9ad609481b816d48b013 100644
--- a/ui/gl/gl_gl_api_implementation.h
+++ b/ui/gl/gl_gl_api_implementation.h
@@ -34,9 +34,11 @@ bool HasInitializedNullDrawGLBindingsGL();
bool SetNullDrawGLBindingsEnabledGL(bool enabled);
GL_EXPORT void ClearGLBindingsGL();
void SetGLToRealGLApi();
+void SetGLToStubGLApi();
void SetGLApi(GLApi* api);
void SetGLApiToNoContext();
GLApi* GetCurrentGLApi();
+GL_EXPORT void SetStubGLApi(GLApi* api);
const GLVersionInfo* GetGLVersionInfo();
class GL_EXPORT GLApiBase : public GLApi {

Powered by Google App Engine
This is Rietveld 408576698