Searched refs:maxAttribLen (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Ddump.cpp1088 GLint maxAttribLen = 0, activeAttrib = 0, i, j, attribCount = 0; local
1092 pRec->pDispatch->GetProgramiv(hwid, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &maxAttribLen);
1095 if (!maxAttribLen)
1099 crWarning("activeAttrib (%d), while maxAttribLen is zero", activeAttrib);
1106 pszName = (GLchar *) crAlloc((maxAttribLen+8)*sizeof(GLchar));
1117 pRec->pDispatch->GetActiveAttrib(hwid, i, maxAttribLen, NULL, &size, &type, pszName);
1131 pRec->pDispatch->GetActiveAttrib(hwid, i, maxAttribLen, NULL, &size, &type, pszName);
H A Dstate_glsl.c1140 GLint maxAttribLen, activeAttribs=0, fakeAttribsCount, i, j; local
1150 diff_api.GetProgramiv(pProgram->hwid, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &maxAttribLen);
1170 GLchar *name = (GLchar *) crAlloc(maxAttribLen+8);
1184 diff_api.GetActiveAttrib(pProgram->hwid, i, maxAttribLen, &cbName, &size, &type, name);

Completed in 205 milliseconds