Lines Matching defs: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, glu::RenderContext& renderContext)
159 switch (format)
207 // Float format
224 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext)
229 DE_ASSERT(!isRequiredFormat(format, renderContext));
231 switch (format)
294 static int getMinimumSampleCount (deUint32 format)
296 switch (format)
352 DE_FATAL("Unknown format");
357 static std::vector<int> querySampleCounts (const glw::Functions& gl, deUint32 format)
362 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts);
367 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]);
370 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to query sample counts for format");
389 void FboTestCase::clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value)
391 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value);