Home
last modified time | relevance | path

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

123

/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()
/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/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp217 bool Display::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *n… in getConfigs() argument
219 return mConfigSet.getConfigs(configs, attribList, configSize, numConfig); in getConfigs()
270 …isplay::createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLint *attribList) in createWindowSurface() argument
274 if(attribList) in createWindowSurface()
276 while(*attribList != EGL_NONE) in createWindowSurface()
278 switch(attribList[0]) in createWindowSurface()
281 switch(attribList[1]) in createWindowSurface()
299 attribList += 2; in createWindowSurface()
322 EGLSurface Display::createPBufferSurface(EGLConfig config, const EGLint *attribList) in createPBufferSurface() argument
330 if(attribList) in createPBufferSurface()
[all …]
DDisplay.h44 …bool getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig…
47 …urface createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLint *attribList);
48 EGLSurface createPBufferSurface(EGLConfig config, const EGLint *attribList);
DConfig.cpp247 explicit SortConfig(const EGLint *attribList);
261 SortConfig::SortConfig(const EGLint *attribList) in SortConfig() argument
267 for(const EGLint *attr = attribList; attr[0] != EGL_NONE; attr += 2) in SortConfig()
348 bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint … in getConfigs() argument
356 const EGLint *attribute = attribList; in getConfigs()
421 sort(passed.begin(), passed.end(), SortConfig(attribList)); in getConfigs()
/external/deqp/framework/platform/wayland/
DtcuWaylandEglPlatform.cpp128 const eglw::EGLAttrib* attribList,
148 const eglw::EGLAttrib* attribList, in createWindow() argument
153 DE_UNREF(attribList); in createWindow()
165 NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const;
181 NativeDisplay* DisplayFactory::createDisplay (const eglw::EGLAttrib* attribList) const in createDisplay()
183 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 …]
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()
199 const EGLint attribList[] = in init() local
207 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in init()
DteglRobustnessTests.cpp147 void logAttribList (const EglTestContext& eglTestCtx, const EGLint* attribList) in logAttribList() argument
149 const EGLint* iter = &(attribList[0]); in logAttribList()
249 void checkRequiredEGLExtensions (const EGLint* attribList);
389 void RobustnessTestCase::checkRequiredEGLExtensions (const EGLint* attribList) in checkRequiredEGLExtensions() argument
395 const EGLint* iter = attribList; in checkRequiredEGLExtensions()
467 const EGLint* attribList,
494 const EGLint* attribList, in RenderingContext() argument
499 , m_attribList (attribList) in RenderingContext()
1405 const EGLint attribList[] = in iterate() local
1413 checkRequiredEGLExtensions(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()
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()
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()
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)resultConf… in executeTest()
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp74 virtual eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const;
102 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::Win…
157 … nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, const eglu::Win… in createWindow() argument
160 DE_UNREF(nativeDisplay && attribList); in createWindow()
182 eglu::NativeDisplay* NativeDisplayFactory::createDisplay (const EGLAttrib* attribList) const in createDisplay()
184 DE_UNREF(attribList); in createDisplay()
/external/deqp/framework/platform/X11/
DtcuX11EglPlatform.cpp177 const eglw::EGLAttrib* attribList,
197 const eglw::EGLAttrib* attribList, in createWindow() argument
200 DE_UNREF(attribList); in createWindow()
262 NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const;
279 NativeDisplay* DisplayFactory::createDisplay (const eglw::EGLAttrib* attribList) const in createDisplay()
281 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()
/external/deqp/framework/platform/win32/
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()
DtcuWin32EGLNativeDisplayFactory.hpp42 virtual eglu::NativeDisplay* createDisplay (const eglw::EGLAttrib* attribList) const;

123