Home
last modified time | relevance | path

Searched refs:GL_FLOAT (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx); in setupVA()
186 glVertexAttribPointer(A_COLOR, 4, GL_FLOAT, false, 16, color); in setupVA()
187 glVertexAttribPointer(A_TEX0, 2, GL_FLOAT, false, 8, tex0); in setupVA()
188 glVertexAttribPointer(A_TEX1, 2, GL_FLOAT, false, 8, tex1); in setupVA()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp104 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
105 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/cmds/flatland/
DRenderers.cpp101 glVertexAttribPointer(mPosAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, pos); in drawGradient()
102 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv); in drawGradient()
DComposers.cpp77 glVertexAttribPointer(mPosAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, pos); in modBlit()
78 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv); in modBlit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageGLWallpaper.java19 import static android.opengl.GLES20.GL_FLOAT;
126 glVertexAttribPointer(mAttrPosition, POSITION_COMPONENT_COUNT, GL_FLOAT, in setupAttributes()
132 glVertexAttribPointer(mAttrTextureCoordinates, TEXTURE_COMPONENT_COUNT, GL_FLOAT, in setupAttributes()
/frameworks/base/opengl/java/android/opengl/
DGLES10.java74 public static final int GL_FLOAT = 0x1406; field in GLES10
406 ((type == GL_FLOAT) || in glColorPointer()
965 if (((type == GL_FLOAT) || in glNormalPointer()
1162 ((type == GL_FLOAT) || in glTexCoordPointer()
1307 ((type == GL_FLOAT) || in glVertexPointer()
DGLES11Ext.java140 private static final int GL_FLOAT = GLES10.GL_FLOAT; field in GLES11Ext
905 ((type == GL_FLOAT) || in glMatrixIndexPointerOES()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp119 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
120 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp181 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
182 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java139 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, vb); in onDrawFrame()
148 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, vb); in onDrawFrame()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java223 ((type == GL_FLOAT) || in glColorPointer()
793 if (((type == GL_FLOAT) || in glNormalPointer()
990 ((type == GL_FLOAT) || in glTexCoordPointer()
1135 ((type == GL_FLOAT) || in glVertexPointer()
1616 if (((type == GL_FLOAT) || in glPointSizePointerOES()
1854 ((type == GL_FLOAT) || in glMatrixIndexPointerOES()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp246 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()
269 glVertexAttribPointer(gvTexturePositionHandle, 3, GL_FLOAT, GL_FALSE, in renderFrame()
272 glVertexAttribPointer(gvTextureTexCoordsHandle, 2, GL_FLOAT, GL_FALSE, in renderFrame()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java40 import static android.opengl.GLES20.GL_FLOAT;
170 glVertexAttribPointer(attribPosition, 3, GL_FLOAT, false, in run()
175 glVertexAttribPointer(attribTexCoords, 3, GL_FLOAT, false, in run()
/frameworks/av/cmds/screenrecord/
DProgram.cpp261 glVertexAttribPointer(maPositionLoc, 2, GL_FLOAT, GL_FALSE, 0, vertices); in beforeDraw()
262 glVertexAttribPointer(maTextureCoordLoc, 2, GL_FLOAT, GL_FALSE, 0, texes); in beforeDraw()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java134 … GLES20.glVertexAttribPointer(mvPositionHandle, 2, GLES20.GL_FLOAT, false, 6*4, mTriangleVertices); in onDrawFrame()
137 … GLES20.glVertexAttribPointer(mvColorHandle, 4, GLES20.GL_FLOAT, false, 6*4, mTriangleVertices); in onDrawFrame()
/frameworks/native/libs/gui/tests/
DTextureRenderer.cpp80 glVertexAttribPointer(mPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, in drawTexture()
DMultiTextureConsumer_test.cpp115 glVertexPointer(2, GL_FLOAT, 0, vertices); in TEST_F()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java115 GLES20.glVertexAttribPointer(maPositionHandle, 3, GLES20.GL_FLOAT, false, in onDrawFrame()
122 GLES20.glVertexAttribPointer(maTextureHandle, 3, GLES20.GL_FLOAT, false, in onDrawFrame()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp63 type(GL_FLOAT), in VertexAttrib()
396 glVertexAttribPointer(attr, 2, GL_FLOAT, false, 2 * sizeof(float), data); in PushCoords()
773 case GL_FLOAT: in SetUniformValue()
869 case GL_FLOAT: { in GetUniformValue()
1027 attrib.type = GL_FLOAT; in SetAttributeValues()
/frameworks/native/opengl/libagl/
Darray.cpp108 c->arrays.vertex.type = GL_FLOAT; in ogles_init_array()
110 c->arrays.color.type = GL_FLOAT; in ogles_init_array()
112 c->arrays.normal.type = GL_FLOAT; in ogles_init_array()
115 c->arrays.texture[i].type = GL_FLOAT; in ogles_init_array()
320 case GL_FLOAT: in init()
1249 case GL_FLOAT: in glVertexPointer()
1269 case GL_FLOAT: in glColorPointer()
1290 case GL_FLOAT: in glNormalPointer()
1311 case GL_FLOAT: in glTexCoordPointer()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java153 GLES20.glVertexAttribPointer(maPositionHandle, 3, GLES20.GL_FLOAT, false, in onDrawFrame()
159 GLES20.glVertexAttribPointer(maTextureHandle, 2, GLES20.GL_FLOAT, false, in onDrawFrame()
DGLTextureViewActivity.java217 glVertexAttribPointer(attribPosition, 3, GL_FLOAT, false, in run()
222 glVertexAttribPointer(attribTexCoords, 3, GL_FLOAT, false, in run()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java365 case GLES20.GL_FLOAT: in setUniformValue()
402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data); in setAttributeValues()
646 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mSourceCoords); in updateSourceCoordAttribute()
658 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mTargetCoords); in updateTargetCoordAttribute()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DTriangleRenderer.java156 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mFVertexBuffer); in draw()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp148 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()

123