/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | RendererThreeShaderTest.java | 47 GLES20.glUseProgram(mProgram); in doOnDrawFrame() 55 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0); in doOnDrawFrame() 65 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 67 GLES20.glAttachShader(mProgram, vertexShaderOne); in onSurfaceCreated() 68 GLES20.glAttachShader(mProgram, vertexShaderTwo); in onSurfaceCreated() 70 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated() 71 GLES20.glLinkProgram(mProgram); in onSurfaceCreated() 73 GLES20.glGetProgramiv(mProgram, GLES20.GL_LINK_STATUS, linkStatus, 0); in onSurfaceCreated()
|
D | RendererOneShaderTest.java | 48 GLES20.glUseProgram(mProgram); in doOnDrawFrame() 56 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0); in doOnDrawFrame() 65 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 66 GLES20.glAttachShader(mProgram, vertexShaderOne); in onSurfaceCreated() 67 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated() 68 GLES20.glLinkProgram(mProgram); in onSurfaceCreated() 70 GLES20.glGetProgramiv(mProgram, GLES20.GL_LINK_STATUS, linkStatus, 0); in onSurfaceCreated()
|
D | RendererSixShaderTest.java | 33 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 36 GLES20.glAttachShader(mProgram, shaderOne); in onSurfaceCreated() 37 GLES20.glAttachShader(mProgram, shaderTwo); in onSurfaceCreated() 40 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0); in onSurfaceCreated()
|
D | RendererFiveShaderTest.java | 35 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 38 GLES20.glAttachShader(mProgram, shaderOne); in onSurfaceCreated() 39 GLES20.glAttachShader(mProgram, shaderTwo); in onSurfaceCreated() 42 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0); in onSurfaceCreated()
|
D | RendererTwelveShaderTest.java | 36 mProgram = 0; in onSurfaceCreated() 38 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated() 39 GLES20.glLinkProgram(mProgram); in onSurfaceCreated()
|
D | RendererElevenShaderTest.java | 35 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 37 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated() 38 GLES20.glLinkProgram(mProgram); in onSurfaceCreated()
|
D | RendererTenShaderTest.java | 34 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 36 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated() 37 GLES20.glLinkProgram(mProgram); in onSurfaceCreated()
|
D | RendererFourShaderTest.java | 35 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 39 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0); in onSurfaceCreated() 44 GLES20.glLinkProgram(mProgram); in onSurfaceCreated()
|
D | RendererSevenShaderTest.java | 33 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 36 GLES20.glAttachShader(mProgram, shaderOne); in onSurfaceCreated() 37 GLES20.glAttachShader(mProgram, shaderTwo); in onSurfaceCreated()
|
D | RendererNineShaderTest.java | 33 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 37 GLES20.glAttachShader(mProgram, shaderOne); in onSurfaceCreated()
|
D | RendererEightShaderTest.java | 33 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 36 GLES20.glAttachShader(mProgram, shaderOne); in onSurfaceCreated()
|
D | RendererOneProgramTest.java | 34 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 36 GLES20.glAttachShader(mProgram, mProgramTwo); in onSurfaceCreated()
|
D | RendererTwoShaderTest.java | 45 mProgram = GLES20.glCreateProgram(); in onSurfaceCreated() 47 GLES20.glAttachShader(mProgram, vertexShaderOne); in onSurfaceCreated()
|
D | RendererBase.java | 31 int mProgram; field in RendererBase
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TextureRender.java | 77 private int mProgram; field in TextureRender 104 GLES20.glUseProgram(mProgram); in drawFrame() 137 mProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER); in surfaceCreated() 138 if (mProgram == 0) { in surfaceCreated() 141 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in surfaceCreated() 146 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord"); in surfaceCreated() 152 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in surfaceCreated() 158 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in surfaceCreated() 187 GLES20.glDeleteProgram(mProgram); in changeFragmentShader() 188 mProgram = createProgram(VERTEX_SHADER, fragmentShader); in changeFragmentShader() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaTextureRender.java | 81 private int mProgram; field in CtsMediaTextureRender 108 GLES20.glUseProgram(mProgram); in drawFrame() 141 mProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER); in surfaceCreated() 142 if (mProgram == 0) { in surfaceCreated() 145 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in surfaceCreated() 150 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord"); in surfaceCreated() 156 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in surfaceCreated() 162 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in surfaceCreated() 191 GLES20.glDeleteProgram(mProgram); in changeFragmentShader() 192 mProgram = createProgram(VERTEX_SHADER, fragmentShader); in changeFragmentShader() [all …]
|
/cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 95 Renderer(window, offscreen), mProgram(NULL), mSceneGraph(NULL), in FullPipelineRenderer() 110 mProgram = new PerspectiveProgram(mProgramId); in setUp() 155 mSceneGraph = new ProgramNode(*mProgram); in setUp() 185 delete mProgram; in tearDown() 186 mProgram = NULL; in tearDown()
|
D | FullPipelineRenderer.h | 31 Program* mProgram;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | SurfaceTextureRenderer.java | 79 private int mProgram; field in SurfaceTextureRenderer 116 GLES20.glUseProgram(mProgram); in onDrawFrame() 165 mProgram = createProgram(mVertexShader, mFragmentShader); in onSurfaceCreated() 166 if (mProgram == 0) { in onSurfaceCreated() 169 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 174 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord"); in onSurfaceCreated() 180 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated() 186 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in onSurfaceCreated()
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
D | ProgramNode.cpp | 18 mProgram(program) { in ProgramNode() 30 SceneGraphNode::draw(mProgram, model, view, projection); in drawProgram()
|
D | ProgramNode.h | 29 Program& mProgram; variable
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 77 private int mProgram; // shader program field in PlanetsRenderer 134 mProgram = createProgram(getVertexShader(), getFragmentShader()); in onSurfaceCreated() 135 if (mProgram == 0) { in onSurfaceCreated() 139 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated() 140 mOffsetHandle = GLES20.glGetUniformLocation(mProgram, "uOffset"); in onSurfaceCreated() 141 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition"); in onSurfaceCreated() 142 mTexCoord0Handle = GLES20.glGetAttribLocation(mProgram, "vTexCoord0"); in onSurfaceCreated() 143 mTextureHandle = GLES20.glGetUniformLocation(mProgram, "sTexture"); in onSurfaceCreated() 161 GLES20.glUseProgram(mProgram); in onDrawFrame()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | CompressedTextureSurfaceView.java | 117 private int mProgram; field in CompressedTextureSurfaceView.CompressedTextureRender 169 GLES20.glUseProgram(mProgram); in renderQuad() 243 if (mProgram == 0) { in onDrawFrame() 318 mProgram = createProgram(mVertexShader, mFragmentShader); in onSurfaceCreated() 319 if (mProgram == 0) { in onSurfaceCreated() 322 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 327 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord"); in onSurfaceCreated() 333 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated()
|
D | EglConfigGLSurfaceView.java | 131 private int mProgram; field in EglConfigGLSurfaceView.Renderer20 138 mProgram = createProgram(mVertexShader, mFragmentShader); in onSurfaceCreated() 139 if (mProgram == 0) { in onSurfaceCreated() 143 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 220 GLES20.glUseProgram(mProgram); in onDrawFrame()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | CameraGLTest.java | 678 GLES20.glUseProgram(mProgram); in onDrawFrame() 724 mProgram = createProgram(mVertexShader, mFragmentShader); in onSurfaceCreated() 725 if (mProgram == 0) { in onSurfaceCreated() 728 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 733 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord"); in onSurfaceCreated() 739 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated() 745 muSTMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uSTMatrix"); in onSurfaceCreated() 751 muCRatioHandle = GLES20.glGetUniformLocation(mProgram, "uCRatio"); in onSurfaceCreated() 883 private int mProgram; field in CameraGLTest.Renderer
|