Home
last modified time | relevance | path

Searched refs:mOSWindow (Results 1 – 25 of 36) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/samples/sample_util/
DSampleApplication.cpp57 mOSWindow(nullptr) in SampleApplication()
72 mOSWindow = OSWindow::New(); in SampleApplication()
78 OSWindow::Delete(&mOSWindow); in ~SampleApplication()
99 return mOSWindow; in getWindow()
124 if (!mOSWindow->initialize(mName, mWidth, mHeight)) in run()
129 mOSWindow->setVisible(true); in run()
139 if (!mEGLWindow->initializeGL(mOSWindow, mEntryPointsLib.get(), mPlatformParams, configParams)) in run()
190 mOSWindow->messageLoop(); in run()
197 mOSWindow->destroy(); in run()
209 return mOSWindow->popEvent(event); in popEvent()
/third_party/skia/third_party/externals/angle2/src/tests/capture_replay_tests/
DCaptureReplayTests.cpp41 mOSWindow = OSWindow::New(); in CaptureReplayTests()
42 mOSWindow->disableErrorMessageDialog(); in CaptureReplayTests()
48 OSWindow::Delete(&mOSWindow); in ~CaptureReplayTests()
53 if (!mOSWindow->initialize(traceInfo.name, traceInfo.drawSurfaceWidth, in initializeTest()
59 mOSWindow->disableErrorMessageDialog(); in initializeTest()
60 mOSWindow->setVisible(true); in initializeTest()
92 if (!mEGLWindow->initializeGL(mOSWindow, mEntryPointsLib.get(), in initializeTest()
96 mOSWindow->destroy(); in initializeTest()
133 mOSWindow->destroy(); in cleanupTest()
235 OSWindow *mOSWindow = nullptr; member in CaptureReplayTests
/third_party/skia/third_party/externals/angle2/samples/sample_util/
DSampleApplication.cpp91 mOSWindow(nullptr), in SampleApplication()
112 mOSWindow = OSWindow::New(); in SampleApplication()
139 OSWindow::Delete(&mOSWindow); in ~SampleApplication()
160 return mOSWindow; in getWindow()
189 if (!mOSWindow->initialize(mName, mWidth, mHeight)) in run()
194 mOSWindow->setVisible(true); in run()
204 if (!mGLWindow->initializeGL(mOSWindow, mEntryPointsLib.get(), mDriverType, mPlatformParams, in run()
271 mOSWindow->messageLoop(); in run()
286 mOSWindow->destroy(); in run()
298 return mOSWindow->popEvent(event); in popEvent()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLRobustnessTest.cpp24 mOSWindow = OSWindow::New(); in testSetUp()
25 mOSWindow->initialize("EGLRobustnessTest", 500, 500); in testSetUp()
26 mOSWindow->setVisible(true); in testSetUp()
47 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in testSetUp()
69 mWindow = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in testSetUp()
83 OSWindow::Delete(&mOSWindow); in testTearDown()
134 glViewport(0, 0, mOSWindow->getWidth(), mOSWindow->getHeight()); in forceContextReset()
151 OSWindow *mOSWindow = nullptr; member in EGLRobustnessTest
DEGLSurfaceTest.cpp42 mOSWindow(nullptr) in EGLSurfaceTest()
47 mOSWindow = OSWindow::New(); in testSetUp()
48 mOSWindow->initialize("EGLSurfaceTest", 64, 64); in testSetUp()
86 mOSWindow->destroy(); in testTearDown()
87 OSWindow::Delete(&mOSWindow); in testTearDown()
108 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in initializeDisplay()
139 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in initializeSurface()
202 EXPECT_PIXEL_EQ(mOSWindow->getWidth() / 2, mOSWindow->getHeight() / 2, 255, 0, 0, 255); in drawWithProgram()
219 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in runMessageLoopTest()
226 mOSWindow->signalTestEvent(); in runMessageLoopTest()
[all …]
DEGLDirectCompositionTest.cpp39 EGLDirectCompositionTest() : mOSWindow(nullptr) {} in EGLDirectCompositionTest()
49 mOSWindow = OSWindow::New(); in testSetUp()
51 mOSWindow->initialize("EGLDirectCompositionTest", WINDOWWIDTH, WINDOWHEIGHT); in testSetUp()
52 auto nativeWindow = mOSWindow->getNativeWindow(); in testSetUp()
53 mOSWindow->setVisible(true); in testSetUp()
202 OSWindow::Delete(&mOSWindow); in testTearDown()
205 OSWindow *mOSWindow; member in EGLDirectCompositionTest
271 mOSWindow->messageLoop(); in TEST_P()
279 bool success = mOSWindow->takeScreenshot(pixelBuffer); in TEST_P()
DEGLSyncControlTest.cpp58 OSWindow::Delete(&mOSWindow); in TearDown()
104 mOSWindow = OSWindow::New(); in InitializeDisplay()
105 mOSWindow->initialize("EGLSyncControlTest", 64, 64); in InitializeDisplay()
106 mOSWindow->setVisible(true); in InitializeDisplay()
110 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in InitializeDisplay()
132 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in CreateWindowSurface()
165 OSWindow *mOSWindow = nullptr; member in EGLSyncControlTest
DEGLPresentPathD3D11Test.cpp26 mOSWindow(nullptr), in EGLPresentPathD3D11()
32 mOSWindow = OSWindow::New(); in testSetUp()
34 mOSWindow->initialize("EGLPresentPathD3D11", mWindowWidth, mWindowWidth); in testSetUp()
83 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in createWindowSurface()
159 mOSWindow->destroy(); in testTearDown()
160 OSWindow::Delete(&mOSWindow); in testTearDown()
302 OSWindow *mOSWindow; member in EGLPresentPathD3D11
DEGLDeviceTest.cpp34 mOSWindow(nullptr), in EGLDeviceCreationTest()
76 OSWindow::Delete(&mOSWindow); in testTearDown()
136 mOSWindow = OSWindow::New(); in CreateWindowSurface()
137 mOSWindow->initialize("EGLSurfaceTest", 64, 64); in CreateWindowSurface()
140 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in CreateWindowSurface()
183 OSWindow *mOSWindow; member in EGLDeviceCreationTest
305 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLRobustnessTest.cpp24 mOSWindow = OSWindow::New(); in testSetUp()
25 mOSWindow->initialize("EGLRobustnessTest", 500, 500); in testSetUp()
26 setWindowVisible(mOSWindow, true); in testSetUp()
47 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in testSetUp()
87 eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in testSetUp()
100 OSWindow::Delete(&mOSWindow); in testTearDown()
151 glViewport(0, 0, mOSWindow->getWidth(), mOSWindow->getHeight()); in forceContextReset()
168 OSWindow *mOSWindow = nullptr; member in EGLRobustnessTest
DEGLDirectCompositionTest.cpp42 EGLDirectCompositionTest() : mOSWindow(nullptr) {} in EGLDirectCompositionTest()
52 mOSWindow = OSWindow::New(); in testSetUp()
54 mOSWindow->initialize("EGLDirectCompositionTest", WINDOWWIDTH, WINDOWHEIGHT); in testSetUp()
55 auto nativeWindow = mOSWindow->getNativeWindow(); in testSetUp()
56 setWindowVisible(mOSWindow, true); in testSetUp()
209 OSWindow::Delete(&mOSWindow); in testTearDown()
212 OSWindow *mOSWindow; member in EGLDirectCompositionTest
281 mOSWindow->messageLoop(); in TEST_P()
289 bool success = mOSWindow->takeScreenshot(pixelBuffer); in TEST_P()
DEGLSurfaceTestMac.mm56 mOSWindow = OSWindow::New();
57 mOSWindow->initialize("EGLSurfaceTestMac", kWindowWidth, kWindowHeight);
58 setWindowVisible(mOSWindow, true);
93 if (mOSWindow)
95 OSWindow::Delete(&mOSWindow);
103 EGLNativeWindowType nativeWindow = mOSWindow->getNativeWindow();
118 OSWindow *mOSWindow = nullptr;
DEGLSyncControlTest.cpp58 OSWindow::Delete(&mOSWindow); in TearDown()
104 mOSWindow = OSWindow::New(); in InitializeDisplay()
105 mOSWindow->initialize("EGLSyncControlTest", 64, 64); in InitializeDisplay()
106 mOSWindow->setVisible(true); in InitializeDisplay()
110 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in InitializeDisplay()
132 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in CreateWindowSurface()
165 OSWindow *mOSWindow = nullptr; member in EGLSyncControlTest
DEGLPreRotationTest.cpp63 mOSWindow(nullptr), in EGLPreRotationSurfaceTest()
90 mOSWindow->destroy(); in testTearDown()
91 OSWindow::Delete(&mOSWindow); in testTearDown()
98 mOSWindow = OSWindow::New(); in testSetUp()
99 mOSWindow->initialize("EGLSurfaceTest", mSize, mSize); in testSetUp()
137 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in initializeDisplay()
179 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in initializeSurfaceWithRGBA8888Config()
209 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in initializeSurfaceWithRGBA8888d24s8Config()
289 OSWindow *mOSWindow; member in __anon7b734c300111::EGLPreRotationSurfaceTest
303 setWindowVisible(mOSWindow, true); in TEST_P()
[all …]
DEGLSurfaceTest.cpp44 mOSWindow(nullptr) in EGLSurfaceTest()
49 mOSWindow = OSWindow::New(); in testSetUp()
50 mOSWindow->initialize("EGLSurfaceTest", 64, 64); in testSetUp()
98 mOSWindow->destroy(); in testTearDown()
99 OSWindow::Delete(&mOSWindow); in testTearDown()
121 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in initializeDisplay()
168 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in initializeWindowSurfaceWithAttribs()
277 EXPECT_PIXEL_EQ(mOSWindow->getWidth() / 2, mOSWindow->getHeight() / 2, 255, 0, 0, 255); in drawWithProgram()
294 mWindowSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), in runMessageLoopTest()
301 mOSWindow->signalTestEvent(); in runMessageLoopTest()
[all …]
DEGLDisplayPowerPreferenceTest.cpp71 if (mOSWindow) in terminateWindow()
73 OSWindow::Delete(&mOSWindow); in terminateWindow()
94 mOSWindow = OSWindow::New(); in initializeWindow()
95 mOSWindow->initialize("EGLDisplayPowerPreferenceTestMultiDisplay", kWindowWidth, in initializeWindow()
97 setWindowVisible(mOSWindow, true); in initializeWindow()
119 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in initializeDisplayWithPowerPreference()
245 OSWindow *mOSWindow = nullptr; member in EGLDisplayPowerPreferenceTestMultiDisplay
DEGLPresentPathD3D11Test.cpp26 mOSWindow(nullptr), in EGLPresentPathD3D11()
32 mOSWindow = OSWindow::New(); in testSetUp()
34 mOSWindow->initialize("EGLPresentPathD3D11", mWindowWidth, mWindowWidth); in testSetUp()
83 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in createWindowSurface()
159 mOSWindow->destroy(); in testTearDown()
160 OSWindow::Delete(&mOSWindow); in testTearDown()
302 OSWindow *mOSWindow; member in EGLPresentPathD3D11
DEGLDeviceTest.cpp34 mOSWindow(nullptr), in EGLDeviceCreationTest()
76 OSWindow::Delete(&mOSWindow); in testTearDown()
124 mOSWindow = OSWindow::New(); in CreateWindowSurface()
125 mOSWindow->initialize("EGLSurfaceTest", 64, 64); in CreateWindowSurface()
128 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in CreateWindowSurface()
171 OSWindow *mOSWindow; member in EGLDeviceCreationTest
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLInitializePerf.cpp72 OSWindow *mOSWindow; member in __anon3c5df90d0111::EGLInitializePerfTest
78 : ANGLEPerfTest("EGLInitialize", "", "_run", 1), mOSWindow(nullptr), mDisplay(EGL_NO_DISPLAY) in EGLInitializePerfTest()
98 mOSWindow = OSWindow::New(); in EGLInitializePerfTest()
99 mOSWindow->initialize("EGLInitialize Test", 64, 64); in EGLInitializePerfTest()
110 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in EGLInitializePerfTest()
132 OSWindow::Delete(&mOSWindow); in ~EGLInitializePerfTest()
DEGLMakeCurrentPerf.cpp34 OSWindow *mOSWindow; member in __anon472ecbbc0111::EGLMakeCurrentPerfTest
44 mOSWindow(nullptr), in EGLMakeCurrentPerfTest()
63 mOSWindow = OSWindow::New();
64 mOSWindow->initialize("EGLMakeCurrent Test", 64, 64);
87 EGL_PLATFORM_ANGLE_ANGLE, reinterpret_cast<void *>(mOSWindow->getNativeDisplay()),
119 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in SetUp()
DANGLEPerfTest.cpp642 mOSWindow(nullptr), in ANGLERenderTest()
688 OSWindow::Delete(&mOSWindow); in ~ANGLERenderTest()
709 mOSWindow = OSWindow::New(); in SetUp()
727 if (!mOSWindow->initialize(mName, mTestParams.windowWidth, mTestParams.windowHeight)) in SetUp()
752 mOSWindow, mEntryPointsLib.get(), mTestParams.driver, withMethods, mConfigParams); in SetUp()
848 if (mOSWindow) in TearDown()
850 mOSWindow->destroy(); in TearDown()
851 mOSWindow = nullptr; in TearDown()
933 mOSWindow->messageLoop(); in step()
998 return mOSWindow->popEvent(event); in popEvent()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DEGLInitializePerf.cpp72 OSWindow *mOSWindow; member in __anonf460b1220111::EGLInitializePerfTest
78 : ANGLEPerfTest("EGLInitialize", "_run", 1), mOSWindow(nullptr), mDisplay(EGL_NO_DISPLAY) in EGLInitializePerfTest()
98 mOSWindow = OSWindow::New(); in EGLInitializePerfTest()
99 mOSWindow->initialize("EGLInitialize Test", 64, 64); in EGLInitializePerfTest()
110 reinterpret_cast<void *>(mOSWindow->getNativeDisplay()), in EGLInitializePerfTest()
128 OSWindow::Delete(&mOSWindow); in ~EGLInitializePerfTest()
DEGLMakeCurrentPerf.cpp34 OSWindow *mOSWindow; member in __anonff8886710111::EGLMakeCurrentPerfTest
44 mOSWindow(nullptr), in EGLMakeCurrentPerfTest()
63 mOSWindow = OSWindow::New();
64 mOSWindow->initialize("EGLMakeCurrent Test", 64, 64);
87 EGL_PLATFORM_ANGLE_ANGLE, reinterpret_cast<void *>(mOSWindow->getNativeDisplay()),
119 mSurface = eglCreateWindowSurface(mDisplay, mConfig, mOSWindow->getNativeWindow(), nullptr); in SetUp()
DANGLEPerfTest.cpp367 mOSWindow(nullptr) in ANGLERenderTest()
408 OSWindow::Delete(&mOSWindow); in ~ANGLERenderTest()
429 mOSWindow = OSWindow::New(); in SetUp()
447 if (!mOSWindow->initialize(mName, mTestParams.windowWidth, mTestParams.windowHeight)) in SetUp()
458 if (!mGLWindow->initializeGL(mOSWindow, mEntryPointsLib.get(), withMethods, mConfigParams)) in SetUp()
506 if (mOSWindow) in TearDown()
508 mOSWindow->destroy(); in TearDown()
509 mOSWindow = nullptr; in TearDown()
567 mOSWindow->messageLoop(); in step()
616 return mOSWindow->popEvent(event); in popEvent()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultisampleTest.cpp54 mOSWindow = OSWindow::New(); in testSetUp()
55 mOSWindow->initialize("MultisampleTest", kWindowSize, kWindowSize); in testSetUp()
56 mOSWindow->setVisible(true); in testSetUp()
71 mOSWindow->getNativeWindow(), nullptr); in testSetUp()
99 if (mOSWindow) in testTearDown()
101 OSWindow::Delete(&mOSWindow); in testTearDown()
121 OSWindow *mOSWindow = nullptr; member in __anon0496ff1e0111::MultisampleTest

12