Home
last modified time | relevance | path

Searched refs:fragmentShader (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/opengl/libopengltest/
Dattach_shader_nine.cpp26 GLuint fragmentShader = 0; in attachShaderNine() local
28 glAttachShader(program, fragmentShader); in attachShaderNine()
32 glDeleteShader(fragmentShader); in attachShaderNine()
Dattach_shader_eight.cpp26 GLuint fragmentShader = glCreateShader(GL_FRAGMENT_SHADER); in attachShaderEight() local
29 glAttachShader(program, fragmentShader); in attachShaderEight()
33 glDeleteShader(fragmentShader); in attachShaderEight()
Dattach_shader_ten.cpp27 … GLuint fragmentShader = loadShader(GL_FRAGMENT_SHADER, attach_shader_successful_complile_shader); in attachShaderTen() local
29 glAttachShader(program, fragmentShader); in attachShaderTen()
42 glDeleteShader(fragmentShader); in attachShaderTen()
Dattach_shader_six.cpp26 GLuint fragmentShader = glCreateShader(GL_FRAGMENT_SHADER); in attachShaderSix() local
30 glAttachShader(program, fragmentShader); in attachShaderSix()
Dcolor_one.cpp40 GLuint fragmentShader = loadShader(GL_FRAGMENT_SHADER, color_one_fragment_shader_one); in initColorOne() local
47 glAttachShader(gProgram, fragmentShader); in initColorOne()
/cts/tests/tests/opengl/src/android/opengl/cts/
DRendererTwelveShaderTest.java34 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
36 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated()
DRendererTenShaderTest.java33 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
36 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated()
DRendererOneShaderTest.java64 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
67 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated()
DRendererThreeShaderTest.java64 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
70 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated()
DRendererOneColorBufferTest.java147 int fragmentShader; in onSurfaceCreated() local
153 fragmentShader = LoadShader(GLES20.GL_FRAGMENT_SHADER, fShaderStr); in onSurfaceCreated()
162 GLES20.glAttachShader(programObject, fragmentShader); in onSurfaceCreated()
DRendererTwoShaderTest.java44 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
/cts/tests/vr/src/android/vr/cts/
DRendererProtectedTexturesTest.java54 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
57 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated()
DRendererBasicTest.java98 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in onSurfaceCreated() local
101 GLES20.glAttachShader(mProgram, fragmentShader); in onSurfaceCreated()
/cts/tests/openglperf2/jni/graphics/
DGLUtils.cpp161 GLuint fragmentShader = loadShader(GL_FRAGMENT_SHADER, fragmentSource); in createProgram() local
162 if (!fragmentShader) { in createProgram()
169 glAttachShader(program, fragmentShader); in createProgram()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DRectangleRenderable.java76 final String fragmentShader = ShaderHelper.getRectangleFragmentShader(); in initialiseRectangle() local
81 ShaderHelper.compileShader(GLES20.GL_FRAGMENT_SHADER, fragmentShader); in initialiseRectangle()
DCameraPreviewRenderable.java88 final String fragmentShader = ShaderHelper.getCameraPreviewFragmentShader(); in initialiseCameraPreview() local
93 ShaderHelper.compileShader(GLES20.GL_FRAGMENT_SHADER, fragmentShader); in initialiseCameraPreview()
DConeRenderable.java85 final String fragmentShader = ShaderHelper.getAugmentedRealityFragmentShader(); in initialise() local
90 ShaderHelper.compileShader(GLES20.GL_FRAGMENT_SHADER, fragmentShader); in initialise()
DRingRenderable.java111 final String fragmentShader = ShaderHelper.getAugmentedRealityFragmentShader(); in initialise() local
116 ShaderHelper.compileShader(GLES20.GL_FRAGMENT_SHADER, fragmentShader); in initialise()
/cts/tests/tests/media/src/android/media/cts/
DOutputSurface.java221 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
222 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()
DTextureRender.java186 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
188 mProgram = createProgram(VERTEX_SHADER, fragmentShader); in changeFragmentShader()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java225 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
226 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()
DCtsMediaTextureRender.java190 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
192 mProgram = createProgram(VERTEX_SHADER, fragmentShader); in changeFragmentShader()