Home
last modified time | relevance | path

Searched refs:attribList (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/vk-gl-cts/framework/egl/
H A DegluGLUtil.cpp91 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 in createGLContext()
[all...]
H A DegluUtil.cpp48 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()
176 const vector<EGLint> attribList = attribMapToList(attribs); chooseConfigs() local
182 const vector<EGLint> attribList = attribMapToList(attribs); chooseSingleConfig() local
313 createWindowSurface(NativeDisplay& nativeDisplay, NativeWindow& window, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList) createWindowSurface() argument
371 createPixmapSurface(NativeDisplay& nativeDisplay, NativePixmap& pixmap, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList) createPixmapSurface() argument
[all...]
H A DegluGLContextFactory.cpp240 const EGLAttrib attribList[] = { EGL_NONE }; in createWindow() local
242 nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], WindowParams(width, height, visibility)); in createWindow()
246 surface = 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], width, height); in createPixmap()
269 surface = 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()
H A DegluNativePixmap.cpp74 NativePixmap* NativePixmapFactory::createPixmap (NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int height) const in createPixmap() argument
76 DE_UNREF(display && config && attribList); in createPixmap()
H A DegluNativeWindow.cpp100 NativeWindow* NativeWindowFactory::createWindow (NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const WindowParams& params) const in createWindow() argument
102 DE_UNREF(display && config && attribList); in createWindow()
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_context.c72 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[ in wglCreateContextAttribsARB()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A DDisplay.cpp236 bool Display::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig) in getConfigs() argument
238 return mConfigSet.getConfigs(configs, attribList, configSize, numConfig); in getConfigs()
290 EGLSurface Display::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, EGLClientBuffer clientBuffer) in createPBufferSurface() argument
352 if(attribList) in createPBufferSurface()
[all...]
H A DDisplay.h60 bool getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig);
63 EGLSurface createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLAttrib *attribList);
64 EGLSurface createPBufferSurface(EGLConfig config, const EGLint *attribList, EGLClientBuffer clientBuffer = nullptr);
H A DConfig.cpp245 explicit SortConfig(const EGLint *attribList);
259 SortConfig::SortConfig(const EGLint *attribList)
265 for(const EGLint *attr = attribList; attr[0] != EGL_NONE; attr += 2)
344 bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig)
355 const EGLint *attribute = attribList;
437 sort(passed.begin(), passed.end(), SortConfig(attribList));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
H A DFunctionsGLX.h57 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;
H A DFunctionsGLX.cpp363 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/win32/
H A DtcuWGL.cpp141 typedef HGLRC (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 in Context()
[all...]
/third_party/vk-gl-cts/framework/platform/lnx/wayland/
H A DtcuLnxWaylandEglDisplayFactory.cpp132 const eglw::EGLAttrib* attribList,
152 const eglw::EGLAttrib* attribList, in createWindow()
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()
149 createWindow(NativeDisplay* nativeDisplay, eglw::EGLDisplay eglDisplay, eglw::EGLConfig config, const eglw::EGLAttrib* attribList, const WindowParams& params) const createWindow() argument
/third_party/vk-gl-cts/modules/egl/
H A DteglCreateContextExtTests.cpp80 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 eglu::FilterList& filter, const char* name, const char* description);
204 glu::ContextType attribListToContextType (EGLenum api, const EGLint* attribList) in attribListToContextType() argument
210 const EGLint* iter = attribList; in attribListToContextType()
274 CreateContextExtCase::CreateContextExtCase (EglTestContext& eglTestCtx, EGLenum api, const EGLint* attribList, const eglu::FilterList& filter, const char* name, const char* description) in CreateContextExtCase() argument
279 , m_attribList (attribList, attribList + getAttribListLength(attribList)) in CreateContextExtCase()
282 , m_glContextType (attribListToContextType(api, attribList)) in CreateContextExtCase()
900 const EGLint attribList[] = iterate() local
1000 CreateContextExtGroup(EglTestContext& eglTestCtx, EGLenum api, EGLint apiBit, const EGLint* attribList, const char* name, const char* description) CreateContextExtGroup() argument
1118 EGLint attribList[maxAttributeCount]; init() member
[all...]
H A DteglRobustnessTests.cpp146 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()
489 , m_attribList (attribList) in RenderingContext()
1137 const EGLint attribList[] = in iterate() local
1145 checkRequiredEGLExtensions(attribList); in iterate()
483 RenderingContext(const EglTestContext& eglTestCtx, const EGLint* attribList, const EGLConfig& config, const EGLDisplay& display, const EGLContext& sharedContext) RenderingContext() argument
1190 const EGLint attribList[] = iterate() local
1250 const EGLint attribList[] = iterate() local
1336 const EGLint attribList[] = iterate() local
1529 const EGLint attribList[] = iterate() local
1584 const EGLint attribList[] = iterate() local
[all...]
H A DteglThreadCleanUpTests.cpp99 const EGLint attribList[] = in run() local
109 const eglu::UniqueContext 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()
H A DteglMemoryStressTests.cpp202 const EGLint attribList[] = in allocatePBuffer() local
209 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); in allocatePBuffer()
266 const EGLint attribList[] = in allocateContext() local
273 EGLContext context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in allocateContext()
360 const EGLint attribList[] = in init() local
375 EGLU_CHECK_CALL(egl, chooseConfig(m_display, attribList, &m_config, 1, &configCount)); in init()
H A DteglWideColorTests.cpp383 const EGLint attribList[] = in check1010102Support() local
397 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in check1010102Support()
407 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs)); in check1010102Support()
434 const EGLint attribList[] = in checkFP16Support() local
447 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in checkFP16Support()
457 EGLBoolean success = egl.chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs); in checkFP16Support()
580 const EGLint* attribList,
619 WideColorSurfaceTest::WideColorSurfaceTest (EglTestContext& eglTestCtx, const char* name, const char* description, const EGLint* attribList, EGLint colorSpace, const std::vector<struct Iteration>& iterations) in WideColorSurfaceTest() argument
630 while (attribList[idx] != EGL_NONE) in WideColorSurfaceTest()
632 if (attribList[id in WideColorSurfaceTest()
1174 const EGLint attribList[] = doClearTest() local
[all...]
H A DteglChooseConfigTests.cpp167 vector<EGLint> attribList; in executeTest() local
170 attribList.push_back(i->first); in executeTest()
171 attribList.push_back(i->second); in executeTest()
173 attribList.push_back(EGL_NONE); in executeTest()
175 // Print attribList to log in executeTest()
186 EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], DE_NULL, 0, &numConfigs)); in executeTest()
190 EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], &resultConfigs[0], (EGLint)resultConfigs.size(), &numConfigs)); in executeTest()
/third_party/vk-gl-cts/framework/platform/android/
H A DtcuAndroidPlatform.cpp76 virtual eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const;
106 virtual eglu::NativeWindow* createWindow (eglu::NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::WindowParams& params) const;
161 eglu::NativeWindow* NativeWindowFactory::createWindow (eglu::NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::WindowParams& params) const 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/vk-gl-cts/framework/platform/lnx/X11/
H A DtcuLnxX11EglDisplayFactory.cpp184 const eglw::EGLAttrib* attribList,
204 const eglw::EGLAttrib* attribList, in createWindow()
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()
201 createWindow(NativeDisplay* nativeDisplay, eglw::EGLDisplay eglDisplay, eglw::EGLConfig config, const eglw::EGLAttrib* attribList, const WindowParams& params) const createWindow() argument
/third_party/mesa3d/src/gallium/frontends/osmesa/
H A Dosmesa.c584 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[ in OSMesaCreateContextAttribs()
[all...]
/third_party/vk-gl-cts/framework/platform/ohos/display/
H A DtcuOhosEglDisplayFactory.cpp52 NativeDisplay* OhosDisplayFactory::createDisplay (const eglw::EGLAttrib* attribList) const in createDisplay()
55 DE_UNREF(attribList); in createDisplay()
/third_party/mesa3d/include/GL/
H A Dglx.h183 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/skia/third_party/externals/angle2/src/tests/deqp_support/
H A DtcuANGLENativeDisplayFactory.cpp126 const eglw::EGLAttrib *attribList,
154 const eglw::EGLAttrib *attribList,
233 const eglw::EGLAttrib *attribList, in createPixmap()
276 const eglw::EGLAttrib *attribList, in createWindow()
460 const eglw::EGLAttrib *attribList) const in createDisplay()
462 DE_UNREF(attribList); in createDisplay()
230 createPixmap(eglu::NativeDisplay *nativeDisplay, eglw::EGLDisplay display, eglw::EGLConfig config, const eglw::EGLAttrib *attribList, int width, int height) const createPixmap() argument
273 createWindow(eglu::NativeDisplay *nativeDisplay, eglw::EGLDisplay display, eglw::EGLConfig config, const eglw::EGLAttrib *attribList, const eglu::WindowParams &params) const createWindow() argument

Completed in 20 milliseconds

1234