Lines Matching defs:target

80 static GLenum targetToGL (DrawTestSpec::Target target)
88 return de::getSizedArrayElement<DrawTestSpec::TARGET_LAST>(targets, (int)target);
916 void data (DrawTestSpec::Target target, size_t size, const char* data, DrawTestSpec::Usage usage);
990 void AttributeArray::data (DrawTestSpec::Target target, size_t size, const char* ptr, DrawTestSpec::Usage usage)
993 m_target = target;
997 m_ctx.bindBuffer(targetToGL(target), m_glBuffer);
1000 m_ctx.bufferData(targetToGL(target), size, ptr, usageToGL(usage));
1125 void AttributeArray::bindIndexArray (DrawTestSpec::Target target)
1132 m_ctx.bindBuffer(targetToGL(target), m_glBuffer);
2257 std::string DrawTestSpec::targetToString(Target target)
2265 return de::getSizedArrayElement<DrawTestSpec::TARGET_LAST>(targets, (int)target);
3449 static bool pixelNearLineIntersection (int x, int y, const tcu::Surface& target)
3452 DE_ASSERT(x >= 1 && x <= target.getWidth()-2);
3453 DE_ASSERT(y >= 1 && y <= target.getHeight()-2);
3460 const bool targetCoverage = !isBlack(target.getPixel(x+dx, y+dy));
3485 static bool pixelNeighborhoodContainsColor (const tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold)
3488 DE_ASSERT(x >= 1 && x <= target.getWidth()-2);
3489 DE_ASSERT(y >= 1 && y <= target.getHeight()-2);
3494 const tcu::RGBA targetCmpPixel = target.getPixel(x+dx, y+dy);
3503 static bool pixelNeighborhoodContainsCoverage (const tcu::Surface& target, int x, int y, bool coverage)
3506 DE_ASSERT(x >= 1 && x <= target.getWidth()-2);
3507 DE_ASSERT(y >= 1 && y <= target.getHeight()-2);
3512 const bool targetCmpCoverage = !isBlack(target.getPixel(x+dx, y+dy));