Lines Matching defs:texture

433  * Each Texture owns a GL texture object that is created when the Texture
435 * convenience interface functions to e.g. upload texture data to the GL.
438 * used by the corresponding GL texture object; get this with
926 template <> const char* GLObjectManager<Texture>::objTypeName (void) { return "texture"; }
1129 // Generate unused texture data for each texture spec in m_programContexts.
1145 // If texture data with the same format has already been generated, re-use that (don't care much about contents).
1195 << TestLog::Message << "Approximate texture memory usage limit: " << de::floatToString((float)m_maxTexMemoryUsageBytes / Mi, 2) << " MiB" << TestLog::EndMessage
1204 << TestLog::Message << "Use glTexImage* instead of glTexSubImage* when uploading texture: " << probabilityStr(m_probabilities.reuploadWithTexImage) << TestLog::EndMessage
1206 << TestLog::Message << "Delete texture after using it, even if could re-use it: " << probabilityStr(m_probabilities.deleteTexture) << TestLog::EndMessage
1208 << TestLog::Message << "Don't re-use texture, and only delete if memory limit is hit: " << probabilityStr(m_probabilities.wastefulTextureMemoryUsage) << TestLog::EndMessage
1312 Texture& texture = m_textures->get(texName);
1314 m_textures->removeGarbageUntilUnder(m_maxTexMemoryUsageBytes - texture.getApproxMemUsageDiff(spec.width, spec.height, spec.internalFormat, spec.useMipmap), m_rnd);
1317 texture.setData(programResources.unusedTextures[texNdx]->getAccess(), spec.width, spec.height, spec.internalFormat, spec.useMipmap);
1319 texture.setSubData(programResources.unusedTextures[texNdx]->getAccess(), 0, 0, spec.width, spec.height);
1321 texture.toUnit(0);
1322 texture.setWrap(spec.sWrap, spec.tWrap);
1323 texture.setFilter(spec.minFilter, spec.magFilter);
1327 // Bind textures to units, in random order (because when multiple texture specs have same unit, we want to pick one randomly).
1498 << TestLog::Message << "Approximate texture memory usage: "