Home
last modified time | relevance | path

Searched refs:mProgramHandle (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DConeRenderable.java92 mProgramHandle = ShaderHelper.createAndLinkProgram(vertexShaderHandle, fragmentShaderHandle, in initialise()
116 GLES20.glUseProgram(mProgramHandle); in draw()
119 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVPMatrix"); in draw()
120 mMVMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVMatrix"); in draw()
121 mPositionHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Position"); in draw()
122 mColorHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Color"); in draw()
125 mLightPosHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_LightPos"); in draw()
126 mLightStrengthHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_LightStrength"); in draw()
127 mNormalHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Normal"); in draw()
DRingRenderable.java118 mProgramHandle = ShaderHelper.createAndLinkProgram(vertexShaderHandle, fragmentShaderHandle, in initialise()
124 GLES20.glUseProgram(mProgramHandle); in draw()
127 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVPMatrix"); in draw()
128 mMVMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVMatrix"); in draw()
129 mPositionHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Position"); in draw()
130 mColorHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Color"); in draw()
133 mLightPosHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_LightPos"); in draw()
134 mLightStrengthHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_LightStrength"); in draw()
135 mNormalHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Normal"); in draw()
DCameraPreviewRenderable.java95 mProgramHandle = ShaderHelper.createAndLinkProgram(vertexShaderHandle, fragmentShaderHandle, in initialiseCameraPreview()
105 GLES20.glUseProgram(mProgramHandle); in draw()
108 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVPMatrix"); in draw()
109 mMVMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVMatrix"); in draw()
110 mTextureUniformHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_Texture"); in draw()
111 mPositionHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Position"); in draw()
112 mTextureCoordinateHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_TexCoordinate"); in draw()
DRectangleRenderable.java83 mProgramHandle = ShaderHelper.createAndLinkProgram(vertexShaderHandle, fragmentShaderHandle, in initialiseRectangle()
89 GLES20.glUseProgram(mProgramHandle); in draw()
92 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVPMatrix"); in draw()
93 mMVMatrixHandle = GLES20.glGetUniformLocation(mProgramHandle, "u_MVMatrix"); in draw()
94 mPositionHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Position"); in draw()
95 mColorHandle = GLES20.glGetAttribLocation(mProgramHandle, "a_Color"); in draw()
DRenderable.java38 protected int mProgramHandle; field in Renderable