/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
D | OGLES2HelloAPI_LinuxX11.cpp | 75 int HandleX11Errors(Display *nativeDisplay, XErrorEvent *error) in HandleX11Errors() argument 79 XGetErrorText(nativeDisplay, error->error_code, errorStringBuffer, 256); in HandleX11Errors() 122 bool CreateNativeDisplay(Display** nativeDisplay) in CreateNativeDisplay() argument 125 if (!nativeDisplay) in CreateNativeDisplay() 131 *nativeDisplay = XOpenDisplay( 0 ); in CreateNativeDisplay() 132 if (!*nativeDisplay) in CreateNativeDisplay() 148 bool CreateNativeWindow(Display* nativeDisplay, Window* nativeWindow) in CreateNativeWindow() argument 151 int defaultScreen = XDefaultScreen(nativeDisplay); in CreateNativeWindow() 154 int defaultDepth = DefaultDepth(nativeDisplay, defaultScreen); in CreateNativeWindow() 158 XMatchVisualInfo( nativeDisplay, defaultScreen, defaultDepth, TrueColor, visualInfo); in CreateNativeWindow() [all …]
|
/external/deqp/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 89 …virtual eglu::NativePixmap* createPixmap (eglu::NativeDisplay* nativeDisplay, int width, int hei… 90 …virtual eglu::NativePixmap* createPixmap (eglu::NativeDisplay* nativeDisplay, EGLDisplay display… 96 NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth); 111 …virtual eglu::NativeWindow* createWindow (eglu::NativeDisplay* nativeDisplay, const eglu::Window… 120 …NativeWindow (NativeDisplay* nativeDisplay, HINSTANCE instance, const eglu::WindowParams& params… 148 NativePixmap::NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth) in NativePixmap() argument 152 const HDC deviceCtx = nativeDisplay->getDeviceContext(); in NativePixmap() 191 eglu::NativePixmap* NativePixmapFactory::createPixmap (eglu::NativeDisplay* nativeDisplay, EGLDispl… in createPixmap() argument 193 const Library& egl = nativeDisplay->getLibrary(); in createPixmap() 210 return new NativePixmap(dynamic_cast<NativeDisplay*>(nativeDisplay), width, height, bitSum); in createPixmap() [all …]
|
/external/deqp/framework/egl/ |
D | egluUtil.cpp | 227 EGLDisplay getDisplay (NativeDisplay& nativeDisplay) in getDisplay() argument 229 const Library& egl = nativeDisplay.getLibrary(); in getDisplay() 230 …const bool supportsLegacyGetDisplay = (nativeDisplay.getCapabilities() & NativeDisplay::CAPABILI… in getDisplay() 231 …const bool supportsPlatformGetDisplay = (nativeDisplay.getCapabilities() & NativeDisplay::CAPABI… in getDisplay() 241 …de::contains(platformExts.begin(), platformExts.end(), string(nativeDisplay.getPlatformExtensionNa… in getDisplay() 246 const vector<EGLint> legacyAttribs = toLegacyAttribList(nativeDisplay.getPlatformAttributes()); in getDisplay() 248 …display = egl.getPlatformDisplayEXT(nativeDisplay.getPlatformType(), nativeDisplay.getPlatformNati… in getDisplay() 254 display = egl.getDisplay(nativeDisplay.getLegacyNative()); in getDisplay() 265 EGLDisplay getAndInitDisplay (NativeDisplay& nativeDisplay, Version* version) in getAndInitDisplay() argument 267 const Library& egl = nativeDisplay.getLibrary(); in getAndInitDisplay() [all …]
|
D | egluUtil.hpp | 78 eglw::EGLDisplay getDisplay (NativeDisplay& nativeDisplay); 79 eglw::EGLDisplay getAndInitDisplay (NativeDisplay& nativeDisplay, Version* version = DE_NULL); 80 eglw::EGLSurface createWindowSurface (NativeDisplay& nativeDisplay, NativeWindow& window, eglw… 81 eglw::EGLSurface createPixmapSurface (NativeDisplay& nativeDisplay, NativePixmap& pixmap, eglw…
|
D | egluNativePixmap.hpp | 81 …virtual NativePixmap* createPixmap (NativeDisplay* nativeDisplay, int width, int height) cons… 84 …virtual NativePixmap* createPixmap (NativeDisplay* nativeDisplay, eglw::EGLDisplay display, e…
|
D | egluNativePixmap.cpp | 68 NativePixmap* NativePixmapFactory::createPixmap (NativeDisplay* nativeDisplay, EGLDisplay display, … in createPixmap() argument 71 return createPixmap(nativeDisplay, width, height); in createPixmap()
|
D | egluNativeWindow.cpp | 94 NativeWindow* NativeWindowFactory::createWindow (NativeDisplay* nativeDisplay, EGLDisplay display, … in createWindow() argument 97 return createWindow(nativeDisplay, params); in createWindow()
|
D | egluNativeWindow.hpp | 131 …virtual NativeWindow* createWindow (NativeDisplay* nativeDisplay, const WindowParams& param… 134 …virtual NativeWindow* createWindow (NativeDisplay* nativeDisplay, eglw::EGLDisplay display,…
|
D | egluGLContextFactory.cpp | 231 WindowSurfacePair createWindow (NativeDisplay* nativeDisplay, const NativeWindowFactory* windowFact… in createWindow() argument 240 …nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow() 244 …surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribLi… in createWindow() 255 PixmapSurfacePair createPixmap (NativeDisplay* nativeDisplay, const NativePixmapFactory* pixmapFact… in createPixmap() argument 263 …nativePixmap = pixmapFactory->createPixmap(nativeDisplay, eglDisplay, eglConfig, &attribList[0], w… in createPixmap() 267 …surface = eglu::createPixmapSurface(*nativeDisplay, *nativePixmap, eglDisplay, eglConfig, attribLi… in createPixmap()
|
/external/deqp/framework/platform/lnx/X11/ |
D | tcuLnxX11EglDisplayFactory.cpp | 175 NativeWindow* createWindow (NativeDisplay* nativeDisplay, 178 NativeWindow* createWindow (NativeDisplay* nativeDisplay, 190 NativeWindow* WindowFactory::createWindow (NativeDisplay* nativeDisplay, in createWindow() argument 193 Display& display = *dynamic_cast<Display*>(nativeDisplay); in createWindow() 198 NativeWindow* WindowFactory::createWindow (NativeDisplay* nativeDisplay, in createWindow() argument 206 Display& display = *dynamic_cast<Display*>(nativeDisplay); in createWindow() 209 nativeDisplay->getLibrary().getConfigAttrib(eglDisplay, config, EGL_NATIVE_VISUAL_ID, &visualID); in createWindow() 244 NativePixmap* createPixmap (NativeDisplay* nativeDisplay, 249 NativePixmap* PixmapFactory::createPixmap (NativeDisplay* nativeDisplay, 254 Display* display = dynamic_cast<Display*>(nativeDisplay);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkWsiUtil.cpp | 126 const Display& nativeDisplay, in createSurface() argument 138 …st XlibDisplayInterface& xlibDisplay = dynamic_cast<const XlibDisplayInterface&>(nativeDisplay); in createSurface() 154 …const XcbDisplayInterface& xcbDisplay = dynamic_cast<const XcbDisplayInterface&>(nativeDisplay); in createSurface() 170 …andDisplayInterface& waylandDisplay = dynamic_cast<const WaylandDisplayInterface&>(nativeDisplay); in createSurface() 186 …const MirDisplayInterface& mirDisplay = dynamic_cast<const MirDisplayInterface&>(nativeDisplay); in createSurface() 216 …t Win32DisplayInterface& win32Display = dynamic_cast<const Win32DisplayInterface&>(nativeDisplay); in createSurface() 239 const Display& nativeDisplay, in createSurface() argument 244 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); in createSurface()
|
D | vkWsiPlatform.hpp | 83 DisplayInterface (NativeType nativeDisplay) in DisplayInterface() 84 : m_native(nativeDisplay) in DisplayInterface() 99 WindowInterface (NativeType nativeDisplay) in WindowInterface() 100 : m_native(nativeDisplay) in WindowInterface()
|
D | vkWsiUtil.hpp | 68 const Display& nativeDisplay, 76 const Display& nativeDisplay,
|
/external/swiftshader/src/OpenGL/libEGL/ |
D | Display.cpp | 51 DisplayImplementation(EGLDisplay dpy, void *nativeDisplay) : Display(dpy, nativeDisplay) {} in DisplayImplementation() argument 67 static void *nativeDisplay = nullptr; in get() local 71 if(!nativeDisplay && dpy != HEADLESS_DISPLAY && libX11 && libX11->XOpenDisplay) in get() 73 nativeDisplay = libX11->XOpenDisplay(NULL); in get() 77 static DisplayImplementation display(dpy, nativeDisplay); in get() 82 …lay::Display(EGLDisplay eglDisplay, void *nativeDisplay) : eglDisplay(eglDisplay), nativeDisplay(n… in Display() argument 93 if(nativeDisplay && libX11->XCloseDisplay) in ~Display() 95 libX11->XCloseDisplay((::Display*)nativeDisplay); in ~Display() 684 if(nativeDisplay) in isValidWindow() 687 …Status status = libX11->XGetWindowAttributes((::Display*)nativeDisplay, window, &windowAttributes); in isValidWindow() [all …]
|
D | Display.h | 50 explicit Display(EGLDisplay eglDisplay, void *nativeDisplay); 93 void *const nativeDisplay; variable
|
/external/deqp/framework/platform/lnx/wayland/ |
D | tcuLnxWaylandEglDisplayFactory.cpp | 126 NativeWindow* createWindow (NativeDisplay* nativeDisplay, 129 NativeWindow* createWindow (NativeDisplay* nativeDisplay, 141 NativeWindow* WindowFactory::createWindow (NativeDisplay* nativeDisplay, in createWindow() argument 144 Display& display = *dynamic_cast<Display*>(nativeDisplay); in createWindow() 149 NativeWindow* WindowFactory::createWindow (NativeDisplay* nativeDisplay, in createWindow() argument 159 Display& display = *dynamic_cast<Display*>(nativeDisplay); in createWindow()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidPlatform.cpp | 101 …virtual eglu::NativeWindow* createWindow (eglu::NativeDisplay* nativeDisplay, const eglu::Windo… 102 …virtual eglu::NativeWindow* createWindow (eglu::NativeDisplay* nativeDisplay, EGLDisplay displa… 151 eglu::NativeWindow* NativeWindowFactory::createWindow (eglu::NativeDisplay* nativeDisplay, const eg… in createWindow() argument 153 DE_UNREF(nativeDisplay); in createWindow() 157 eglu::NativeWindow* NativeWindowFactory::createWindow (eglu::NativeDisplay* nativeDisplay, EGLDispl… in createWindow() argument 159 …const int32_t format = (int32_t)eglu::getConfigAttribInt(nativeDisplay->getLibrary(), display, con… in createWindow() 160 DE_UNREF(nativeDisplay && attribList); in createWindow()
|
/external/deqp/framework/platform/nullws/ |
D | tcuNullWSPlatform.cpp | 40 Window(eglu::NativeDisplay* nativeDisplay, const eglu::WindowParams& params) in Window() argument 59 …eglu::NativeWindow* createWindow(eglu::NativeDisplay* nativeDisplay, const eglu::WindowParams& par… in createWindow() argument 61 return new Window(nativeDisplay, params); in createWindow()
|
/external/mesa3d/src/egl/main/ |
D | egldisplay.c | 140 _eglNativePlatformDetectNativeDisplay(void *nativeDisplay) in _eglNativePlatformDetectNativeDisplay() argument 142 if (nativeDisplay == EGL_DEFAULT_DISPLAY) in _eglNativePlatformDetectNativeDisplay() 145 if (_eglPointerIsDereferencable(nativeDisplay)) { in _eglNativePlatformDetectNativeDisplay() 146 void *first_pointer = *(void **) nativeDisplay; in _eglNativePlatformDetectNativeDisplay() 181 _eglGetNativePlatform(void *nativeDisplay) in _eglGetNativePlatform() argument 190 native_platform = _eglNativePlatformDetectNativeDisplay(nativeDisplay); in _eglGetNativePlatform()
|
/external/deqp/modules/egl/ |
D | teglCreateSurfaceTests.cpp | 65 …owSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::NativeW… in createWindowSurface() argument 67 const Library& egl = nativeDisplay.getLibrary(); in createWindowSurface() 77 checkEGLPlatformSupport(egl, nativeDisplay.getPlatformExtensionName()); in createWindowSurface() 86 …apSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::NativeP… in createPixmapSurface() argument 88 const Library& egl = nativeDisplay.getLibrary(); in createPixmapSurface() 98 checkEGLPlatformSupport(egl, nativeDisplay.getPlatformExtensionName()); in createPixmapSurface()
|
D | teglRenderCase.cpp | 121 eglu::NativeDisplay& nativeDisplay = m_eglTestCtx.getNativeDisplay(); in executeForConfig() local 137 …de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&nativeDisplay, display, con… in executeForConfig() 138 …EGLSurface eglSurface = createWindowSurface(nativeDisplay, *window, display, config, DE_NULL… in executeForConfig() 161 …de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&nativeDisplay, display, con… in executeForConfig() 162 …EGLSurface eglSurface = createPixmapSurface(nativeDisplay, *pixmap, display, config, DE_NULL… in executeForConfig()
|
D | teglNativeColorMappingTests.cpp | 323 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& native… in testNativeWindow() argument 325 const Library& egl = nativeDisplay.getLibrary(); in testNativeWindow() 326 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow,… in testNativeWindow() 366 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& native… in testNativePixmap() argument 368 const Library& egl = nativeDisplay.getLibrary(); in testNativePixmap() 369 …eglu::UniqueSurface surface (egl, display, eglu::createPixmapSurface(nativeDisplay, nativePixmap,… in testNativePixmap()
|
D | teglNativeCoordMappingTests.cpp | 364 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& native… in testNativeWindow() argument 371 const Library& egl = nativeDisplay.getLibrary(); in testNativeWindow() 373 …eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow,… in testNativeWindow() 413 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& native… in testNativePixmap() argument 420 const Library& egl = nativeDisplay.getLibrary(); in testNativePixmap() 421 …eglu::UniqueSurface surface (egl, display, eglu::createPixmapSurface(nativeDisplay, nativePixmap,… in testNativePixmap()
|
D | teglImageUtil.cpp | 102 NativeDisplay& nativeDisplay = eglTestCtx.getNativeDisplay(); in createSurface() local 117 …MovePtr<NativeWindow> window (windowFactory.createWindow(&nativeDisplay, dpy, config, DE_NULL, Wi… in createSurface() 118 …const EGLSurface surface = eglu::createWindowSurface(nativeDisplay, *window, dpy, config, DE_NUL… in createSurface() 126 …MovePtr<NativePixmap> pixmap (pixmapFactory.createPixmap(&nativeDisplay, dpy, config, DE_NULL, wid… in createSurface()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcConfigListEGL.cpp | 94 de::UniquePtr<eglu::NativeDisplay> nativeDisplay( in getDefaultEglConfigList() local 96 const eglw::Library& library = nativeDisplay->getLibrary(); in getDefaultEglConfigList() 97 eglw::EGLDisplay display = eglu::getAndInitDisplay(*nativeDisplay); in getDefaultEglConfigList()
|