Searched refs:fragment_shader (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | shadertoy_shader.cpp | 120 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()
|
D | utils.cpp | 44 bool LinkProgram(GLuint program, GLuint vertex_shader, GLuint fragment_shader) { in LinkProgram() argument 46 glAttachShader(program, fragment_shader); in LinkProgram()
|
D | utils.h | 59 bool LinkProgram(GLuint program, GLuint vertex_shader, GLuint fragment_shader);
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 1430 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() 1990 std::string fragment_shader = GetTextureFragmentShader(desc.format, desc.stride); in TEST_P() local 1992 SetUpProgram(vertex_shader, fragment_shader, kQuadPositions, in TEST_P() 2051 std::string fragment_shader = GetTextureFragmentShader(desc.format, desc.stride); in TEST_P() local [all …]
|