From e3715098dc137f776b551376c294f06a870425b6 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 1 Dec 2016 19:09:53 +1300 Subject: maxVaryingVectors variable loaded into canvas3D This is very important on low power hardware and affects shader design --- src/main/java/org/jogamp/java3d/Canvas3D.java | 6 ++++++ src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'src') diff --git a/src/main/java/org/jogamp/java3d/Canvas3D.java b/src/main/java/org/jogamp/java3d/Canvas3D.java index b4d5bcb..fe21197 100644 --- a/src/main/java/org/jogamp/java3d/Canvas3D.java +++ b/src/main/java/org/jogamp/java3d/Canvas3D.java @@ -795,6 +795,8 @@ ArrayList textureIdResourceFreeList = new ArrayList(); // Max number of vertex attrs (not counting coord, etc.) int maxVertexAttrs = 0; + + int maxVaryingVectors = 0; // End of variables set by createNewContext()/createQueryContext() @@ -3741,8 +3743,12 @@ ArrayList textureIDResourceTable = new ArrayList