Searched defs:maxUniformLen (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | state_glsl.c | 1009 GLint maxUniformLen, activeUniforms=0, fakeUniformsCount, i, j; local 1019 diff_api.GetProgramiv(pProgram->hwid, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxUniformLen); 1039 GLchar *name = (GLchar *) crAlloc(maxUniformLen+8); 1053 diff_api.GetActiveUniform(pProgram->hwid, i, maxUniformLen, &cbName, &size, &type, name);
|
H A D | state_snapshot.c | 1130 GLint maxUniformLen, activeUniforms=0, uniformsCount=0, i, j; local 1158 diff_api.GetProgramiv(pProgram->hwid, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxUniformLen); 1161 if (!maxUniformLen) 1165 crWarning("activeUniforms (%d), while maxUniformLen is zero", activeUniforms); 1172 name = (GLchar *) crAlloc((maxUniformLen+8)*sizeof(GLchar)); 1183 diff_api.GetActiveUniform(pProgram->hwid, i, maxUniformLen, NULL, &size, &type, name); 1199 diff_api.GetActiveUniform(pProgram->hwid, i, maxUniformLen, NULL, &size, &type, name);
|
H A D | dump.cpp | 928 GLint maxUniformLen = 0, activeUniforms = 0, i, j, uniformsCount = 0; local 932 pRec->pDispatch->GetProgramiv(hwid, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxUniformLen); 935 if (!maxUniformLen) 939 crWarning("activeUniforms (%d), while maxUniformLen is zero", activeUniforms); 946 pszName = (GLchar *) crAlloc((maxUniformLen+8)*sizeof(GLchar)); 957 pRec->pDispatch->GetActiveUniform(hwid, i, maxUniformLen, NULL, &size, &type, pszName); 971 pRec->pDispatch->GetActiveUniform(hwid, i, maxUniformLen, NULL, &size, &type, pszName);
|
Completed in 156 milliseconds