Home
last modified time | relevance | path

Searched refs:profileMask (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_context.c78 int profileMask = WGL_CONTEXT_CORE_PROFILE_BIT_ARB; in wglCreateContextAttribsARB() local
103 profileMask = attribList[++i]; in wglCreateContextAttribsARB()
127 if (profileMask != WGL_CONTEXT_CORE_PROFILE_BIT_ARB && in wglCreateContextAttribsARB()
128 profileMask != WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB && in wglCreateContextAttribsARB()
129 profileMask != WGL_CONTEXT_ES_PROFILE_BIT_EXT) { in wglCreateContextAttribsARB()
137 (profileMask != WGL_CONTEXT_ES_PROFILE_BIT_EXT && in wglCreateContextAttribsARB()
143 (profileMask == WGL_CONTEXT_ES_PROFILE_BIT_EXT && in wglCreateContextAttribsARB()
215 contextFlags, profileMask, 0, in wglCreateContextAttribsARB()
Dstw_context.h55 int contextFlags, int profileMask,
Dstw_context.c169 int contextFlags, int profileMask, in stw_create_context_attribs() argument
234 switch (profileMask) { in stw_create_context_attribs()
/third_party/glslang/glslang/MachineIndependent/
DVersions.cpp729 void TParseVersions::requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc) in requireProfile() argument
731 if (! (profile & profileMask)) in requireProfile()
752 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int nu… in profileRequires() argument
755 if (profile & profileMask) { in profileRequires()
775 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const … in profileRequires() argument
778 profileRequires(loc, profileMask, minVersion, extension ? 1 : 0, &extension, featureDesc); in profileRequires()
790 void TParseVersions::checkDeprecated(const TSourceLoc& loc, int profileMask, int depVersion, const … in checkDeprecated() argument
792 if (profile & profileMask) { in checkDeprecated()
807 void TParseVersions::requireNotRemoved(const TSourceLoc& loc, int profileMask, int removedVersion, … in requireNotRemoved() argument
809 if (profile & profileMask) { in requireNotRemoved()
DparseVersions.h74 void requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc);
75 void profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int numExtensions,
77 …void profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const char* extension,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DDisplayGLX.cpp502 int profileMask = 0; in initializeContext() local
515 profileMask |= GLX_CONTEXT_ES2_PROFILE_BIT_EXT; in initializeContext()
526 if (!(profileMask & GLX_CONTEXT_ES2_PROFILE_BIT_EXT) && in initializeContext()
529 profileMask |= GLX_CONTEXT_CORE_PROFILE_BIT_ARB; in initializeContext()
531 return createContextAttribs(config, requestedVersion, profileMask, context); in initializeContext()
934 int profileMask, in createContextAttribs() argument
961 if (profileMask != 0 && mHasARBCreateContextProfile) in createContextAttribs()
964 mAttribs.push_back(profileMask); in createContextAttribs()
DDisplayGLX.h116 int profileMask,
/third_party/vk-gl-cts/modules/egl/
DteglCreateContextExtTests.cpp665 EGLint profileMask = -1; in validateCurrentContext() local
694 profileMask = (*iter); in validateCurrentContext()
778 if (profileMask != -1 || (m_api == EGL_OPENGL_API && (majorVersion >= 3))) in validateCurrentContext()
780 if (profileMask == -1) in validateCurrentContext()
781 profileMask = EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR; in validateCurrentContext()
796 if (profileMask != profileMaskGL) in validateCurrentContext()
798 …Invalid GL_CONTEXT_PROFILE_MASK. Expected '" << eglProfileMaskToString(profileMask) << "' got '" <… in validateCurrentContext()
/third_party/vk-gl-cts/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp336 int profileMask = 0; in createContext() local
342 profileMask = GLX_CONTEXT_ES2_PROFILE_BIT_EXT; in createContext()
345 profileMask = GLX_CONTEXT_CORE_PROFILE_BIT_ARB; in createContext()
348 profileMask = GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; in createContext()
359 attribs.push_back(profileMask); in createContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDisplayWGL.cpp785 int profileMask = 0; in initializeContextAttribs() local
789 profileMask |= WGL_CONTEXT_CORE_PROFILE_BIT_ARB; in initializeContextAttribs()
791 return createContextAttribs(requestedVersion, profileMask, sharedContext, useARBShare, in initializeContextAttribs()
821 int profileMask, in createContextAttribs() argument
842 if (profileMask != 0) in createContextAttribs()
845 attribs.push_back(profileMask); in createContextAttribs()
DDisplayWGL.h107 int profileMask,
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c1117 unsigned profileMask, unsigned contextFlags) in create_context() argument
1134 profileMask, contextFlags); in create_context()
2663 int profileMask = GLX_CONTEXT_CORE_PROFILE_BIT_ARB; in glXCreateContextAttribsARB() local
2684 profileMask = attrib_list[++i]; in glXCreateContextAttribsARB()
2707 if (profileMask != GLX_CONTEXT_CORE_PROFILE_BIT_ARB && in glXCreateContextAttribsARB()
2708 profileMask != GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB && in glXCreateContextAttribsARB()
2709 profileMask != GLX_CONTEXT_ES_PROFILE_BIT_EXT) { in glXCreateContextAttribsARB()
2724 (profileMask != GLX_CONTEXT_ES_PROFILE_BIT_EXT && in glXCreateContextAttribsARB()
2733 if (profileMask == GLX_CONTEXT_ES_PROFILE_BIT_EXT && in glXCreateContextAttribsARB()
2761 profileMask, contextFlags); in glXCreateContextAttribsARB()
Dxm_api.h148 GLuint profileMask,
Dxm_api.c941 GLuint profileMask, GLuint contextFlags) in XMesaCreateContext() argument
971 switch (profileMask) { in XMesaCreateContext()
/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp106 GrGLint profileMask; in init() local
107 GR_GL_GetIntegerv(gli, GR_GL_CONTEXT_PROFILE_MASK, &profileMask); in init()
108 fIsCoreProfile = SkToBool(profileMask & GR_GL_CONTEXT_CORE_PROFILE_BIT); in init()