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 | 820 GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER); in SetUpProgram() local 822 glShaderSource(vertex_shader, 1, &vertex_source_cstr, nullptr); in SetUpProgram() 823 glCompileShader(vertex_shader); in SetUpProgram() 824 glGetShaderiv(vertex_shader, GL_COMPILE_STATUS, &status); in SetUpProgram() 832 glAttachShader(mProgram, vertex_shader); in SetUpProgram() 837 glDetachShader(mProgram, vertex_shader); in SetUpProgram() 839 glDeleteShader(vertex_shader); in SetUpProgram()
|