Lines Matching defs:text
281 // A hacky-ish class for drawing text on screen as GL quads.
295 void addTextToBuffer (const string& text, int yOffset);
310 std::ostringstream text;
312 text << std::setw(2) << std::setfill('0') << d << ":"
316 addTextToBuffer(text.str(), 0);
317 text.str("");
319 text << std::fixed << std::setprecision(2) << (float)texMem/Mi << "/" << (float)maxTexMem/Mi;
320 addTextToBuffer(text.str(), 1);
321 text.str("");
323 text << std::fixed << std::setprecision(2) << (float)bufMem/Mi << "/" << (float)maxBufMem/Mi;
324 addTextToBuffer(text.str(), 2);
325 text.str("");
327 text << std::setw(0) << iterNdx;
328 addTextToBuffer(text.str(), 3);
352 void DebugInfoRenderer::addTextToBuffer (const string& text, const int yOffset)
368 for (int ndxInText = 0; ndxInText < (int)text.size(); ndxInText++)
370 const int ndxInCharset = (int)charsStr.find(text[ndxInText]);