/external/autotest/client/deps/glbench/src/ |
fillratetest.cc | 93 GLint position_attribute = glGetAttribLocation(program, "position"); local 94 glVertexAttribPointer(position_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); 95 glEnableVertexAttribArray(position_attribute); 106 position_attribute = glGetAttribLocation(program, "position"); 108 glVertexAttribPointer(position_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); 109 glEnableVertexAttribArray(position_attribute); 171 GLint position_attribute = glGetAttribLocation(program, "position"); local 172 glVertexAttribPointer(position_attribute, 2, GL_FLOAT, GL_FALSE, 0, NULL); 173 glEnableVertexAttribArray(position_attribute);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ImmediateModeRenderer20.java | 84 attribs.add(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE));
178 String shader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n"
193 shader += "void main() {\n" + " gl_Position = u_projModelView * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n"
|
ShaderProgram.java | 71 public static final String POSITION_ATTRIBUTE = "a_position";
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 69 private static final String POSITION_ATTRIBUTE = "aPosition"; 79 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 81 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 95 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 98 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 105 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 109 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 217 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITION 222 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITION 229 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITIO [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 69 private static final String POSITION_ATTRIBUTE = "aPosition"; 79 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 81 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 95 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 98 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 105 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 109 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 217 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITION 222 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITION 229 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITIO [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 67 private static final String POSITION_ATTRIBUTE = "aPosition"; 77 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 79 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 93 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 96 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 103 + "attribute vec2 " + POSITION_ATTRIBUTE + ";\n" 107 + " vec4 pos = vec4(" + POSITION_ATTRIBUTE + ", 0.0, 1.0);\n" 215 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITION 220 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITION 227 new AttributeShaderParameter(POSITION_ATTRIBUTE), // INDEX_POSITIO [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
DistanceFieldFont.java | 99 String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" // 110 + " gl_Position = u_projTrans * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
|
SpriteBatch.java | 102 ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.ColorPacked, 4, ShaderProgram.COLOR_ATTRIBUTE),
131 String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
143 + " gl_Position = u_projTrans * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
|
SpriteCache.java | 119 ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.ColorPacked, 4, ShaderProgram.COLOR_ATTRIBUTE),
976 String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
988 + " gl_Position = u_projectionViewMatrix * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
|
Batch.java | 204 * {@link ShaderProgram#POSITION_ATTRIBUTE}, {@link ShaderProgram#COLOR_ATTRIBUTE} and {@link ShaderProgram#TEXCOORD_ATTRIBUTE}
|
PolygonSpriteBatch.java | 124 new VertexAttribute(Usage.Position, 2, ShaderProgram.POSITION_ATTRIBUTE),
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
CameraGroupStrategy.java | 180 String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
191 + " gl_Position = u_projectionViewMatrix * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
|
DecalBatch.java | 96 VertexAttributes.Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
VertexAttribute.java | 82 return new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
MipMapTest.java | 65 mesh = new Mesh(true, 4, 4, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(
|
EarClippingTriangulatorTest.java | 251 // new VertexAttribute(Usage.Position, 2, ShaderProgram.POSITION_ATTRIBUTE));
253 // ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.Color, 4, ShaderProgram.COLOR_ATTRIBUTE));
|
ProjectiveTextureTest.java | 83 plane = new Mesh(true, 4, 6, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/ |
PointSpriteParticleBatch.java | 36 new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE),
|
BillboardParticleBatch.java | 45 GPU_ATTRIBUTES = new VertexAttributes(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 50 GPU_EXT_ATTRIBUTES = new VertexAttributes(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 56 CPU_ATTRIBUTES = new VertexAttributes( new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE),
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
SoftBodyTest.java | 95 mesh = new Mesh(false, vertCount, faceCount * 3, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE),
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
ObjLoader.java | 242 attributes.add(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
MultipleRenderTargetTest.java | 322 new VertexAttribute(VertexAttributes.Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE),
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
MeshBuilder.java | 120 attrs.add(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE));
[all...] |