diff options
author | Joe Fernandez <joefernandez@google.com> | 2013-04-10 14:30:17 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-10 14:30:17 -0700 |
commit | 767e8747b4c3b08f75f48dc2b3d3baf7d6d37af8 (patch) | |
tree | c67d452f8af057c9d61bca5c395007692cec0800 /docs | |
parent | 064fab54d743c6b00319ec08669e8b0872625317 (diff) | |
parent | 0b6162e148db58ff8f8a5f0a3422933cd0005216 (diff) | |
download | frameworks_base-767e8747b4c3b08f75f48dc2b3d3baf7d6d37af8.zip frameworks_base-767e8747b4c3b08f75f48dc2b3d3baf7d6d37af8.tar.gz frameworks_base-767e8747b4c3b08f75f48dc2b3d3baf7d6d37af8.tar.bz2 |
am 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '0b6162e148db58ff8f8a5f0a3422933cd0005216':
docs: OpenGL Dev Guide, fix bug: 6104328
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/topics/graphics/opengl.jd | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/html/guide/topics/graphics/opengl.jd b/docs/html/guide/topics/graphics/opengl.jd index 5630e63..3ec71b2 100644 --- a/docs/html/guide/topics/graphics/opengl.jd +++ b/docs/html/guide/topics/graphics/opengl.jd @@ -138,7 +138,7 @@ calling OpenGL APIs using the following classes:</p> <li>{@link android.opengl.GLES10}</li> <li>{@link android.opengl.GLES10Ext}</li> <li>{@link android.opengl.GLES11}</li> - <li>{@link android.opengl.GLES10Ext}</li> + <li>{@link android.opengl.GLES11Ext}</li> </ul> </li> <li>{@link javax.microedition.khronos.opengles} - This package provides the standard @@ -289,13 +289,14 @@ matrices to the coordinates of objects that use this shader. private final String vertexShaderCode = // This matrix member variable provides a hook to manipulate - // the coordinates of objects that use this vertex shader + // the coordinates of objects that use this vertex shader. "uniform mat4 uMVPMatrix; \n" + "attribute vec4 vPosition; \n" + "void main(){ \n" + - - // the matrix must be included as part of gl_Position + // The matrix must be included as part of gl_Position + // Note that the uMVPMatrix factor *must be first* in order + // for the matrix multiplication product to be correct. " gl_Position = uMVPMatrix * vPosition; \n" + "} \n"; |