/external/angle/samples/multi_window/ |
D | MultiWindow.cpp | 52 rootWindow.osWindow = getWindow(); in initialize() 61 window.osWindow = OSWindow::New(); in initialize() 62 if (!window.osWindow->initialize("MultiWindow", 256, 256)) in initialize() 68 window.osWindow->getNativeWindow(), nullptr); in initialize() 74 window.osWindow->setVisible(true); in initialize() 79 int baseX = rootWindow.osWindow->getX(); in initialize() 80 int baseY = rootWindow.osWindow->getY(); in initialize() 87 window.osWindow->setPosition(x, y); in initialize() 88 window.osWindow->resize(width, height); in initialize() 102 window.osWindow->messageLoop(); in step() [all …]
|
/external/angle/src/tests/egl_tests/ |
D | EGLX11VisualTest.cpp | 94 OSWindow *osWindow = OSWindow::New(); in TEST_P() local 95 osWindow->initialize("EGLX11VisualHintTest", 500, 500); in TEST_P() 96 setWindowVisible(osWindow, true); in TEST_P() 98 Window xWindow = osWindow->getNativeWindow(); in TEST_P() 155 OSWindow::Delete(&osWindow); in TEST_P() 169 OSWindow *osWindow = OSWindow::New(); in TEST_P() local 170 osWindow->initialize("EGLX11VisualHintTest", 500, 500); in TEST_P() 171 setWindowVisible(osWindow, true); in TEST_P() 173 Window xWindow = osWindow->getNativeWindow(); in TEST_P() 179 OSWindow::Delete(&osWindow); in TEST_P() [all …]
|
D | EGLBufferAgeTest.cpp | 120 OSWindow *osWindow = OSWindow::New(); in TEST_P() local 121 osWindow->initialize("EGLBufferAgeTest", kWidth, kHeight); in TEST_P() 122 EXPECT_TRUE(createWindowSurface(config, osWindow->getNativeWindow(), &surface)); in TEST_P() 154 osWindow->destroy(); in TEST_P() 155 OSWindow::Delete(&osWindow); in TEST_P() 175 OSWindow *osWindow = OSWindow::New(); in TEST_P() local 176 osWindow->initialize("EGLBufferAgeTest", kWidth, kHeight); in TEST_P() 177 EXPECT_TRUE(createWindowSurface(config, osWindow->getNativeWindow(), &surface)); in TEST_P() 222 osWindow->destroy(); in TEST_P() 223 OSWindow::Delete(&osWindow); in TEST_P() [all …]
|
D | EGLProtectedContentTest.cpp | 185 OSWindow *osWindow = OSWindow::New(); in WindowTest() local 186 osWindow->initialize("ProtectedContentTest", kWidth, kHeight); in WindowTest() 189 isProtectedSurface, config, osWindow->getNativeWindow(), &windowSurface); in WindowTest() 225 osWindow->destroy(); in WindowTest() 226 OSWindow::Delete(&osWindow); in WindowTest()
|
D | EGLContextCompatibilityTest.cpp | 254 OSWindow *osWindow = OSWindow::New(); in testWindowCompatibility() local 255 ASSERT_TRUE(osWindow != nullptr); in testWindowCompatibility() 256 osWindow->initialize("EGLContextCompatibilityTest", 500, 500); in testWindowCompatibility() 263 eglCreateWindowSurface(mDisplay, windowConfig, osWindow->getNativeWindow(), nullptr); in testWindowCompatibility() 281 OSWindow::Delete(&osWindow); in testWindowCompatibility()
|
/external/angle/src/tests/test_utils/ |
D | angle_test_instantiate.cpp | 41 bool IsAngleEGLConfigSupported(const PlatformParameters ¶m, OSWindow *osWindow) in IsAngleEGLConfigSupported() argument 53 eglWindow->initializeGL(osWindow, eglLibrary.get(), angle::GLESDriverType::AngleEGL, in IsAngleEGLConfigSupported() 60 bool IsSystemWGLConfigSupported(const PlatformParameters ¶m, OSWindow *osWindow) in IsSystemWGLConfigSupported() argument 69 wglWindow->initializeGL(osWindow, openglLibrary.get(), angle::GLESDriverType::SystemWGL, in IsSystemWGLConfigSupported() 79 bool IsSystemEGLConfigSupported(const PlatformParameters ¶m, OSWindow *osWindow) in IsSystemEGLConfigSupported() argument 90 eglWindow->initializeGL(osWindow, eglLibrary.get(), angle::GLESDriverType::SystemEGL, in IsSystemEGLConfigSupported() 600 OSWindow *osWindow = OSWindow::New(); in IsConfigSupported() local 602 if (osWindow->initialize("CONFIG_TESTER", 1, 1)) in IsConfigSupported() 607 result = IsAngleEGLConfigSupported(param, osWindow); in IsConfigSupported() 610 result = IsSystemEGLConfigSupported(param, osWindow); in IsConfigSupported() [all …]
|
D | ANGLETest.cpp | 469 mFixture->osWindow = mOSWindowSingleton; in initOSWindow() 472 if (!mFixture->osWindow) in initOSWindow() 474 mFixture->osWindow = OSWindow::New(); in initOSWindow() 475 mFixture->osWindow->disableErrorMessageDialog(); in initOSWindow() 476 if (!mFixture->osWindow->initialize(windowName.c_str(), 128, 128)) in initOSWindow() 484 mOSWindowSingleton = mFixture->osWindow; in initOSWindow() 488 if (!mFixture->osWindow->valid()) in initOSWindow() 609 if (!mFixture->osWindow->valid()) in ANGLETestSetUp() 619 int osWindowWidth = mFixture->osWindow->getWidth(); in ANGLETestSetUp() 620 int osWindowHeight = mFixture->osWindow->getHeight(); in ANGLETestSetUp() [all …]
|
D | ANGLETest.h | 351 void setWindowVisible(OSWindow *osWindow, bool isVisible); 483 OSWindow *getOSWindow() { return mFixture->osWindow; } in getOSWindow() 559 OSWindow *osWindow = nullptr; member
|
/external/angle/util/ |
D | EGLWindow.h | 71 virtual bool initializeGL(OSWindow *osWindow, 118 bool initializeGL(OSWindow *osWindow, 133 bool initializeDisplay(OSWindow *osWindow, 139 bool initializeSurface(OSWindow *osWindow,
|
D | EGLWindow.cpp | 98 bool EGLWindow::initializeGL(OSWindow *osWindow, in initializeGL() argument 104 if (!initializeDisplay(osWindow, glWindowingLibrary, driverType, platformParams)) in initializeGL() 106 if (!initializeSurface(osWindow, glWindowingLibrary, configParams)) in initializeGL() 113 bool EGLWindow::initializeDisplay(OSWindow *osWindow, in initializeDisplay() argument 319 reinterpret_cast<void *>(osWindow->getNativeDisplay()), in initializeDisplay() 345 bool EGLWindow::initializeSurface(OSWindow *osWindow, in initializeSurface() argument 423 osWindow->resetNativeWindow(); in initializeSurface() 425 mSurface = eglCreateWindowSurface(mDisplay, mConfig, osWindow->getNativeWindow(), in initializeSurface()
|
D | OSWindow.h | 26 static void Delete(OSWindow **osWindow);
|
/external/angle/util/windows/ |
D | WGLWindow.cpp | 72 bool WGLWindow::initializeGL(OSWindow *osWindow, in initializeGL() argument 95 mWindow = osWindow->getNativeWindow(); in initializeGL()
|
D | WGLWindow.h | 31 bool initializeGL(OSWindow *osWindow,
|
/external/angle/src/tests/gl_tests/ |
D | PixmapTest.cpp | 60 OSWindow *osWindow = getOSWindow(); in testSetUp() local 65 ASSERT_TRUE(mOSPixmap->initialize(osWindow->getNativeDisplay(), mPixmapSize, in testSetUp()
|