Home
last modified time | relevance | path

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

12

/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/hostsidetests/adpf/app/hintsession/src/cpp/
DShader.cpp37 GLuint fragmentShader = loadShader(GL_FRAGMENT_SHADER, fragmentSource); in loadShader() local
38 if (!fragmentShader) { in loadShader()
47 glAttachShader(program, fragmentShader); in loadShader()
85 glDeleteShader(fragmentShader); in loadShader()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DMeshTest.kt513 val fragmentShader = ("layout(color) uniform float4 color;" + in <lambda>() constant
520 simpleVertexShader, fragmentShader in <lambda>()
553 val fragmentShader = ("layout(color) uniform float4 color;" + in <lambda>() constant
560 simpleVertexShader, fragmentShader in <lambda>()
593 val fragmentShader = ("layout(color) uniform float4 color;" + in <lambda>() constant
600 simpleVertexShader, fragmentShader in <lambda>()
633 val fragmentShader = ("uniform int test;" + in <lambda>() constant
640 simpleVertexShader, fragmentShader in <lambda>()
673 val fragmentShader = ("uniform int2 test;" + in <lambda>() constant
680 simpleVertexShader, fragmentShader in <lambda>()
[all …]
/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/camera/src/android/hardware/camera2/cts/
DCameraGPURecordingTest.java159 String fragmentShader = null; in captureGpuEncoderPath() local
161 fragmentShader = SWAPPED_FRAGMENT_SHADER; in captureGpuEncoderPath()
163 mSurfaceTextureHolder.changeFragmentShader(fragmentShader); in captureGpuEncoderPath()
520 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
521 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()
729 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
730 if (fragmentShader == null) { in changeFragmentShader()
731 fragmentShader = FRAGMENT_SHADER; in changeFragmentShader()
734 mProgram = createProgram(VERTEX_SHADER, fragmentShader); in changeFragmentShader()
/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java225 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
226 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()
/cts/tests/mediapc/src/android/mediapc/cts/
DOutputSurface.java225 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
226 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()
/cts/tests/tests/media/common/src/android/media/cts/
DOutputSurface.java280 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
281 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()
/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputSurface.java265 public void changeFragmentShader(String fragmentShader) { in changeFragmentShader() argument
266 mTextureRender.changeFragmentShader(fragmentShader); in changeFragmentShader()

12