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

/vbox/src/VBox/Frontends/VirtualBox/src/
H A DVBoxGLSupportInfo.cpp369 GLint maxCoords, maxUnits; local
371 glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxUnits);
373 VBOXQGLLOGREL(("Max Tex Coords (%d), Img Units (%d)\n", maxCoords, maxUnits));
375 if(maxUnits < maxCoords)
376 maxCoords = maxUnits;
377 if(maxUnits < 2)
383 mMultiTexNumSupported = maxUnits;
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Ddump.cpp1421 GLint maxUnits = 0; local
1427 pRec->pDispatch->GetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &maxUnits);
1428 maxUnits = RT_MIN(CR_MAX_TEXTURE_UNITS, maxUnits);
1434 Assert(maxUnits);
1438 Assert(curTexUnit < GL_TEXTURE0 + maxUnits);
1442 for (i = 0; i < maxUnits; ++i)

Completed in 1996 milliseconds