Lines Matching full:shader
98 GLuint shader = glCreateShader(type);
99 glShaderSource(shader, 1, &source, 0);
100 glCompileShader(shader);
102 glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
107 glGetShaderInfoLog(shader, sizeof(log), 0, log);
108 ALOGE("Error while compiling shader: \n%s\n%s", source, log);
109 glDeleteShader(shader);
112 return shader;
116 GLuint shader = GL_FRAGMENT_SHADER ? mFragmentShader : mVertexShader;
118 glGetShaderiv(shader, GL_SHADER_SOURCE_LENGTH, &l);
120 glGetShaderSource(shader, l, NULL, src);