Lines Matching refs:glw
61 const glw::Functions& gl; //!< GL 4.3 core context functions.
182 static GLW_APICALL const glw::GLubyte* GLW_APIENTRY getString (deUint32 name) in getString()
190 case GL_VENDOR: return (const glw::GLubyte*)context->vendor.c_str(); in getString()
191 case GL_VERSION: return (const glw::GLubyte*)context->version.c_str(); in getString()
192 case GL_RENDERER: return (const glw::GLubyte*)context->renderer.c_str(); in getString()
193 …case GL_SHADING_LANGUAGE_VERSION: return (const glw::GLubyte*)context->shadingLanguageVersion.c_st… in getString()
194 case GL_EXTENSIONS: return (const glw::GLubyte*)context->extensions.c_str(); in getString()
202 static GLW_APICALL const glw::GLubyte* GLW_APIENTRY getStringi (deUint32 name, deUint32 index) in getStringi()
211 return (const glw::GLubyte*)context->extensionList[index].c_str(); in getStringi()
503 static void initFunctions (glw::Functions* dst, const glw::Functions& src) in initFunctions()
524 class ExtFuncLoader : public glw::FunctionLoader in initFunctions()
527 ExtFuncLoader (const map<string, glw::GenericFuncType>& extFuncs) in initFunctions()
532 glw::GenericFuncType get (const char* name) const in initFunctions()
534 map<string, glw::GenericFuncType>::const_iterator pos = m_extFuncs.find(name); in initFunctions()
539 const map<string, glw::GenericFuncType>& m_extFuncs; in initFunctions()
542 map<string, glw::GenericFuncType> extFuncMap; in initFunctions()
546 extFuncMap["glMinSampleShadingOES"] = (glw::GenericFuncType)src.minSampleShading; in initFunctions()
549 extFuncMap["glTexStorage3DMultisampleOES"] = (glw::GenericFuncType)src.texStorage3DMultisample; in initFunctions()
552 extFuncMap["glBlendBarrierKHR"] = (glw::GenericFuncType)blendBarrierKHR; in initFunctions()
555 extFuncMap["glPatchParameteriEXT"] = (glw::GenericFuncType)src.patchParameteri; in initFunctions()
558 extFuncMap["glFramebufferTextureEXT"] = (glw::GenericFuncType)src.framebufferTexture; in initFunctions()
561 extFuncMap["glDebugMessageControlKHR"] = (glw::GenericFuncType)src.debugMessageControl; in initFunctions()
562 extFuncMap["glDebugMessageInsertKHR"] = (glw::GenericFuncType)src.debugMessageInsert; in initFunctions()
563 extFuncMap["glDebugMessageCallbackKHR"] = (glw::GenericFuncType)src.debugMessageCallback; in initFunctions()
564 extFuncMap["glGetDebugMessageLogKHR"] = (glw::GenericFuncType)src.getDebugMessageLog; in initFunctions()
565 extFuncMap["glGetPointervKHR"] = (glw::GenericFuncType)src.getPointerv; in initFunctions()
566 extFuncMap["glPushDebugGroupKHR"] = (glw::GenericFuncType)src.pushDebugGroup; in initFunctions()
567 extFuncMap["glPopDebugGroupKHR"] = (glw::GenericFuncType)src.popDebugGroup; in initFunctions()
568 extFuncMap["glObjectLabelKHR"] = (glw::GenericFuncType)src.objectLabel; in initFunctions()
569 extFuncMap["glGetObjectLabelKHR"] = (glw::GenericFuncType)src.getObjectLabel; in initFunctions()
570 extFuncMap["glObjectPtrLabelKHR"] = (glw::GenericFuncType)src.objectPtrLabel; in initFunctions()
571 extFuncMap["glGetObjectPtrLabelKHR"] = (glw::GenericFuncType)src.getObjectPtrLabel; in initFunctions()
574 extFuncMap["glPrimitiveBoundingBoxEXT"] = (glw::GenericFuncType)dummyPrimitiveBoundingBox; in initFunctions()
577 extFuncMap["glTexParameterIivEXT"] = (glw::GenericFuncType)src.texParameterIiv; in initFunctions()
578 extFuncMap["glTexParameterIuivEXT"] = (glw::GenericFuncType)src.texParameterIuiv; in initFunctions()
579 extFuncMap["glGetTexParameterIivEXT"] = (glw::GenericFuncType)src.getTexParameterIiv; in initFunctions()
580 extFuncMap["glGetTexParameterIuivEXT"] = (glw::GenericFuncType)src.getTexParameterIuiv; in initFunctions()
581 extFuncMap["glSamplerParameterIivEXT"] = (glw::GenericFuncType)src.samplerParameterIiv; in initFunctions()
582 extFuncMap["glSamplerParameterIuivEXT"] = (glw::GenericFuncType)src.samplerParameterIuiv; in initFunctions()
583 extFuncMap["glGetSamplerParameterIivEXT"] = (glw::GenericFuncType)src.getSamplerParameterIiv; in initFunctions()
584 extFuncMap["glGetSamplerParameterIuivEXT"] = (glw::GenericFuncType)src.getSamplerParameterIuiv; in initFunctions()
587 extFuncMap["glTexBufferEXT"] = (glw::GenericFuncType)src.texBuffer; in initFunctions()
588 extFuncMap["glTexBufferRangeEXT"] = (glw::GenericFuncType)src.texBufferRange; in initFunctions()
591 extFuncMap["glEnableiEXT"] = (glw::GenericFuncType)src.enablei; in initFunctions()
592 extFuncMap["glDisableiEXT"] = (glw::GenericFuncType)src.disablei; in initFunctions()
593 extFuncMap["glBlendEquationiEXT"] = (glw::GenericFuncType)src.blendEquationi; in initFunctions()
594 extFuncMap["glBlendEquationSeparateiEXT"] = (glw::GenericFuncType)src.blendEquationSeparatei; in initFunctions()
595 extFuncMap["glBlendFunciEXT"] = (glw::GenericFuncType)src.blendFunci; in initFunctions()
596 extFuncMap["glBlendFuncSeparateiEXT"] = (glw::GenericFuncType)src.blendFuncSeparatei; in initFunctions()
597 extFuncMap["glColorMaskiEXT"] = (glw::GenericFuncType)src.colorMaski; in initFunctions()
598 extFuncMap["glIsEnablediEXT"] = (glw::GenericFuncType)src.isEnabledi; in initFunctions()
611 glw::initExtensionsES(dst, &extFuncLoader, (int)extStr.size(), &extStr[0]); in initFunctions()