DescriptionAdded simple vertex shader demo. I had to make the following modifications to third-party code:
- Changed client-side vertex array to VBO
- Used GL_UNSIGNED_SHORT instead of GL_UNSIGNED_INT in glDrawElements because GL_UNSIGNED_INT is not supported for by OpenGL ES 2.0 for indices
BUG=26099
TEST=Run simple_vertex_shader executable, you should see a rotating cube.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36127
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 2
Messages
Total messages: 9 (0 generated)
|