Home
last modified time | relevance | path

Searched refs:attribList (Results 1 – 25 of 64) sorted by relevance

123

/external/deqp/framework/egl/
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.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createGLContext()
[all …]
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()
[all …]
DegluGLContextFactory.cpp240 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()
DegluNativePixmap.cpp74 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int … in createPixmap() argument
76 DE_UNREF(display && config && attribList); in createPixmap()
DegluNativeWindow.cpp100 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const WindowPar… in createWindow() argument
102 DE_UNREF(display && config && attribList); in createWindow()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_context.c58 wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList) in wglCreateContextAttribsARB() argument
71 if (attribList) { in wglCreateContextAttribsARB()
72 for (i = 0; !done && attribList[i]; i++) { in wglCreateContextAttribsARB()
73 switch (attribList[i]) { in wglCreateContextAttribsARB()
75 majorVersion = attribList[++i]; in wglCreateContextAttribsARB()
78 minorVersion = attribList[++i]; in wglCreateContextAttribsARB()
81 layerPlane = attribList[++i]; in wglCreateContextAttribsARB()
84 contextFlags = attribList[++i]; in wglCreateContextAttribsARB()
87 profileMask = attribList[++i]; in wglCreateContextAttribsARB()
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp236 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()
289 …lay::createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLAttrib *attribList) in createWindowSurface() argument
293 if(attribList) in createWindowSurface()
295 while(*attribList != EGL_NONE) in createWindowSurface()
297 switch(attribList[0]) in createWindowSurface()
300 switch(attribList[1]) in createWindowSurface()
318 attribList += 2; in createWindowSurface()
341 EGLSurface Display::createPBufferSurface(EGLConfig config, const EGLint *attribList, EGLClientBuffe… in createPBufferSurface() argument
351 if(attribList) in createPBufferSurface()
[all …]
DDisplay.h59 …bool getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig…
62 …ace createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLAttrib *attribList);
63 …EGLSurface createPBufferSurface(EGLConfig config, const EGLint *attribList, EGLClientBuffer client…
DConfig.cpp243 explicit SortConfig(const EGLint *attribList);
257 SortConfig::SortConfig(const EGLint *attribList) in SortConfig() argument
263 for(const EGLint *attr = attribList; attr[0] != EGL_NONE; attr += 2) in SortConfig()
342 bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint … in getConfigs() argument
353 const EGLint *attribute = attribList; in getConfigs()
434 sort(passed.begin(), passed.end(), SortConfig(attribList)); in getConfigs()
/external/deqp/framework/platform/win32/
DtcuWGL.cpp136 …RC (WINAPI* wglCreateContextAttribsARBFunc) (HDC hdc, HGLRC hshareContext, const int* attribList);
413 std::vector<int> attribList; in Context() local
442 attribList.push_back(WGL_CONTEXT_MAJOR_VERSION_ARB); in Context()
443 attribList.push_back(major); in Context()
444 attribList.push_back(WGL_CONTEXT_MINOR_VERSION_ARB); in Context()
445 attribList.push_back(minor); in Context()
446 attribList.push_back(WGL_CONTEXT_PROFILE_MASK_ARB); in Context()
447 attribList.push_back(profileBit); in Context()
472 attribList.push_back(WGL_CONTEXT_OPENGL_NO_ERROR_ARB); in Context()
473 attribList.push_back(1); in Context()
[all …]
DtcuWin32EGLNativeDisplayFactory.cpp90 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int …
191 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int … in createPixmap() argument
395 eglu::NativeDisplay* EGLNativeDisplayFactory::createDisplay (const EGLAttrib* attribList) const in createDisplay()
397 DE_UNREF(attribList); in createDisplay()
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWaylandEglDisplayFactory.cpp132 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()
/external/deqp/modules/egl/
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 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 …]
DteglRobustnessTests.cpp147 void logAttribList (const EglTestContext& eglTestCtx, const EGLint* attribList) in logAttribList() argument
149 const EGLint* iter = &(attribList[0]); in logAttribList()
256 void checkRequiredEGLExtensions (const EGLint* attribList);
396 void RobustnessTestCase::checkRequiredEGLExtensions (const EGLint* attribList) in checkRequiredEGLExtensions() argument
402 const EGLint* iter = attribList; in checkRequiredEGLExtensions()
474 const EGLint* attribList,
501 const EGLint* attribList, in RenderingContext() argument
506 , m_attribList (attribList) in RenderingContext()
1424 const EGLint attribList[] = in iterate() local
1432 checkRequiredEGLExtensions(attribList); in iterate()
[all …]
DteglWideColorTests.cpp373 const EGLint attribList[] = in check1010102Support() local
387 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in check1010102Support()
397 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs)); in check1010102Support()
424 const EGLint attribList[] = in checkFP16Support() local
437 EGLU_CHECK_CALL(egl, chooseConfig(m_eglDisplay, &attribList[0], DE_NULL, 0, &numConfigs)); in checkFP16Support()
447 EGLBoolean success = egl.chooseConfig(m_eglDisplay, &attribList[0], &config, 1, &numConfigs); in checkFP16Support()
570 const EGLint* attribList,
609 …& eglTestCtx, const char* name, const char* description, const EGLint* attribList, EGLint colorSpa… in WideColorSurfaceTest() argument
620 while (attribList[idx] != EGL_NONE) in WideColorSurfaceTest()
622 if (attribList[idx] == EGL_COLOR_COMPONENT_TYPE_EXT) in WideColorSurfaceTest()
[all …]
DteglThreadCleanUpTests.cpp99 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()
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()
DteglNegativePartialUpdateTests.cpp118 …& egl, EGLDisplay eglDisplay, EGLSurface eglSurface, EGLConfig eglConfig, const EGLint* attribList) in initAndMakeCurrentEGLContext() argument
123 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList); in initAndMakeCurrentEGLContext()
276 const EGLint attribList[] = in iterate() local
282 …face dummyPbuffer (egl, m_eglDisplay, egl.createPbufferSurface(m_eglDisplay, config, attribList)); in iterate()
500 const EGLint attribList[] = in iterate() local
506 …rface dummyPbuffer (egl, m_eglDisplay, egl.createPbufferSurface(m_eglDisplay, config, attribList)); in iterate()
DteglMakeCurrentPerfTests.cpp198 const EGLint attribList[] = { in chooseConfig() local
207 EGLU_CHECK_CALL(egl, chooseConfig(m_display, attribList, &m_config, 1, &configCount)); in chooseConfig()
259 const EGLint attribList[] = { in createPBuffer() local
265 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); in createPBuffer()
377 const EGLint attribList[] = { in createContexts() local
383 EGLContext context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in createContexts()
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11EglDisplayFactory.cpp184 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()
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp76 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()
/external/mesa3d/src/gallium/state_trackers/osmesa/
Dosmesa.c582 OSMesaCreateContextAttribs(const int *attribList, OSMesaContext sharelist) in OSMesaCreateContextAttribs() argument
601 for (i = 0; attribList[i]; i += 2) { in OSMesaCreateContextAttribs()
602 switch (attribList[i]) { in OSMesaCreateContextAttribs()
604 format = attribList[i+1]; in OSMesaCreateContextAttribs()
620 depthBits = attribList[i+1]; in OSMesaCreateContextAttribs()
625 stencilBits = attribList[i+1]; in OSMesaCreateContextAttribs()
630 accumBits = attribList[i+1]; in OSMesaCreateContextAttribs()
635 profile = attribList[i+1]; in OSMesaCreateContextAttribs()
641 version_major = attribList[i+1]; in OSMesaCreateContextAttribs()
646 version_minor = attribList[i+1]; in OSMesaCreateContextAttribs()
/external/mesa3d/include/GL/
Dglx.h188 int *attribList );
243 const int *attribList, int *nitems );
255 Window win, const int *attribList );
260 Pixmap pixmap, const int *attribList );
265 const int *attribList );
366 extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList);
/external/mesa3d/src/mesa/drivers/x11/
Dglxapi.h90 GLXFBConfig *(*ChooseFBConfig)(Display *dpy, int screen, const int *attribList, int *nitems);
92 GLXPbuffer (*CreatePbuffer)(Display *dpy, GLXFBConfig config, const int *attribList);
93 … GLXPixmap (*CreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList);
94 GLXWindow (*CreateWindow)(Display *dpy, GLXFBConfig config, Window win, const int *attribList);
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c675 OSMesaCreateContextAttribs(const int *attribList, OSMesaContext sharelist) in OSMesaCreateContextAttribs() argument
687 for (i = 0; attribList[i]; i += 2) { in OSMesaCreateContextAttribs()
688 switch (attribList[i]) { in OSMesaCreateContextAttribs()
690 format = attribList[i+1]; in OSMesaCreateContextAttribs()
706 depthBits = attribList[i+1]; in OSMesaCreateContextAttribs()
711 stencilBits = attribList[i+1]; in OSMesaCreateContextAttribs()
716 accumBits = attribList[i+1]; in OSMesaCreateContextAttribs()
721 profile = attribList[i+1]; in OSMesaCreateContextAttribs()
730 version_major = attribList[i+1]; in OSMesaCreateContextAttribs()
735 version_minor = attribList[i+1]; in OSMesaCreateContextAttribs()

123