| Index: include/gpu/gl/GrGLExtensions.h
|
| diff --git a/include/gpu/gl/GrGLExtensions.h b/include/gpu/gl/GrGLExtensions.h
|
| index 96c5ed122270af38d9b675f6573bf7029b9a987e..cda0796d42dc37b33133452704ef2518ae6feec2 100644
|
| --- a/include/gpu/gl/GrGLExtensions.h
|
| +++ b/include/gpu/gl/GrGLExtensions.h
|
| @@ -17,7 +17,8 @@ struct GrGLInterface;
|
| /**
|
| * This helper queries the current GL context for its extensions, remembers them, and can be
|
| * queried. It supports both glGetString- and glGetStringi-style extension string APIs and will
|
| - * use the latter if it is available.
|
| + * use the latter if it is available. It also will query for EGL extensions if a eglQueryString
|
| + * implementation is provided.
|
| */
|
| class SK_API GrGLExtensions {
|
| public:
|
| @@ -40,7 +41,9 @@ public:
|
| bool init(GrGLStandard standard,
|
| GrGLGetStringProc getString,
|
| GrGLGetStringiProc getStringi,
|
| - GrGLGetIntegervProc getIntegerv);
|
| + GrGLGetIntegervProc getIntegerv,
|
| + GrEGLQueryStringProc queryString,
|
| + GrEGLDisplay eglDisplay);
|
|
|
| bool isInitialized() const { return fInitialized; }
|
|
|
|
|