Lines Matching defs:buf
405 std::ostringstream buf;
406 buf << "draw test pattern";
409 buf << ", attribute offset (unaligned)";
411 buf << ", attribute offset (aligned)";
414 buf << ", 2 attributes";
416 buf << ", 2 attributes (some components shared)";
419 buf << ", buffer offset aligned";
421 buf << ", buffer offset unaligned";
423 buf << ", buffer stride unaligned";
425 return buf.str();
492 std::ostringstream buf;
494 buf << "#version 310 es\n"
498 buf << "in highp vec4 a_color;\n";
500 buf << "uniform highp vec4 u_color;\n";
502 buf << "out highp vec4 v_color;\n"
509 return buf.str();