/third_party/vk-gl-cts/framework/egl/ |
D | egluGLUtil.cpp | 91 vector<EGLint> attribList; in createGLContext() local 99 attribList.push_back(EGL_CONTEXT_CLIENT_VERSION); in createGLContext() 100 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 107 attribList.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createGLContext() 108 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 109 attribList.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createGLContext() 110 attribList.push_back(contextType.getMinorVersion()); in createGLContext() 122 attribList.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createGLContext() 123 attribList.push_back(contextType.getMajorVersion()); in createGLContext() 124 attribList.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createGLContext() [all …]
|
D | egluUtil.cpp | 48 vector<EGLint> attribList; in attribMapToList() local 52 attribList.push_back(it->first); in attribMapToList() 53 attribList.push_back(it->second); in attribMapToList() 56 attribList.push_back(EGL_NONE); in attribMapToList() 58 return attribList; in attribMapToList() 122 vector<EGLConfig> chooseConfigs (const Library& egl, EGLDisplay display, const EGLint* attribList) in chooseConfigs() argument 126 EGLU_CHECK_CALL(egl, chooseConfig(display, attribList, DE_NULL, 0, &numConfigs)); in chooseConfigs() 132 …EGLU_CHECK_CALL(egl, chooseConfig(display, attribList, &configs.front(), numConfigs, &numConfigs)); in chooseConfigs() 165 EGLConfig chooseSingleConfig (const Library& egl, EGLDisplay display, const EGLint* attribList) in chooseSingleConfig() argument 167 const vector<EGLConfig> configs (chooseConfigs(egl, display, attribList)); in chooseSingleConfig() [all …]
|
D | egluGLContextFactory.cpp | 240 const EGLAttrib attribList[] = { EGL_NONE }; in createWindow() local 242 …nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow() 246 …face = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribList); in createWindow() 263 const EGLAttrib attribList[] = { EGL_NONE }; in createPixmap() local 265 …nativePixmap = pixmapFactory->createPixmap(nativeDisplay, eglDisplay, eglConfig, &attribList[0], w… in createPixmap() 269 …face = eglu::createPixmapSurface(*nativeDisplay, *nativePixmap, eglDisplay, eglConfig, attribList); in createPixmap() 285 const EGLint attribList[] = in createPBuffer() local 292 surface = egl.createPbufferSurface(display, eglConfig, &(attribList[0])); in createPBuffer()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
D | Display.cpp | 236 bool Display::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *n… in getConfigs() argument 238 return mConfigSet.getConfigs(configs, attribList, configSize, numConfig); in getConfigs() 290 …lay::createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLAttrib *attribList) in createWindowSurface() argument 294 if(attribList) in createWindowSurface() 296 while(*attribList != EGL_NONE) in createWindowSurface() 298 switch(attribList[0]) in createWindowSurface() 301 switch(attribList[1]) in createWindowSurface() 319 attribList += 2; in createWindowSurface() 342 EGLSurface Display::createPBufferSurface(EGLConfig config, const EGLint *attribList, EGLClientBuffe… in createPBufferSurface() argument 352 if(attribList) in createPBufferSurface() [all …]
|
D | Display.h | 60 …bool getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig… 63 …ace createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLAttrib *attribList); 64 …EGLSurface createPBufferSurface(EGLConfig config, const EGLint *attribList, EGLClientBuffer client…
|
D | Config.cpp | 245 explicit SortConfig(const EGLint *attribList); 259 SortConfig::SortConfig(const EGLint *attribList) in SortConfig() argument 265 for(const EGLint *attr = attribList; attr[0] != EGL_NONE; attr += 2) in SortConfig() 344 bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint … in getConfigs() argument 355 const EGLint *attribute = attribList; in getConfigs() 437 sort(passed.begin(), passed.end(), SortConfig(attribList)); in getConfigs()
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_ext_context.c | 72 wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList) in wglCreateContextAttribsARB() argument 87 if (attribList) { in wglCreateContextAttribsARB() 88 for (i = 0; !done && attribList[i]; i++) { in wglCreateContextAttribsARB() 89 switch (attribList[i]) { in wglCreateContextAttribsARB() 91 majorVersion = attribList[++i]; in wglCreateContextAttribsARB() 94 minorVersion = attribList[++i]; in wglCreateContextAttribsARB() 97 layerPlane = attribList[++i]; in wglCreateContextAttribsARB() 100 contextFlags = attribList[++i]; in wglCreateContextAttribsARB() 103 profileMask = attribList[++i]; in wglCreateContextAttribsARB() 106 resetStrategy = attribList[++i]; in wglCreateContextAttribsARB()
|
/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWGL.cpp | 141 …RC (WINAPI* wglCreateContextAttribsARBFunc) (HDC hdc, HGLRC hshareContext, const int* attribList); 432 std::vector<int> attribList; in Context() local 461 attribList.push_back(WGL_CONTEXT_MAJOR_VERSION_ARB); in Context() 462 attribList.push_back(major); in Context() 463 attribList.push_back(WGL_CONTEXT_MINOR_VERSION_ARB); in Context() 464 attribList.push_back(minor); in Context() 465 attribList.push_back(WGL_CONTEXT_PROFILE_MASK_ARB); in Context() 466 attribList.push_back(profileBit); in Context() 491 attribList.push_back(WGL_CONTEXT_OPENGL_NO_ERROR_ARB); in Context() 492 attribList.push_back(1); in Context() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | FunctionsGLX.h | 57 glx::FBConfig *chooseFBConfig(const int *attribList, int *nElements) const; 60 glx::Window createWindow(glx::FBConfig config, Window window, const int *attribList) const; 62 glx::Pbuffer createPbuffer(glx::FBConfig config, const int *attribList) const; 65 glx::Pixmap createPixmap(glx::FBConfig config, Pixmap pixmap, const int *attribList) const; 72 const int *attribList) const; 88 void bindTexImageEXT(glx::Drawable drawable, int buffer, const int *attribList) const;
|
D | FunctionsGLX.cpp | 363 glx::FBConfig *FunctionsGLX::chooseFBConfig(const int *attribList, int *nElements) const in chooseFBConfig() argument 365 GLXFBConfig *configs = mFnPtrs->chooseFBConfigPtr(mXDisplay, mXScreen, attribList, nElements); in chooseFBConfig() 380 const int *attribList) const in createWindow() 383 return mFnPtrs->createWindowPtr(mXDisplay, cfg, window, attribList); in createWindow() 389 glx::Pbuffer FunctionsGLX::createPbuffer(glx::FBConfig config, const int *attribList) const in createPbuffer() 392 return mFnPtrs->createPbufferPtr(mXDisplay, cfg, attribList); in createPbuffer() 405 const int *attribList) const in createPixmap() 408 return mFnPtrs->createPixmapPtr(mXDisplay, cfg, pixmap, attribList); in createPixmap() 419 const int *attribList) const in createContextAttribsARB() 424 mFnPtrs->createContextAttribsARBPtr(mXDisplay, cfg, shareCtx, direct, attribList); in createContextAttribsARB() [all …]
|
/third_party/vk-gl-cts/framework/platform/lnx/wayland/ |
D | tcuLnxWaylandEglDisplayFactory.cpp | 132 const eglw::EGLAttrib* attribList, 152 const eglw::EGLAttrib* attribList, in createWindow() argument 157 DE_UNREF(attribList); in createWindow() 169 NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const; 185 NativeDisplay* DisplayFactory::createDisplay (const eglw::EGLAttrib* attribList) const in createDisplay() 187 DE_UNREF(attribList); in createDisplay()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglCreateContextExtTests.cpp | 80 size_t getAttribListLength (const EGLint* attribList) in getAttribListLength() argument 84 while (attribList[size] != EGL_NONE) in getAttribListLength() 178 …CreateContextExtCase (EglTestContext& eglTestCtx, EGLenum api, const EGLint* attribList, const egl… 204 glu::ContextType attribListToContextType (EGLenum api, const EGLint* attribList) in attribListToContextType() argument 210 const EGLint* iter = attribList; in attribListToContextType() 274 …ContextExtCase (EglTestContext& eglTestCtx, EGLenum api, const EGLint* attribList, const eglu::Fil… in CreateContextExtCase() argument 279 , m_attribList (attribList, attribList + getAttribListLength(attribList)) in CreateContextExtCase() 282 , m_glContextType (attribListToContextType(api, attribList)) in CreateContextExtCase() 896 const EGLint attribList[] = in iterate() local 902 …UniqueSurface surface (egl, m_display, egl.createPbufferSurface(m_display, config, attribList)); in iterate() [all …]
|
D | teglRobustnessTests.cpp | 146 void logAttribList (const EglTestContext& eglTestCtx, const EGLint* attribList) in logAttribList() argument 148 const EGLint* iter = &(attribList[0]); in logAttribList() 250 void checkRequiredEGLExtensions (const EGLint* attribList); 379 void RobustnessTestCase::checkRequiredEGLExtensions (const EGLint* attribList) in checkRequiredEGLExtensions() argument 385 const EGLint* iter = attribList; in checkRequiredEGLExtensions() 457 const EGLint* attribList, 484 const EGLint* attribList, in RenderingContext() argument 489 , m_attribList (attribList) in RenderingContext() 1137 const EGLint attribList[] = in iterate() local 1145 checkRequiredEGLExtensions(attribList); in iterate() [all …]
|
D | teglWideColorTests.cpp | 374 const EGLint attribList[] = in check1010102Support() local 388 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in check1010102Support() 398 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs)); in check1010102Support() 425 const EGLint attribList[] = in checkFP16Support() local 438 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in checkFP16Support() 448 EGLBoolean success = egl.chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs); in checkFP16Support() 571 const EGLint* attribList, 610 …& eglTestCtx, const char* name, const char* description, const EGLint* attribList, EGLint colorSpa… in WideColorSurfaceTest() argument 621 while (attribList[idx] != EGL_NONE) in WideColorSurfaceTest() 623 if (attribList[idx] == EGL_COLOR_COMPONENT_TYPE_EXT) in WideColorSurfaceTest() [all …]
|
D | teglThreadCleanUpTests.cpp | 99 const EGLint attribList[] = in run() local 109 …t context (m_egl, m_display, m_egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList)); in run() 201 const EGLint attribList[] = in init() local 209 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in init()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | FunctionsGLX.cpp | 335 glx::FBConfig *FunctionsGLX::chooseFBConfig(const int *attribList, int *nElements) const in chooseFBConfig() argument 337 GLXFBConfig *configs = mFnPtrs->chooseFBConfigPtr(mXDisplay, mXScreen, attribList, nElements); in chooseFBConfig() 352 const int *attribList) const in createWindow() 355 return mFnPtrs->createWindowPtr(mXDisplay, cfg, window, attribList); in createWindow() 361 glx::Pbuffer FunctionsGLX::createPbuffer(glx::FBConfig config, const int *attribList) const in createPbuffer() 364 return mFnPtrs->createPbufferPtr(mXDisplay, cfg, attribList); in createPbuffer() 379 const int *attribList) const in createContextAttribsARB() 384 mFnPtrs->createContextAttribsARBPtr(mXDisplay, cfg, shareCtx, direct, attribList); in createContextAttribsARB()
|
D | FunctionsGLX.h | 57 glx::FBConfig *chooseFBConfig(const int *attribList, int *nElements) const; 60 glx::Window createWindow(glx::FBConfig config, Window window, const int *attribList) const; 62 glx::Pbuffer createPbuffer(glx::FBConfig config, const int *attribList) const; 70 const int *attribList) const;
|
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
D | tcuLnxX11EglDisplayFactory.cpp | 184 const eglw::EGLAttrib* attribList, 204 const eglw::EGLAttrib* attribList, in createWindow() argument 207 DE_UNREF(attribList); in createWindow() 269 NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const; 286 NativeDisplay* DisplayFactory::createDisplay (const eglw::EGLAttrib* attribList) const in createDisplay() 288 DE_UNREF(attribList); in createDisplay()
|
/third_party/vk-gl-cts/framework/platform/android/ |
D | tcuAndroidPlatform.cpp | 76 virtual eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const; 106 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::Win… 161 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::Win… in createWindow() argument 164 DE_UNREF(nativeDisplay && attribList); in createWindow() 186 eglu::NativeDisplay* NativeDisplayFactory::createDisplay (const EGLAttrib* attribList) const in createDisplay() 188 DE_UNREF(attribList); in createDisplay()
|
/third_party/mesa3d/src/gallium/frontends/osmesa/ |
D | osmesa.c | 584 OSMesaCreateContextAttribs(const int *attribList, OSMesaContext sharelist) in OSMesaCreateContextAttribs() argument 603 for (i = 0; attribList[i]; i += 2) { in OSMesaCreateContextAttribs() 604 switch (attribList[i]) { in OSMesaCreateContextAttribs() 606 format = attribList[i+1]; in OSMesaCreateContextAttribs() 622 depthBits = attribList[i+1]; in OSMesaCreateContextAttribs() 627 stencilBits = attribList[i+1]; in OSMesaCreateContextAttribs() 632 accumBits = attribList[i+1]; in OSMesaCreateContextAttribs() 637 profile = attribList[i+1]; in OSMesaCreateContextAttribs() 643 version_major = attribList[i+1]; in OSMesaCreateContextAttribs() 648 version_minor = attribList[i+1]; in OSMesaCreateContextAttribs()
|
/third_party/mesa3d/include/GL/ |
D | glx.h | 183 int *attribList ); 238 const int *attribList, int *nitems ); 250 Window win, const int *attribList ); 255 Pixmap pixmap, const int *attribList ); 260 const int *attribList ); 361 extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList);
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 114 const eglw::EGLAttrib *attribList, 142 const eglw::EGLAttrib *attribList, 214 const eglw::EGLAttrib *attribList, in createPixmap() argument 264 const eglw::EGLAttrib *attribList, in createWindow() argument 372 const eglw::EGLAttrib *attribList) const in createDisplay() 374 DE_UNREF(attribList); in createDisplay()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/ |
D | GLX_SGIX_hyperpipe.txt | 177 void *attribList, void *returnAttribList); 181 void *attribList); 391 int timeSlice, int attrib, int size, void *attribList, 402 by <attribList> and <returnAttribList>. 404 <attribList> is a pointer to an array of requested values. The array 412 array pointed to by <attribList>). Values returned will be as close 413 as possible to those specified in <attribList>, subject to the 417 hyperpipe rectangle during <timeSlice> are queried. <attribList> 426 subrectangles during <timeSlice> are queried. <attribList> must 439 elements in <attribList> cannot be altered to satisfy the [all …]
|
/third_party/openGLES/extensions/SGIX/ |
D | GLX_SGIX_hyperpipe.txt | 177 void *attribList, void *returnAttribList); 181 void *attribList); 391 int timeSlice, int attrib, int size, void *attribList, 402 by <attribList> and <returnAttribList>. 404 <attribList> is a pointer to an array of requested values. The array 412 array pointed to by <attribList>). Values returned will be as close 413 as possible to those specified in <attribList>, subject to the 417 hyperpipe rectangle during <timeSlice> are queried. <attribList> 426 subrectangles during <timeSlice> are queried. <attribList> must 439 elements in <attribList> cannot be altered to satisfy the [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 126 const eglw::EGLAttrib *attribList, 154 const eglw::EGLAttrib *attribList, 233 const eglw::EGLAttrib *attribList, in createPixmap() argument 276 const eglw::EGLAttrib *attribList, in createWindow() argument 460 const eglw::EGLAttrib *attribList) const in createDisplay() 462 DE_UNREF(attribList); in createDisplay()
|