/sdk/emulator/opengl/tests/ut_renderer/ |
X11RendererSurface.cpp | 20 if (m_display == NULL) { 21 m_display = XOpenDisplay(NULL); 23 return NativeDisplayType(m_display); 28 if (m_display == NULL) return -1; 31 return XDestroyWindow(m_display, x11Window); 38 if (m_display == NULL) { 47 XMatchVisualInfo(m_display, defaultScreen, , dpeth, TrueColor, visualInfo); 53 Colormap x11Colormap = XCreateColormap(m_display, rootWindow, visualInfo->visual, AllocNone); 59 Window win = XCreateWindow( m_display, 65 XMapWindow(m_display, win) [all...] |
X11RendererSurface.h | 29 m_display = NULL; 35 Display m_display; member in class:X11RendererSurface
|
/external/deqp/framework/egl/ |
tcuEgl.cpp | 40 : m_display(display) 47 : m_display (EGL_NO_DISPLAY) 49 m_display = eglGetDisplay(nativeDisplay); 51 TCU_CHECK(m_display != EGL_NO_DISPLAY); 53 TCU_CHECK_EGL_CALL(eglInitialize(m_display, &m_version[0], &m_version[1])); 58 if (m_display) 59 eglTerminate(m_display); 65 TCU_CHECK_EGL_CALL(eglGetConfigs(m_display, DE_NULL, 0, &numConfigs)); 68 TCU_CHECK_EGL_CALL(eglGetConfigs(m_display, &configs[0], (EGLint)configs.size(), &numConfigs)); 74 TCU_CHECK_EGL_CALL(eglChooseConfig(m_display, attribList, DE_NULL, 0, &numConfigs)) [all...] |
egluUnique.cpp | 32 : m_display (display) 40 TCU_CHECK_EGL_CALL(eglDestroySurface(m_display, m_surface)); 44 : m_display (display) 52 TCU_CHECK_EGL_CALL(eglDestroyContext(m_display, m_context)); 56 : m_display (display) 63 EGLU_CHECK_CALL(eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT));
|
egluUnique.hpp | 42 EGLDisplay m_display; member in class:eglu::UniqueSurface 60 EGLDisplay m_display; member in class:eglu::UniqueContext 75 EGLDisplay m_display; member in class:eglu::ScopedCurrentContext
|
tcuEgl.hpp | 67 EGLDisplay getEGLDisplay (void) const { return m_display; } 82 EGLDisplay m_display; member in class:tcu::egl::Display 92 Display& getDisplay (void) const { return m_display; } 102 Surface (Display& display) : m_display(display), m_surface(EGL_NO_SURFACE) {} 107 Display& m_display; member in class:tcu::egl::Surface 152 const Display& m_display; member in class:tcu::egl::Context
|
egluGLContextFactory.cpp | 152 NativeDisplay* m_display; member in class:eglu::__anon3431::RenderContext 169 , m_display (DE_NULL) 205 delete m_display; 477 m_display = displayFactory->createDisplay(); 478 m_eglDisplay = eglu::getDisplay(*m_display); 509 const WindowSurfacePair windowSurface = createWindow(m_display, windowFactory, m_eglDisplay, m_eglConfig, config); 522 const PixmapSurfacePair pixmapSurface = createPixmap(m_display, pixmapFactory, m_eglDisplay, m_eglConfig, config); 632 delete m_display; 637 m_display = DE_NULL; 669 WindowSurfacePair windowSurface = createWindow(m_display, m_nativeWindowFactory, m_eglDisplay, m_eglConfig, m_renderConfig) [all...] |
/external/deqp/framework/platform/X11/ |
tcuX11.cpp | 64 , m_display (DE_NULL) 67 m_display = XOpenDisplay((char*)name); // Won't modify argument string. 68 if (!m_display) 71 m_deleteAtom = XInternAtom(m_display, "WM_DELETE_WINDOW", False); 76 XCloseDisplay(m_display); 83 while (XPending(m_display)) 85 XNextEvent(m_display, &event); 98 XVisualInfo* response = XGetVisualInfo(m_display, VisualIDMask, &query, &numVisuals); 125 : m_display (display) 131 ::Display* dpy = m_display.getXDisplay() [all...] |
tcuX11.hpp | 65 ::Display* getXDisplay (void) { return m_display; } 74 ::Display* m_display; member in class:tcu::x11::Display 92 Display& getDisplay (void) { return m_display; } 100 Display& m_display; member in class:tcu::x11::Window
|
tcuX11EglPlatform.cpp | 67 , m_display (x11Display) {} 69 void* getPlatformNative (void) { return m_display->getXDisplay(); } 70 EGLNativeDisplayType getLegacyNative (void) { return m_display->getXDisplay(); } 72 x11::Display& getX11Display (void) { return *m_display; } 75 UniquePtr<x11::Display> m_display; member in class:tcu::x11::egl::Display
|
tcuX11GlxPlatform.cpp | 117 GlxDisplay& getGlxDisplay (void) { return m_display; } 118 ::Display* getXDisplay (void) { return m_display.getXDisplay(); } 121 GlxDisplay& m_display; member in class:tcu::x11::glx::GlxVisual 226 const Bool supported = glXQueryExtension(m_display, &m_errorBase, &m_eventBase); 230 TCU_CHECK_GLX(glXQueryVersion(m_display, &m_majorVersion, &m_minorVersion)); 233 const int screen = XDefaultScreen(m_display); 237 TCU_CHECK_GLX(glXQueryServerString(m_display, screen, GLX_EXTENSIONS)); 279 : m_display (display) 304 checkGlxVersion(m_display, 1, 4); 305 checkGlxExtension(m_display, "GLX_ARB_create_context") [all...] |
/external/deqp/modules/egl/ |
teglMultiThreadTests.cpp | 501 EGLDisplay m_display; member in class:deqp::egl::MultiThreadedConfigTest 509 , m_display (EGL_NO_DISPLAY) 522 m_display = m_eglTestCtx.getDisplay().getEGLDisplay(); 534 result = eglGetConfigs(m_display, NULL, 0, &configCount); 535 thread.getLog() << ThreadLog::BeginMessage << result << " = eglGetConfigs(" << m_display << ", NULL, 0, " << configCount << ")" << ThreadLog::EndMessage; 549 result = eglGetConfigs(m_display, &(configs[configs.size() - configCount]), configCount, &configCount); 550 thread.getLog() << ThreadLog::BeginMessage << result << " = eglGetConfigs(" << m_display << ", &configs' " << configCount << ", " << configCount << ")" << ThreadLog::EndMessage; 582 result = eglChooseConfig(m_display, attribList, NULL, 0, &configCount); 583 thread.getLog() << ThreadLog::BeginMessage << result << " = eglChooseConfig(" << m_display << ", { EGL_NONE }, NULL, 0, " << configCount << ")" << ThreadLog::EndMessage; 597 result = eglChooseConfig(m_display, attribList, &(configs[configs.size() - configCount]), configCount, &configCount) 701 EGLDisplay m_display; member in class:deqp::egl::MultiThreadedObjectTest [all...] |
teglResizeTests.cpp | 100 , m_display (EGL_NO_DISPLAY) 114 EGLDisplay m_display; member in class:deqp::egl::ResizeTest 179 m_display = eglDisplay; 187 m_display = EGL_NO_DISPLAY; 335 ScopedCurrentContext currentCtx (m_display, **m_surface, **m_surface, **m_context); 336 IVec2 oldEglSize = checkSurfaceSize(m_display, 346 eglSwapBuffers(m_display, **m_surface); 347 checkSurfaceSize(m_display, **m_surface, *m_nativeWindow, m_newSize, m_status); 371 ScopedCurrentContext currentCtx (m_display, **m_surface, **m_surface, **m_context); 374 eglSurfaceAttrib(m_display, **m_surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED)) [all...] |
teglMemoryStressTests.cpp | 80 EGLDisplay m_display; member in class:deqp::egl::__anon3537::MemoryAllocator 101 , m_display (display) 120 TCU_CHECK_EGL_CALL(eglDestroySurface(m_display, *iter)); 126 TCU_CHECK_EGL_CALL(eglDestroyContext(m_display, *iter)); 202 EGLSurface surface = eglCreatePbufferSurface(m_display, m_config, attribList); 217 TCU_CHECK_EGL_CALL(eglMakeCurrent(m_display, surface, surface, context)); 225 TCU_CHECK_EGL_CALL(eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); 264 EGLContext context = eglCreateContext(m_display, m_config, EGL_NO_CONTEXT, attribList); 279 TCU_CHECK_EGL_CALL(eglMakeCurrent(m_display, surface, surface, context)); 287 TCU_CHECK_EGL_CALL(eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) 331 EGLDisplay m_display; member in class:deqp::egl::MemoryStressCase [all...] |
teglImageFormatTests.cpp | 213 tcu::egl::Display& m_display; member in class:deqp::egl::Image::ImageApi 220 , m_display (display) 333 TCU_CHECK_EGL_CALL(eglGetConfigAttrib(m_display.getEGLDisplay(), config, EGL_CONFIG_ID, &configId)); 335 m_context = new tcu::egl::Context(m_display, config, attriblist, EGL_OPENGL_ES_API); 502 img = m_eglExt.eglCreateImageKHR(m_display.getEGLDisplay(), m_context->getEGLContext(), EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)(deUintptr)srcTex, attrib); 508 case GL_TEXTURE_CUBE_MAP_POSITIVE_X: img = m_eglExt.eglCreateImageKHR(m_display.getEGLDisplay(), m_context->getEGLContext(), EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR, (EGLClientBuffer)(deUintptr)srcTex, attrib); break; 509 case GL_TEXTURE_CUBE_MAP_NEGATIVE_X: img = m_eglExt.eglCreateImageKHR(m_display.getEGLDisplay(), m_context->getEGLContext(), EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR, (EGLClientBuffer)(deUintptr)srcTex, attrib); break; 510 case GL_TEXTURE_CUBE_MAP_POSITIVE_Y: img = m_eglExt.eglCreateImageKHR(m_display.getEGLDisplay(), m_context->getEGLContext(), EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR, (EGLClientBuffer)(deUintptr)srcTex, attrib); break; 511 case GL_TEXTURE_CUBE_MAP_NEGATIVE_Y: img = m_eglExt.eglCreateImageKHR(m_display.getEGLDisplay(), m_context->getEGLContext(), EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR, (EGLClientBuffer)(deUintptr)srcTex, attrib); break; 512 case GL_TEXTURE_CUBE_MAP_POSITIVE_Z: img = m_eglExt.eglCreateImageKHR(m_display.getEGLDisplay(), m_context->getEGLContext(), EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR, (EGLClientBuf (…) 1619 tcu::egl::Display* m_display; member in class:deqp::egl::Image::ImageFormatCase [all...] |
teglColorClearCase.cpp | 245 : m_display (display) 261 eglMakeCurrent(m_display.getEGLDisplay(), m_surface.getEGLSurface(), m_surface.getEGLSurface(), m_context.getEGLContext()); 268 eglMakeCurrent(m_display.getEGLDisplay(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 276 tcu::egl::Display& m_display; member in class:deqp::egl::ColorClearThread
|
teglGLES2SharingThreadedTests.cpp | 290 EGLDisplay m_display; member in class:deqp::egl::GLES2ThreadTest::FenceSync 298 : m_display (EGL_NO_DISPLAY) 318 m_display = thread.runtimeContext->display; 325 thread.newMessage() << "Begin -- eglCreateSyncKHR(" << ((size_t)m_display) << ", EGL_SYNC_FENCE_KHR, NULL)" << tcu::ThreadUtil::Message::End; 326 m_sync = thread.eglExtensions.createSync(m_display, EGL_SYNC_FENCE_KHR, NULL); 338 thread.newMessage() << "Begin -- eglWaitSyncKHR(" << ((size_t)m_display) << ", " << ((size_t)m_sync) << ", 0)" << tcu::ThreadUtil::Message::End; 339 EGLint result = thread.eglExtensions.waitSync(m_display, m_sync, 0); 345 thread.newMessage() << "Begin -- eglClientWaitSyncKHR(" << ((size_t)m_display) << ", " << ((size_t)m_sync) << ", EGL_SYNC_FLUSH_COMMANDS_BIT_KHR, 1000 000 000)" << tcu::ThreadUtil::Message::End; 346 EGLint result = thread.eglExtensions.clientWaitSync(m_display, m_sync, EGL_SYNC_FLUSH_COMMANDS_BIT_KHR, 1000000000); 358 thread.newMessage() << "Begin -- eglDestroySyncKHR(" << ((size_t)m_display) << ", " << ((size_t)m_sync) << ")" << tcu::ThreadUtil::Message::End 601 EGLDisplay m_display; member in class:deqp::egl::GLES2ThreadTest::CreateContext 691 EGLDisplay m_display; member in class:deqp::egl::GLES2ThreadTest::MakeCurrent 821 EGLDisplay m_display; member in class:deqp::egl::GLES2ThreadTest::CreatePBufferSurface 860 EGLDisplay m_display; member in class:deqp::egl::GLES2ThreadTest::DestroySurface [all...] |
teglRenderTests.cpp | 830 : m_display (display) 847 eglMakeCurrent(m_display.getEGLDisplay(), m_surface.getEGLSurface(), m_surface.getEGLSurface(), m_context.getEGLContext()); 854 eglMakeCurrent(m_display.getEGLDisplay(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 862 tcu::egl::Display& m_display; member in class:deqp::egl::RenderTestThread [all...] |