From 29ad35ab598b6d97367e2e9763f0d2a96c52bcaa Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 8 Jul 2019 06:15:59 +0200 Subject: NEWT iOS: Support translucent windows and remove the redColor default background (debug only). IOSUtil.CreateUIWindow(..) also gets its 'visible' attribute, to be true only for demo Hello1 code - false for intended Proxy Surface Hook. --- src/demos/com/jogamp/opengl/demos/ios/Hello.java | 4 ++++ src/demos/com/jogamp/opengl/demos/ios/Hello1.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/demos/com') diff --git a/src/demos/com/jogamp/opengl/demos/ios/Hello.java b/src/demos/com/jogamp/opengl/demos/ios/Hello.java index 378868bea..5750c7b90 100644 --- a/src/demos/com/jogamp/opengl/demos/ios/Hello.java +++ b/src/demos/com/jogamp/opengl/demos/ios/Hello.java @@ -67,6 +67,7 @@ public class Hello { int secondsDuration = 10; // 10s int width = 832, height = 480; // ipad pro 11: 2388x1668 px (scale: 2) int fboDepthBits = -1; // CAEAGLLayer fails with depth 16 + 24 in Simulation; -1 means don't change + boolean translucent = false; boolean exitJVM = false; String demoName = "com.jogamp.opengl.demos.es2.GearsES2"; for(int i=0; i