Home
last modified time | relevance | path

Searched refs:fragment_shader (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dshadertoy_shader.cpp120 GLuint fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in CreateShader() local
121 CompileShader10(fragment_shader, complete_fragment_string); in CreateShader()
125 LinkProgram(shader_program_, vertex_shader, fragment_shader); in CreateShader()
130 glDeleteShader(fragment_shader); in CreateShader()
Dutils.cpp44 bool LinkProgram(GLuint program, GLuint vertex_shader, GLuint fragment_shader) { in LinkProgram() argument
46 glAttachShader(program, fragment_shader); in LinkProgram()
Dutils.h59 bool LinkProgram(GLuint program, GLuint vertex_shader, GLuint fragment_shader);
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp1438 GLuint fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in SetUpProgram() local
1440 glShaderSource(fragment_shader, 1, &fragment_source_cstr, nullptr); in SetUpProgram()
1441 glCompileShader(fragment_shader); in SetUpProgram()
1442 glGetShaderiv(fragment_shader, GL_COMPILE_STATUS, &status); in SetUpProgram()
1445 glAttachShader(mProgram, fragment_shader); in SetUpProgram()
1450 glDetachShader(mProgram, fragment_shader); in SetUpProgram()
1452 glDeleteShader(fragment_shader); in SetUpProgram()
1998 std::string fragment_shader = GetTextureFragmentShader(desc.format, desc.stride); in TEST_P() local
2000 SetUpProgram(vertex_shader, fragment_shader, kQuadPositions, in TEST_P()
2059 std::string fragment_shader = GetTextureFragmentShader(desc.format, desc.stride); in TEST_P() local
[all …]