Lines Matching defs:point

1689 	// create point sizes
1825 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Rendering " << outPoints.size() << " point(s): (point size = " << getPointSize() << ")" << tcu::TestLog::EndMessage;
1877 void drawPoint (tcu::PixelBufferAccess& result, tcu::PointSceneSpec::ScenePoint& point);
1900 PointSceneSpec::ScenePoint point;
1903 generatePointData(point);
1906 drawPoint(access, point);
1933 const tcu::PointSceneSpec::ScenePoint point =
1940 outPoint = point;
1946 log << tcu::TestLog::Message << "Point position: " << de::toString(point.position) << tcu::TestLog::EndMessage;
1947 log << tcu::TestLog::Message << "Point color: " << de::toString(point.color) << tcu::TestLog::EndMessage;
1948 log << tcu::TestLog::Message << "Point size: " << de::toString(point.pointSize) << tcu::TestLog::EndMessage;
2035 void PointSizeTestInstance::drawPoint (tcu::PixelBufferAccess& result, PointSceneSpec::ScenePoint& point)
2037 const tcu::Vec4 positionData (point.position);
2038 const tcu::Vec4 colorData (point.color);
2127 // Verify rasterized point width and color
2139 // Verify rasterized point height and color
2151 // Compare amount of rasterized point pixels to expected pointSize.
2154 log << tcu::TestLog::Message << "Incorrect point size. Expected pointSize: " << de::toString(pointSize)
2155 << ". Rasterized point width: " << pointWidth << " pixels, height: "
2734 TCU_THROW(NotSupportedError, "Conservative line and point rasterization is not supported");
2786 TCU_THROW(NotSupportedError, "Tested point size is not supported");
2791 TCU_THROW(NotSupportedError, "Exact match of point size is required for the test");
2805 TCU_THROW(NotSupportedError, "Conservative line and point rasterization is not supported");
4460 // Edges of a point are considered not covered. Top-left coverage rule is not applicable for underestimate rasterization.
4490 << "Testing conservative point rendering "
5566 PointSceneSpec::ScenePoint point;
5567 point.position = outTriangles.at(triNdx).positions[vrtxNdx];
5568 point.pointSize = 1.0f;
5570 outPoints.push_back(point);
5889 PointSceneSpec::ScenePoint point;
5891 point.position = vertices[vrtxNdx];
5892 point.pointSize = 1.0f;
5894 outPoints.push_back(point);
6782 // Then, tries to draw the requested number of points. Only the first point should ever be used.
7271 msg << "Required point size " << m_config.pointSize << " outside valid range [" << validRange[0] << ", " << validRange[1] << "]";
7461 * margin of 0.125 units (1/4 of a pixel in unnormalized coordinates). This means a point size of 1.0 will not reach the sampling
7462 * points at the pixel center of the edge pixels, but a point size of 2.0 will.
7738 // If testing default size means we are not setting the point size in shaders, and therefore we don't care about m5Properties.polygonModePointSize
7940 // Attempt to draw 1 point with stride 0
7957 // Attempt to draw many points with stride 0 with one point in the buffer
8101 tcu::TestCaseGroup* const points = new tcu::TestCaseGroup(testCtx, "points", "Default point size");
8132 tcu::TestCaseGroup* const polygonsAsPoints = new tcu::TestCaseGroup(testCtx, "polygon_as_points", "Default point size for polygons as points");