Lines Matching refs:triangle

352 	const tcu::Vec4 triangle[] =
388 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle);
429 attribs[0].pointer = triangle;
471 // generater triangle endpoint with following properties
521 // draw colorless (mask = 0,0,0) triangle at random* location, set offset and render green triangle with depthfunc = equal
527 tcu::Vec4 triangle[3];
529 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx)
530 triangle[vertexNdx] = genRandomVec4(rnd);
532 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle);
534 log << TestLog::Message << "Setup triangle with random coordinates:" << TestLog::EndMessage;
535 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangle); ++ndx)
537 << "\tx=" << triangle[ndx].x()
538 << "\ty=" << triangle[ndx].y()
539 << "\tz=" << triangle[ndx].z()
540 << "\tw=" << triangle[ndx].w()
543 log << TestLog::Message << "Draw colorless triangle.\tState: DepthFunc = GL_ALWAYS, PolygonOffset(0, 0)." << TestLog::EndMessage;
552 log << TestLog::Message << "Draw green triangle.\tState: DepthFunc = GL_EQUAL, PolygonOffset(0, " << offset << ")." << TestLog::EndMessage;
975 const tcu::Vec4 triangle[] =
986 // log the triangle
987 log << TestLog::Message << "Setup triangle with coordinates:" << TestLog::EndMessage;
988 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangle); ++ndx)
990 << "\tx=" << triangle[ndx].x()
991 << "\ty=" << triangle[ndx].y()
992 << "\tz=" << triangle[ndx].z()
993 << "\tw=" << triangle[ndx].w()
1021 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle);
1023 log << TestLog::Message << "Draw triangle. Color = Red.\tState: DepthFunc = ALWAYS, PolygonOffset(0, 0)." << TestLog::EndMessage;
1030 log << TestLog::Message << "Draw triangle. Color = Black.\tState: DepthFunc = EQUAL, PolygonOffset(4, 0)." << TestLog::EndMessage;
1033 gl.polygonOffset (4, 0); // triangle slope == 0
1046 log << TestLog::Message << "Expecting black triangle." << TestLog::EndMessage;
1100 // log triangle info
1153 gl.polygonOffset (10, 0); // clamps any depth on the triangle to 1