Home
last modified time | relevance | path

Searched refs:GL_FLOAT (Results 1 – 25 of 70) 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/libs/hwui/renderstate/
DMeshState.cpp121 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindPositionVertexPointer()
132 glVertexAttribPointer(Program::kBindingTexCoords, 2, GL_FLOAT, GL_FALSE, stride, vertices); in bindTexCoordsVertexPointer()
DRenderState.cpp332 … glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, vertices.stride, vertices.color); in render()
340 glVertexAttribPointer(alphaLocation, 1, GL_FLOAT, GL_FALSE, vertices.stride, alphaCoords); in render()
/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.cpp179 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
180 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.java220 ((type == GL_FLOAT) || in glColorPointer()
790 if (((type == GL_FLOAT) || in glNormalPointer()
987 ((type == GL_FLOAT) || in glTexCoordPointer()
1132 ((type == GL_FLOAT) || in glVertexPointer()
1613 if (((type == GL_FLOAT) || in glPointSizePointerOES()
1851 ((type == GL_FLOAT) || in glMatrixIndexPointerOES()
/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/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/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/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp251 GL_FLOAT, GL_FALSE,
258 GL_FLOAT, GL_FALSE,
DGLES11RenderEngine.cpp277 GL_FLOAT,
283 GL_FLOAT,
/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/base/libs/hwui/
DDither.cpp58 GL_RED, GL_FLOAT, &pattern); in bindDitherTexture()
/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/native/libs/gui/tests/
DTextureRenderer.cpp80 glVertexAttribPointer(mPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, in drawTexture()
/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()
323 case GL_FLOAT: in init()
1251 case GL_FLOAT: in glVertexPointer()
1271 case GL_FLOAT: in glColorPointer()
1292 case GL_FLOAT: in glNormalPointer()
1313 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()
/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()

123