Home
last modified time | relevance | path

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

12

/external/deqp/framework/egl/
DegluGLUtil.cpp84 vector<EGLint> attribList; in createGLContext() local
92 attribList.push_back(EGL_CONTEXT_CLIENT_VERSION); in createGLContext()
93 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
100 attribList.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createGLContext()
101 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
102 attribList.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createGLContext()
103 attribList.push_back(contextType.getMinorVersion()); in createGLContext()
115 attribList.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createGLContext()
116 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
117 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()
113 vector<EGLConfig> chooseConfigs (const Library& egl, EGLDisplay display, const EGLint* attribList) in chooseConfigs() argument
117 EGLU_CHECK_CALL(egl, chooseConfig(display, attribList, DE_NULL, 0, &numConfigs)); in chooseConfigs()
123 …EGLU_CHECK_CALL(egl, chooseConfig(display, attribList, &configs.front(), numConfigs, &numConfigs)); in chooseConfigs()
156 EGLConfig chooseSingleConfig (const Library& egl, EGLDisplay display, const EGLint* attribList) in chooseSingleConfig() argument
158 const vector<EGLConfig> configs (chooseConfigs(egl, display, attribList)); in chooseSingleConfig()
[all …]
DegluGLContextFactory.cpp230 const EGLAttrib attribList[] = { EGL_NONE }; in createWindow() local
232 …nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow()
236 …face = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribList); in createWindow()
253 const EGLAttrib attribList[] = { EGL_NONE }; in createPixmap() local
255 …nativePixmap = pixmapFactory->createPixmap(nativeDisplay, eglDisplay, eglConfig, &attribList[0], w… in createPixmap()
259 …face = eglu::createPixmapSurface(*nativeDisplay, *nativePixmap, eglDisplay, eglConfig, attribList); in createPixmap()
275 const EGLint attribList[] = in createPBuffer() local
282 surface = egl.createPbufferSurface(display, eglConfig, &(attribList[0])); in createPBuffer()
DegluNativePixmap.cpp68 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int … in createPixmap() argument
70 DE_UNREF(display && config && attribList); in createPixmap()
DegluNativeWindow.cpp94 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const WindowPar… in createWindow() argument
96 DE_UNREF(display && config && attribList); in createWindow()
DegluUtil.hpp80 …ndow& window, eglw::EGLDisplay display, eglw::EGLConfig config, const eglw::EGLAttrib* attribList);
81 …xmap& pixmap, eglw::EGLDisplay display, eglw::EGLConfig config, const eglw::EGLAttrib* attribList);
DegluNativeDisplay.hpp86 virtual NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList = DE_NULL) const = 0;
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_context.c36 wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList) in wglCreateContextAttribsARB() argument
45 if (attribList) { in wglCreateContextAttribsARB()
46 for (i = 0; !done && attribList[i]; i++) { in wglCreateContextAttribsARB()
47 switch (attribList[i]) { in wglCreateContextAttribsARB()
49 majorVersion = attribList[++i]; in wglCreateContextAttribsARB()
52 minorVersion = attribList[++i]; in wglCreateContextAttribsARB()
55 layerPlane = attribList[++i]; in wglCreateContextAttribsARB()
58 contextFlags = attribList[++i]; in wglCreateContextAttribsARB()
61 profileMask = attribList[++i]; in wglCreateContextAttribsARB()
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp71 virtual eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const;
99 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::Win…
154 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::Win… in createWindow() argument
157 DE_UNREF(nativeDisplay && attribList); in createWindow()
180 eglu::NativeDisplay* NativeDisplayFactory::createDisplay (const EGLAttrib* attribList) const in createDisplay()
182 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()
910 const EGLint attribList[] = in iterate() local
916 …UniqueSurface surface (egl, m_display, egl.createPbufferSurface(m_display, config, attribList)); in iterate()
[all …]
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()
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()
DteglChooseConfigTests.cpp165 vector<EGLint> attribList; in executeTest() local
168 attribList.push_back(i->first); in executeTest()
169 attribList.push_back(i->second); in executeTest()
171 attribList.push_back(EGL_NONE); in executeTest()
184 EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], DE_NULL, 0, &numConfigs)); in executeTest()
188 …EGLU_CHECK_CALL(egl, chooseConfig(m_display, &attribList[0], &resultConfigs[0], (EGLint)resultConf… in executeTest()
DteglPreservingSwapTests.cpp303 const EGLint attribList[] = in getEGLConfig() local
310 return eglu::chooseSingleConfig(egl, eglDisplay, &attribList[0]); in getEGLConfig()
340 const EGLint attribList[] = in initEGLContext() local
347 m_eglContext = egl.createContext(m_eglDisplay, config, EGL_NO_CONTEXT, attribList); in initEGLContext()
DteglGLES2SharedRenderingPerfTests.cpp447 const EGLint attribList[] = in createEGLContext() local
455 EGLContext context = egl.createContext(eglDisplay, eglConfig, share, attribList); in createEGLContext()
464 const EGLint attribList[] = in createEGLSurface() local
471 EGLSurface surface = egl.createPbufferSurface(display, eglConfig, attribList); in createEGLSurface()
598 const EGLint attribList[] = in createEGLImage() local
604 …splay, m_eglContext, EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)(deUintptr)sourceTexture, attribList); in createEGLImage()
853 const EGLint attribList[] = in init() local
859 EGLConfig eglConfig = eglu::chooseSingleConfig(egl, m_display, attribList); in init()
/external/deqp/framework/platform/X11/
DtcuX11EglPlatform.cpp176 const eglw::EGLAttrib* attribList,
196 const eglw::EGLAttrib* attribList, in createWindow() argument
199 DE_UNREF(attribList); in createWindow()
261 NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const;
278 NativeDisplay* DisplayFactory::createDisplay (const eglw::EGLAttrib* attribList) const in createDisplay()
280 DE_UNREF(attribList); in createDisplay()
/external/mesa3d/include/GL/
Dglx.h201 int *attribList );
256 const int *attribList, int *nitems );
268 Window win, const int *attribList );
273 Pixmap pixmap, const int *attribList );
278 const int *attribList );
379 extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList);
/external/mesa3d/src/mesa/drivers/x11/
Dglxapi.h91 GLXFBConfig *(*ChooseFBConfig)(Display *dpy, int screen, const int *attribList, int *nitems);
93 GLXPbuffer (*CreatePbuffer)(Display *dpy, GLXFBConfig config, const int *attribList);
94 … GLXPixmap (*CreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList);
95 GLXWindow (*CreateWindow)(Display *dpy, GLXFBConfig config, Window win, const int *attribList);
Drealglx.h112 const int *attribList, int *nitems );
126 const int *attribList );
133 const int *attribList );
140 const int *attribList );
Dglxapi.c439 glXChooseFBConfig(Display *dpy, int screen, const int *attribList, int *nitems) in glXChooseFBConfig() argument
445 return (t->ChooseFBConfig)(dpy, screen, attribList, nitems); in glXChooseFBConfig()
461 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) in glXCreatePbuffer() argument
467 return (t->CreatePbuffer)(dpy, config, attribList); in glXCreatePbuffer()
472 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) in glXCreatePixmap() argument
478 return (t->CreatePixmap)(dpy, config, pixmap, attribList); in glXCreatePixmap()
483 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) in glXCreateWindow() argument
489 return (t->CreateWindow)(dpy, config, win, attribList); in glXCreateWindow()
Dfakeglx.c1997 const int *attribList, int *nitems ) in Fake_glXChooseFBConfig() argument
2004 if (!attribList || !attribList[0]) { in Fake_glXChooseFBConfig()
2009 xmvis = choose_visual(dpy, screen, attribList, GL_TRUE); in Fake_glXChooseFBConfig()
2051 const int *attribList ) in Fake_glXCreateWindow() argument
2063 (void) attribList; /* Ignored in GLX 1.3 */ in Fake_glXCreateWindow()
2082 const int *attribList ) in Fake_glXCreatePixmap() argument
2093 for (attr = attribList; attr && *attr; attr++) { in Fake_glXCreatePixmap()
2202 const int *attribList ) in Fake_glXCreatePbuffer() argument
2212 for (attrib = attribList; *attrib; attrib++) { in Fake_glXCreatePbuffer()
2591 int *attribList) in Fake_glXCreateGLXPbufferSGIX() argument
[all …]
/external/deqp/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp88 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int …
189 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int … in createPixmap() argument
393 eglu::NativeDisplay* Win32EGLNativeDisplayFactory::createDisplay (const EGLAttrib* attribList) const in createDisplay()
395 DE_UNREF(attribList); in createDisplay()
DtcuWin32EGLNativeDisplayFactory.hpp40 virtual eglu::NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const;
DtcuWGL.cpp127 …LRC (WINAPI* wglCreateContextAttribsARBFunc) (HDC hdc, HGLRC hshareContext, const int* attribList);
391 const int attribList[] = in Context() local
413 m_context = wgl.createContextAttribsARB(deviceCtx, NULL, attribList); in Context()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c1803 const int *attribList, int *nitems) in glXChooseFBConfig() argument
1810 if (!attribList || !attribList[0]) { in glXChooseFBConfig()
1815 xmvis = choose_visual(dpy, screen, attribList, GL_TRUE); in glXChooseFBConfig()
1857 const int *attribList) in glXCreateWindow() argument
1869 (void) attribList; /* Ignored in GLX 1.3 */ in glXCreateWindow()
1888 const int *attribList) in glXCreatePixmap() argument
1899 for (attr = attribList; attr && *attr; attr++) { in glXCreatePixmap()
2007 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) in glXCreatePbuffer() argument
2017 for (attrib = attribList; *attrib; attrib++) { in glXCreatePbuffer()
2382 int *attribList) in glXCreateGLXPbufferSGIX() argument
[all …]

12