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

Unified Diff: include/gpu/gl/GrGLInterface.h

Issue 1836013002: Remove the GrGLInterface callback mechanism. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « include/gpu/gl/GrGLConfig_chrome.h ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/GrGLInterface.h
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h
index 1e2ac8f85b12ed06ffc178d97411593dd58fc53b..cbf9b1a59fc9917c003aa89bd137d9463cf4b0a4 100644
--- a/include/gpu/gl/GrGLInterface.h
+++ b/include/gpu/gl/GrGLInterface.h
@@ -76,11 +76,6 @@ const SK_API GrGLInterface* GrGLCreateNullInterface();
*/
const GrGLInterface* GrGLCreateDebugInterface();
-#if GR_GL_PER_GL_FUNC_CALLBACK
-typedef void (*GrGLInterfaceCallbackProc)(const GrGLInterface*);
-typedef intptr_t GrGLInterfaceCallbackData;
-#endif
-
/** Function that returns a new interface identical to "interface" but without support for
GL_NV_path_rendering. */
const GrGLInterface* GrGLInterfaceRemoveNVPR(const GrGLInterface*);
@@ -492,12 +487,6 @@ public:
GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage;
} fFunctions;
- // Per-GL func callback
-#if GR_GL_PER_GL_FUNC_CALLBACK
- GrGLInterfaceCallbackProc fCallback;
- GrGLInterfaceCallbackData fCallbackData;
-#endif
-
// This exists for internal testing.
virtual void abandon() const {}
};
« no previous file with comments | « include/gpu/gl/GrGLConfig_chrome.h ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698