Home | History | Annotate | Download | only in functional

Lines Matching defs:triangle

357 	const tcu::Vec4 triangle[] =
392 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle);
431 attribs[0].pointer = triangle;
473 // generater triangle endpoint with following properties
523 // draw colorless (mask = 0,0,0) triangle at random* location, set offset and render green triangle with depthfunc = equal
529 tcu::Vec4 triangle[3];
531 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx)
532 triangle[vertexNdx] = genRandomVec4(rnd);
534 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle);
536 log << TestLog::Message << "Setup triangle with random coordinates:" << TestLog::EndMessage;
537 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangle); ++ndx)
539 << "\tx=" << triangle[ndx].x()
540 << "\ty=" << triangle[ndx].y()
541 << "\tz=" << triangle[ndx].z()
542 << "\tw=" << triangle[ndx].w()
545 log << TestLog::Message << "Draw colorless triangle.\tState: DepthFunc = GL_ALWAYS, PolygonOffset(0, 0)." << TestLog::EndMessage;
554 log << TestLog::Message << "Draw green triangle.\tState: DepthFunc = GL_EQUAL, PolygonOffset(0, " << offset << ")." << TestLog::EndMessage;
974 const tcu::Vec4 triangle[] =
985 // log the triangle
986 log << TestLog::Message << "Setup triangle with coordinates:" << TestLog::EndMessage;
987 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangle); ++ndx)
989 << "\tx=" << triangle[ndx].x()
990 << "\ty=" << triangle[ndx].y()
991 << "\tz=" << triangle[ndx].z()
992 << "\tw=" << triangle[ndx].w()
1020 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle);
1022 log << TestLog::Message << "Draw triangle. Color = Red.\tState: DepthFunc = ALWAYS, PolygonOffset(0, 0)." << TestLog::EndMessage;
1029 log << TestLog::Message << "Draw triangle. Color = Black.\tState: DepthFunc = EQUAL, PolygonOffset(4, 0)." << TestLog::EndMessage;
1032 gl.polygonOffset (4, 0); // triangle slope == 0
1045 log << TestLog::Message << "Expecting black triangle." << TestLog::EndMessage;
1099 // log triangle info
1152 gl.polygonOffset (10, 0); // clamps any depth on the triangle to 1