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.cpp1430 GLuint fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in SetUpProgram() local
1432 glShaderSource(fragment_shader, 1, &fragment_source_cstr, nullptr); in SetUpProgram()
1433 glCompileShader(fragment_shader); in SetUpProgram()
1434 glGetShaderiv(fragment_shader, GL_COMPILE_STATUS, &status); in SetUpProgram()
1437 glAttachShader(mProgram, fragment_shader); in SetUpProgram()
1442 glDetachShader(mProgram, fragment_shader); in SetUpProgram()
1444 glDeleteShader(fragment_shader); in SetUpProgram()
1980 std::string fragment_shader = GetTextureFragmentShader(desc.format, desc.stride); in TEST_P() local
1982 SetUpProgram(vertex_shader, fragment_shader, kQuadPositions, in TEST_P()
2041 std::string fragment_shader = GetTextureFragmentShader(desc.format, desc.stride); in TEST_P() local
[all …]