OSDN Git Service
(root)
/
android-x86
/
device-generic-goldfish-opengl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2a31d
)
Print more info if a draw call is out of bounds
author
Lingfeng Yang
<lfy@google.com>
Fri, 2 Dec 2016 20:32:41 +0000
(12:32 -0800)
committer
Lingfeng Yang
<lfy@google.com>
Fri, 2 Dec 2016 20:32:41 +0000
(12:32 -0800)
Change-Id: I8f35d27a76d8b023f63543f2afdd4dc9c2a18a0b
system/GLESv2_enc/GL2Encoder.cpp
patch
|
blob
|
history
diff --git
a/system/GLESv2_enc/GL2Encoder.cpp
b/system/GLESv2_enc/GL2Encoder.cpp
index
f502df9
..
5eeaf7f
100755
(executable)
--- a/
system/GLESv2_enc/GL2Encoder.cpp
+++ b/
system/GLESv2_enc/GL2Encoder.cpp
@@
-711,6
+711,9
@@
void GL2Encoder::sendVertexAttributes(GLint first, GLsizei count, bool hasClient
}
} 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);
}
}