Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdShaderCache.cpp198 GLint maxNameLength = 0; in link() local
199 glGetProgramiv(pgm, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength); in link()
200 if (numUniforms > 0 && maxNameLength > 0) { in link()
205 uniformList[ct] = new UniformQueryData(maxNameLength); in link()
206 glGetActiveUniform(pgm, ct, maxNameLength, &uniformList[ct]->writtenLength, in link()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_fixup.cpp400 GLint n, maxNameLength; in fixup_glLinkProgram() local
407 GLTrace_glGetProgramiv(program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &maxNameLength); in fixup_glLinkProgram()
409 name = (GLchar *) malloc(maxNameLength); in fixup_glLinkProgram()
411 GLTrace_glGetActiveAttrib(program, i, maxNameLength, NULL, &size, &type, name); in fixup_glLinkProgram()
417 GLTrace_glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength); in fixup_glLinkProgram()
419 name = (GLchar *) malloc(maxNameLength); in fixup_glLinkProgram()
421 GLTrace_glGetActiveUniform(program, i, maxNameLength, NULL, &size, &type, name); in fixup_glLinkProgram()