Print more info if a draw call is out of bounds

Change-Id: I8f35d27a76d8b023f63543f2afdd4dc9c2a18a0b
diff --git a/system/GLESv2_enc/GL2Encoder.cpp b/system/GLESv2_enc/GL2Encoder.cpp
index f502df9..5eeaf7f 100755
--- a/system/GLESv2_enc/GL2Encoder.cpp
+++ b/system/GLESv2_enc/GL2Encoder.cpp
@@ -711,6 +711,9 @@
                     }
                 } else {
                     ALOGE("a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute.");
+                    ALOGE("Out of bounds vertex attribute info: "
+                          "attribute %d allocedBufferSize %u bufferDataSpecified? %d wantedStart %u wantedEnd %u",
+                          i, buf->m_size, buf != NULL, firstIndex, firstIndex + bufLen);
                     m_glDisableVertexAttribArray_enc(this, i);
                 }
             }