Android: Remove debug output from platform window

Some debug info and a #warning had somehow made it through :)

Change-Id: I420a7637bfd5d1a79a342eacefcc35430994feff
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2014-01-21 10:44:01 +01:00 committed by The Qt Project
parent afe3902a30
commit 4c4f336160

View File

@ -51,9 +51,6 @@
#include <android/native_window.h>
#include <android/native_window_jni.h>
#warning remove me
#include <QDebug>
QT_BEGIN_NAMESPACE
QAndroidPlatformOpenGLWindow::QAndroidPlatformOpenGLWindow(QWindow *window, EGLDisplay display)
@ -80,7 +77,6 @@ void QAndroidPlatformOpenGLWindow::setGeometry(const QRect &rect)
if (rect == geometry())
return;
qDebug() << rect;
QAndroidPlatformWindow::setGeometry(rect);
QtAndroid::setSurfaceGeometry(m_nativeSurfaceId, rect);
}
@ -99,7 +95,6 @@ EGLSurface QAndroidPlatformOpenGLWindow::eglSurface(EGLConfig config)
void QAndroidPlatformOpenGLWindow::checkNativeSurface(EGLConfig config)
{
QMutexLocker lock(&m_surfaceMutex);
qDebug() << geometry() << m_changedAndroidSurface.isValid();
if (m_nativeSurfaceId == -1 || !m_changedAndroidSurface.isValid())
return;
@ -147,7 +142,6 @@ void QAndroidPlatformOpenGLWindow::surfaceChanged(JNIEnv *jniEnv, jobject surfac
Q_UNUSED(jniEnv);
Q_UNUSED(w);
Q_UNUSED(h);
qDebug() << w << h;
lockSurface();
m_changedAndroidSurface = surface;
m_surfaceWaitCondition.wakeOne();