javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/internal/qt/graphics/WindowSurface.java
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/internal/qt/graphics/WindowSurface.java Fri Sep 17 16:44:34 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/internal/qt/graphics/WindowSurface.java Mon Oct 04 11:29:25 2010 +0300
@@ -160,6 +160,17 @@
OS.windowsurface_refresh(handle);
}
+ /**
+ * Switch to software rendering when the window is going invisible
+ * and back to hardware accelerated rendering when going visible.
+ * @param goingVisible True if the window is about to become visible (partially or fully).
+ * False if the window is about to become invisible (fully).
+ */
+ public void handleSymbianWindowVisibilityChange(boolean goingVisible)
+ {
+ OS.windowsurface_handleSymbianWindowVisibilityChange(handle, goingVisible);
+ }
+
private void checkState() {
Utils.validateUiThread();
if (disposed) {