Home
last modified time | relevance | path

Searched refs:maxNameLength (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/driver/
DrsdShaderCache.cpp189 GLint maxNameLength = 0; in link() local
190 glGetProgramiv(pgm, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength); in link()
191 if (numUniforms > 0 && maxNameLength > 0) { in link()
196 uniformList[ct] = new UniformQueryData(maxNameLength); in link()
197 glGetActiveUniform(pgm, ct, maxNameLength, &uniformList[ct]->writtenLength, in link()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_fixup.cpp315 GLint n, maxNameLength; in fixup_glLinkProgram() local
322 GLTrace_glGetProgramiv(program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &maxNameLength); in fixup_glLinkProgram()
324 name = (GLchar *) malloc(maxNameLength); in fixup_glLinkProgram()
326 GLTrace_glGetActiveAttrib(program, i, maxNameLength, NULL, &size, &type, name); in fixup_glLinkProgram()
332 GLTrace_glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength); in fixup_glLinkProgram()
334 name = (GLchar *) malloc(maxNameLength); in fixup_glLinkProgram()
336 GLTrace_glGetActiveUniform(program, i, maxNameLength, NULL, &size, &type, name); in fixup_glLinkProgram()