Lines Matching refs:drawContext

479 		VulkanDrawContext			drawContext			(context, framebufferState);
480 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
481 drawContext.draw();
483 const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4());
535 VulkanDrawContext drawContext (context, framebufferState);
536 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
537 drawContext.draw();
540 const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4());
626 VulkanDrawContext drawContext (context, framebufferState);
627 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
628 drawContext.draw();
630 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4());
722 VulkanDrawContext drawContext(context, framebufferState);
723 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
724 drawContext.draw();
726 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4());
757 VulkanDrawContext drawContext(context, framebufferState);
758 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
759 drawContext.draw();
761 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4());
827 VulkanDrawContext drawContext(context, framebufferState);
828 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
829 drawContext.draw();
832 const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4());
839 if (countPixels(drawContext.getColorPixels(), Vec4(1.0f, i->z(), 0.0f, 1.0f), Vec4(0.01f)) == 0)
959 VulkanDrawContext drawContext(context, framebufferState);
960 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
961 drawContext.draw();
964 if (countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4()) == NUM_RENDER_PIXELS)
1014 if (tcu::intThresholdCompare(log, "Compare", "Result comparsion", refDrawContext.getColorPixels(), drawContext.getColorPixels(), tcu::UVec4(1), tcu::COMPARE_LOG_ON_ERROR))
1451 VulkanDrawContext drawContext (context, framebufferState);
1452 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
1453 drawContext.draw();
1456 const int numBlackPixels = countPixels(drawContext.getColorPixels(), Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4());
1463 const int guardPixels = countPixels(drawContext.getColorPixels(), IVec2(0, RENDER_SIZE/2), clipRegion, Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4());
1464 const bool fragColorsOk = caseDef.readInFragmentShader ? checkFragColors(drawContext.getColorPixels(), clipRegion, caseDef.numClipDistances / 2, caseDef.numCullDistances > 0) : true;
1583 VulkanDrawContext drawContext (context, framebufferState);
1584 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
1585 drawContext.draw();
1587 const int numGrayPixels = countPixels(drawContext.getColorPixels(), Vec4(0.5f, 0.5f, 0.5f, 1.0f), Vec4(0.02f, 0.02f, 0.02f, 0.0f));
1657 VulkanDrawContext drawContext (context, framebufferState);
1659 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData);
1660 drawContext.draw();
1662 const int numDrawnPixels = countPixels(drawContext.getColorPixels(), Vec4(1.0f, 0.0f, 0.0f, 1.0f), Vec4(0.02f, 0.02f, 0.02f, 0.0f));