aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2014-08-14 11:51:15 -0700
committerSiva Velusamy <vsiva@google.com>2014-08-14 11:51:15 -0700
commita1394e92cfde2cbcbf3121c37a43b186d47efb51 (patch)
tree600734143a78b987dd54ba77eab66bf174fe6c1a /eclipse
parentf68260f91fe2eee6687d6108eaff2d8f9319937d (diff)
downloadsdk-a1394e92cfde2cbcbf3121c37a43b186d47efb51.zip
sdk-a1394e92cfde2cbcbf3121c37a43b186d47efb51.tar.gz
sdk-a1394e92cfde2cbcbf3121c37a43b186d47efb51.tar.bz2
gltrace: Increase TEXTURE_UNIT_COUNT and MAX_VERTEX_ATTRIBS
This is a short term workaround until the state information can be updated properly with actual values from the device. Change-Id: I4387613f320deb9a88d3810a81910f348c9839f6
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/GLState.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/GLState.java b/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/GLState.java
index 6230586..04ce676 100644
--- a/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/GLState.java
+++ b/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/GLState.java
@@ -23,10 +23,10 @@ import java.util.Collections;
public class GLState {
/** # of texture units modeled in the GL State. */
- public static final int TEXTURE_UNIT_COUNT = 16;
+ public static final int TEXTURE_UNIT_COUNT = 32;
/** # of vertex attributes */
- private static final int MAX_VERTEX_ATTRIBS = 8;
+ private static final int MAX_VERTEX_ATTRIBS = 16;
private static GLState sGLState = new GLState();