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

Unified Diff: src/gpu/gl/GrGLExtensions.cpp

Issue 1674823002: Replace GrGLInterface's function pointers with std::functions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase and address comment Created 4 years, 10 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
« include/gpu/gl/GrGLFunctions.h ('K') | « src/gpu/gl/GrGLCaps.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLExtensions.cpp
diff --git a/src/gpu/gl/GrGLExtensions.cpp b/src/gpu/gl/GrGLExtensions.cpp
index e51fa04ce839bc3e95e0abe11c3fd5063a6bf313..1ddc101cfcfa07fa087c86314d363540ca0e6e47 100644
--- a/src/gpu/gl/GrGLExtensions.cpp
+++ b/src/gpu/gl/GrGLExtensions.cpp
@@ -62,10 +62,10 @@ static void eat_space_sep_strings(SkTArray<SkString>* out, const char in[]) {
}
bool GrGLExtensions::init(GrGLStandard standard,
- GrGLGetStringProc getString,
- GrGLGetStringiProc getStringi,
- GrGLGetIntegervProc getIntegerv,
- GrEGLQueryStringProc queryString,
+ GrGLFunction<GrGLGetStringProc> getString,
+ GrGLFunction<GrGLGetStringiProc> getStringi,
+ GrGLFunction<GrGLGetIntegervProc> getIntegerv,
+ GrGLFunction<GrEGLQueryStringProc> queryString,
GrEGLDisplay eglDisplay) {
fInitialized = false;
fStrings->reset();
« include/gpu/gl/GrGLFunctions.h ('K') | « src/gpu/gl/GrGLCaps.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698