Home
last modified time | relevance | path

Searched refs:pixelCenter (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/samplecode/
DSampleDegenerateQuads.cpp298 SkPoint pixelCenter = {px + 0.5f, py + 0.5f}; in onDrawContent() local
301 coverage = get_area_coverage(fEdgeAA, fCorners, pixelCenter); in onDrawContent()
304 pixelCenter); in onDrawContent()
309 pixelCenter); in onDrawContent()
/third_party/skia/samplecode/
DSampleDegenerateQuads.cpp304 SkPoint pixelCenter = {px + 0.5f, py + 0.5f}; in onDrawContent() local
307 coverage = get_area_coverage(fEdgeAA, fCorners, pixelCenter); in onDrawContent()
310 pixelCenter); in onDrawContent()
315 pixelCenter); in onDrawContent()
/third_party/flutter/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp305 static float get_exact_coverage(const SkPoint& pixelCenter, const Vertices& quad, in get_exact_coverage() argument
313 float left = pixelCenter.fX - 0.5f; in get_exact_coverage()
314 float right = pixelCenter.fX + 0.5f; in get_exact_coverage()
315 float top = pixelCenter.fY - 0.5f; in get_exact_coverage()
316 float bot = pixelCenter.fY + 0.5f; in get_exact_coverage()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp3088 …const tcu::IVec2 pixelCenter(deRoundFloatToInt32((refPoint.center.x() * 0.5f + 0.5f) * (float)view… in verifyNarrowPointPattern() local
3092 …if (pixelCenter.x() < 1 || pixelCenter.y() < 1 || pixelCenter.x() >= viewport.getWidth()-1 || pixe… in verifyNarrowPointPattern()
3105 const tcu::IVec2 testPos (pixelCenter.x() + dx, pixelCenter.y() + dy); in verifyNarrowPointPattern()
3120 …<< "Missing point near " << pixelCenter << ", vertex coordinates=" << refPoint.center.swizzle(0, 1… in verifyNarrowPointPattern()