Home
last modified time | relevance | path

Searched refs:osWindow (Results 1 – 14 of 14) sorted by relevance

/external/angle/samples/multi_window/
DMultiWindow.cpp52 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/
DEGLX11VisualTest.cpp94 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 …]
DEGLBufferAgeTest.cpp120 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 …]
DEGLProtectedContentTest.cpp185 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()
DEGLContextCompatibilityTest.cpp254 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/
Dangle_test_instantiate.cpp41 bool IsAngleEGLConfigSupported(const PlatformParameters &param, OSWindow *osWindow) in IsAngleEGLConfigSupported() argument
53 eglWindow->initializeGL(osWindow, eglLibrary.get(), angle::GLESDriverType::AngleEGL, in IsAngleEGLConfigSupported()
60 bool IsSystemWGLConfigSupported(const PlatformParameters &param, OSWindow *osWindow) in IsSystemWGLConfigSupported() argument
69 wglWindow->initializeGL(osWindow, openglLibrary.get(), angle::GLESDriverType::SystemWGL, in IsSystemWGLConfigSupported()
79 bool IsSystemEGLConfigSupported(const PlatformParameters &param, 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 …]
DANGLETest.cpp469 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 …]
DANGLETest.h351 void setWindowVisible(OSWindow *osWindow, bool isVisible);
483 OSWindow *getOSWindow() { return mFixture->osWindow; } in getOSWindow()
559 OSWindow *osWindow = nullptr; member
/external/angle/util/
DEGLWindow.h71 virtual bool initializeGL(OSWindow *osWindow,
118 bool initializeGL(OSWindow *osWindow,
133 bool initializeDisplay(OSWindow *osWindow,
139 bool initializeSurface(OSWindow *osWindow,
DEGLWindow.cpp98 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()
DOSWindow.h26 static void Delete(OSWindow **osWindow);
/external/angle/util/windows/
DWGLWindow.cpp72 bool WGLWindow::initializeGL(OSWindow *osWindow, in initializeGL() argument
95 mWindow = osWindow->getNativeWindow(); in initializeGL()
DWGLWindow.h31 bool initializeGL(OSWindow *osWindow,
/external/angle/src/tests/gl_tests/
DPixmapTest.cpp60 OSWindow *osWindow = getOSWindow(); in testSetUp() local
65 ASSERT_TRUE(mOSPixmap->initialize(osWindow->getNativeDisplay(), mPixmapSize, in testSetUp()