Lines Matching refs:glw
52 Context (const glw::Functions& gl_);
57 const glw::Functions& gl; //!< GL 4.3 core context functions.
72 Context::Context (const glw::Functions& gl_) in Context()
159 static GLW_APICALL const glw::GLubyte* GLW_APIENTRY getString (deUint32 name) in getString()
167 case GL_VENDOR: return (const glw::GLubyte*)context->vendor.c_str(); in getString()
168 case GL_VERSION: return (const glw::GLubyte*)context->version.c_str(); in getString()
169 case GL_RENDERER: return (const glw::GLubyte*)context->renderer.c_str(); in getString()
170 …case GL_SHADING_LANGUAGE_VERSION: return (const glw::GLubyte*)context->shadingLanguageVersion.c_st… in getString()
171 case GL_EXTENSIONS: return (const glw::GLubyte*)context->extensions.c_str(); in getString()
179 static GLW_APICALL const glw::GLubyte* GLW_APIENTRY getStringi (deUint32 name, deUint32 index) in getStringi()
188 return (const glw::GLubyte*)context->extensionList[index].c_str(); in getStringi()
414 static void initFunctions (glw::Functions* dst, const glw::Functions& src) in initFunctions()
435 class ExtFuncLoader : public glw::FunctionLoader in initFunctions()
438 ExtFuncLoader (const map<string, glw::GenericFuncType>& extFuncs) in initFunctions()
443 glw::GenericFuncType get (const char* name) const in initFunctions()
445 map<string, glw::GenericFuncType>::const_iterator pos = m_extFuncs.find(name); in initFunctions()
450 const map<string, glw::GenericFuncType>& m_extFuncs; in initFunctions()
453 map<string, glw::GenericFuncType> extFuncMap; in initFunctions()
457 extFuncMap["glMinSampleShadingOES"] = (glw::GenericFuncType)src.minSampleShading; in initFunctions()
460 extFuncMap["glTexStorage3DMultisampleOES"] = (glw::GenericFuncType)src.texStorage3DMultisample; in initFunctions()
463 extFuncMap["glBlendBarrierKHR"] = (glw::GenericFuncType)blendBarrierKHR; in initFunctions()
466 extFuncMap["glPatchParameteriEXT"] = (glw::GenericFuncType)src.patchParameteri; in initFunctions()
469 extFuncMap["glFramebufferTextureEXT"] = (glw::GenericFuncType)src.framebufferTexture; in initFunctions()
472 extFuncMap["glDebugMessageControlKHR"] = (glw::GenericFuncType)src.debugMessageControl; in initFunctions()
473 extFuncMap["glDebugMessageInsertKHR"] = (glw::GenericFuncType)src.debugMessageInsert; in initFunctions()
474 extFuncMap["glDebugMessageCallbackKHR"] = (glw::GenericFuncType)src.debugMessageCallback; in initFunctions()
475 extFuncMap["glGetDebugMessageLogKHR"] = (glw::GenericFuncType)src.getDebugMessageLog; in initFunctions()
476 extFuncMap["glGetPointervKHR"] = (glw::GenericFuncType)src.getPointerv; in initFunctions()
477 extFuncMap["glPushDebugGroupKHR"] = (glw::GenericFuncType)src.pushDebugGroup; in initFunctions()
478 extFuncMap["glPopDebugGroupKHR"] = (glw::GenericFuncType)src.popDebugGroup; in initFunctions()
479 extFuncMap["glObjectLabelKHR"] = (glw::GenericFuncType)src.objectLabel; in initFunctions()
480 extFuncMap["glGetObjectLabelKHR"] = (glw::GenericFuncType)src.getObjectLabel; in initFunctions()
481 extFuncMap["glObjectPtrLabelKHR"] = (glw::GenericFuncType)src.objectPtrLabel; in initFunctions()
482 extFuncMap["glGetObjectPtrLabelKHR"] = (glw::GenericFuncType)src.getObjectPtrLabel; in initFunctions()
495 glw::initExtensionsES(dst, &extFuncLoader, (int)extStr.size(), &extStr[0]); in initFunctions()