diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-06-01 09:58:27 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-06-01 10:32:12 +0000 |
commit | b34296671b0a1a314153cefd817c06478839d65d (patch) | |
tree | 30478f10a99e64762f789258202caa308af8b571 /tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | |
parent | 6f6983aed09a8dce72848b0cf3e3540a04306b08 (diff) |
Change graphicsAPI to graphicsApi
Change-Id: I065f17abd1cb71cd8d6ead76abf7a544eb7a99c0
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickwindow/tst_qquickwindow.cpp')
-rw-r--r-- | tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp index 138f2759a4..0985198d65 100644 --- a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp +++ b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp @@ -393,7 +393,7 @@ void tst_qquickwindow::openglContextCreatedSignal() window.show(); QTest::qWaitForWindowExposed(&window); - if (window.rendererInterface()->graphicsAPI() != QSGRendererInterface::OpenGL) + if (window.rendererInterface()->graphicsApi() != QSGRendererInterface::OpenGL) QSKIP("Skipping OpenGL context test due to not running with OpenGL"); QVERIFY(spy.size() > 0); @@ -1240,7 +1240,7 @@ void tst_qquickwindow::headless() // Verify that the window is alive and kicking QVERIFY(window->isSceneGraphInitialized()); - const bool isGL = window->rendererInterface()->graphicsAPI() == QSGRendererInterface::OpenGL; + const bool isGL = window->rendererInterface()->graphicsApi() == QSGRendererInterface::OpenGL; // Store the visual result QImage originalContent = window->grabWindow(); @@ -1614,7 +1614,7 @@ void tst_qquickwindow::hideThenDelete() QTest::qWaitForWindowExposed(&window); const bool threaded = QQuickWindowPrivate::get(&window)->context->thread() != QGuiApplication::instance()->thread(); - const bool isGL = window.rendererInterface()->graphicsAPI() == QSGRendererInterface::OpenGL; + const bool isGL = window.rendererInterface()->graphicsApi() == QSGRendererInterface::OpenGL; #ifndef QT_NO_OPENGL if (isGL) openglDestroyed = new QSignalSpy(window.openglContext(), SIGNAL(aboutToBeDestroyed())); @@ -2044,7 +2044,7 @@ void tst_qquickwindow::defaultSurfaceFormat() window.show(); QVERIFY(QTest::qWaitForWindowExposed(&window)); - if (window.rendererInterface()->graphicsAPI() != QSGRendererInterface::OpenGL) + if (window.rendererInterface()->graphicsApi() != QSGRendererInterface::OpenGL) QSKIP("Skipping OpenGL context test due to not running with OpenGL"); const QSurfaceFormat reqFmt = window.requestedFormat(); @@ -2182,7 +2182,7 @@ void tst_qquickwindow::testRenderJob() QCOMPARE(completedJobs.size(), 1); #ifndef QT_NO_OPENGL - if (window.rendererInterface()->graphicsAPI() == QSGRendererInterface::OpenGL) { + if (window.rendererInterface()->graphicsApi() == QSGRendererInterface::OpenGL) { // Do a synchronized GL job. GLubyte readPixel[4] = {0, 0, 0, 0}; GlRenderJob *glJob = new GlRenderJob(readPixel); |