Lines Matching refs:drawContext
457 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testPrimitivesInside() local
458 drawContext.draw(); in testPrimitivesInside()
460 …const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f),… in testPrimitivesInside()
511 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testPrimitivesOutside() local
512 drawContext.draw(); in testPrimitivesOutside()
515 …const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f),… in testPrimitivesOutside()
601 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testPrimitivesDepthClamp() local
602 drawContext.draw(); in testPrimitivesDepthClamp()
604 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClamp()
692 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testPrimitivesDepthClip() local
693 drawContext.draw(); in testPrimitivesDepthClip()
695 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClip()
721 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testPrimitivesDepthClip() local
722 drawContext.draw(); in testPrimitivesDepthClip()
724 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClip()
789 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testLargePoints() local
790 drawContext.draw(); in testLargePoints()
793 …const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f),… in testLargePoints()
800 if (countPixels(drawContext.getColorPixels(), Vec4(1.0f, i->z(), 0.0f, 1.0f), Vec4(0.01f)) == 0) in testLargePoints()
920 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testWideLines() local
921 drawContext.draw(); in testWideLines()
924 …if (countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4()) == NUM_RENDER_… in testWideLines()
974 …(log, "Compare", "Result comparsion", refDrawContext.getColorPixels(), drawContext.getColorPixels(… in testWideLines()
1325 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testClipDistance() local
1326 drawContext.draw(); in testClipDistance()
1329 …const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f… in testClipDistance()
1333 …const int guardPixels = countPixels(drawContext.getColorPixels(), IVec2(0, RENDER_SIZE/2), clip… in testClipDistance()
1334 …const bool fragColorsOk = caseDef.readInFragmentShader ? checkFragColors(drawContext.getColorPix… in testClipDistance()
1452 VulkanDrawContext drawContext(context, drawState, drawCallData, vulkanProgram); in testComplementarity() local
1453 drawContext.draw(); in testComplementarity()
1455 …const int numGrayPixels = countPixels(drawContext.getColorPixels(), Vec4(0.5f, 0.5f, 0.5f, 1.0f),… in testComplementarity()