Home
last modified time | relevance | path

Searched refs:extensionString (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLUtil.cpp152 bool GrGLHasExtensionFromString(const char* ext, const char* extensionString) { in GrGLHasExtensionFromString() argument
156 int n = strcspn(extensionString, " "); in GrGLHasExtensionFromString()
157 if (n == extLength && 0 == strncmp(ext, extensionString, n)) { in GrGLHasExtensionFromString()
160 if (0 == extensionString[n]) { in GrGLHasExtensionFromString()
163 extensionString += n+1; in GrGLHasExtensionFromString()
DGrGLUtil.h71 bool GrGLHasExtensionFromString(const char* ext, const char* extensionString);
/external/skia/src/utils/win/
DSkWGL_win.cpp21 const char* extensionString = this->getExtensionsString(dc); in hasExtension() local
25 int n = strcspn(extensionString, " "); in hasExtension()
26 if (n == extLength && 0 == strncmp(ext, extensionString, n)) { in hasExtension()
29 if (0 == extensionString[n]) { in hasExtension()
32 extensionString += n+1; in hasExtension()