Lines Matching refs:testContext
216 bool isDifferentRboSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentRboSampleCountsSupported() argument
218 const auto& gl = testContext.gl; in isDifferentRboSampleCountsSupported()
225 …testContext.renderbufferStorageMultisample(testContext.rboIds[0], GL_RENDERBUFFER, 1, GL_RGBA8, TE… in isDifferentRboSampleCountsSupported()
226 gl.bindRenderbuffer(GL_RENDERBUFFER, testContext.rboIds[0]); in isDifferentRboSampleCountsSupported()
238 bool isDifferentTextureSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentTextureSampleCountsSupported() argument
240 if (glu::contextSupports(testContext.renderContext.getType(), apiES31)) in isDifferentTextureSampleCountsSupported()
242 const auto& gl = testContext.gl; in isDifferentTextureSampleCountsSupported()
257 testContext.bindTexture(GL_TEXTURE_2D_MULTISAMPLE, tempTexId); in isDifferentTextureSampleCountsSupported()
265 testContext.bindTexture(GL_TEXTURE_2D_MULTISAMPLE, 0); in isDifferentTextureSampleCountsSupported()
604 [](vector<TestStep>& steps, TestContext& testContext) // StepsGeneratorFn stepsGenerator
607 testContext.gl.getIntegerv(GL_MAX_COLOR_ATTACHMENTS, &maxColorAttachmentsCount); in __anonaf8b94b71c02()
608 GLU_EXPECT_NO_ERROR(testContext.gl.getError(), "glGetInteger() failed"); in __anonaf8b94b71c02()
642 [](vector<TestStep>& steps, TestContext& testContext) // StepsGeneratorFn stepsGenerator
645 if (!isDifferentRboSampleCountsSupported(testContext, maxSamples)) in __anonaf8b94b71f02()
768 [](vector<TestStep>& steps, TestContext& testContext) // StepsGeneratorFn stepsGenerator
771 …sDifferentRboSampleCountsSupported(testContext, maxRboSamples) || !isDifferentTextureSampleCountsS… in __anonaf8b94b72902()