Lines Matching refs:format
73 // Surface format and storage is choosen by render().
131 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias)
133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias);
155 static bool isRequiredFormat (deUint32 format)
157 switch (format)
210 static std::vector<std::string> getEnablingExtensions (deUint32 format)
214 DE_ASSERT(!isRequiredFormat(format));
216 switch (format)
264 throw tcu::NotSupportedError("Format not supported");
267 static int getMinimumSampleCount (deUint32 format)
269 switch (format)
325 DE_ASSERT(!"Unknown format");
330 static std::vector<int> querySampleCounts (const glw::Functions& gl, deUint32 format)
335 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts);
340 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]);
343 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to query sample counts for format");
362 void FboTestCase::clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value)
364 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value);