Searched refs:vertex_shader (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | shadertoy_shader.cpp | 117 GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER); in CreateShader() local 118 CompileShader10(vertex_shader, vertex_string); in CreateShader() 125 LinkProgram(shader_program_, vertex_shader, fragment_shader); in CreateShader() 129 glDeleteShader(vertex_shader); in CreateShader()
|
D | utils.cpp | 44 bool LinkProgram(GLuint program, GLuint vertex_shader, GLuint fragment_shader) { in LinkProgram() argument 45 glAttachShader(program, vertex_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 | 1424 GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER); in SetUpProgram() local 1426 glShaderSource(vertex_shader, 1, &vertex_source_cstr, nullptr); in SetUpProgram() 1427 glCompileShader(vertex_shader); in SetUpProgram() 1428 glGetShaderiv(vertex_shader, GL_COMPILE_STATUS, &status); in SetUpProgram() 1436 glAttachShader(mProgram, vertex_shader); in SetUpProgram() 1441 glDetachShader(mProgram, vertex_shader); in SetUpProgram() 1443 glDeleteShader(vertex_shader); in SetUpProgram() 1979 std::string vertex_shader = GetTextureVertexShader(desc.format, desc.stride); in TEST_P() local 1982 SetUpProgram(vertex_shader, fragment_shader, kQuadPositions, in TEST_P() 2040 std::string vertex_shader = GetTextureVertexShader(desc.format, desc.stride); in TEST_P() local [all …]
|