Lines Matching defs:context

275 	void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const
282 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, VaryingLoc_Color, fragNdx));
769 // Create and setup programs per context
773 EGLContext context = contexts[ctxNdx].second;
775 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
781 // Clear to black using first context.
784 EGLContext context = contexts[0].second;
786 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
798 EGLContext context = contexts[ctxNdx].second;
800 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
812 // Read pixels using first context. \todo [pyry] Randomize?
815 EGLContext context = contexts[0].second;
817 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
877 RenderTestThread (const Library& egl, EGLDisplay display, EGLSurface surface, EGLContext context, EGLint api, const glw::Functions& gl, const Program& program, const std::vector<DrawOpPacket>& packets)
881 , m_context (context)
896 // Acquire context.
905 // Release context.
1001 // Create and setup programs per context
1005 EGLContext context = contexts[ctxNdx].second;
1007 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
1012 // Release context
1016 // Clear to black using first context.
1019 EGLContext context = contexts[0].second;
1021 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
1026 // Release context
1041 // Read pixels using first context. \todo [pyry] Randomize?
1044 EGLContext context = contexts[0].second;
1046 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
1159 tcu::TestCaseGroup* singleContextGroup = new tcu::TestCaseGroup(m_testCtx, "single_context", "Single-context rendering");
1163 tcu::TestCaseGroup* multiContextGroup = new tcu::TestCaseGroup(m_testCtx, "multi_context", "Multi-context rendering with shared surface");