Home | History | Annotate | Download | only in functional

Lines Matching refs:format

73 	// Surface format and storage is choosen by render().
127 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)
129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias);
151 static bool isRequiredFormat (deUint32 format)
153 switch (format)
206 static std::vector<std::string> getEnablingExtensions (deUint32 format)
210 DE_ASSERT(!isRequiredFormat(format));
212 switch (format)
259 throw tcu::NotSupportedError("Format not supported");
262 static int getMinimumSampleCount (deUint32 format)
264 switch (format)
320 DE_ASSERT(!"Unknown format");
325 static std::vector<int> querySampleCounts (const glw::Functions& gl, deUint32 format)
330 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_NUM_SAMPLE_COUNTS, 1, &numSampleCounts);
335 gl.getInternalformativ(GL_RENDERBUFFER, format, GL_SAMPLES, (glw::GLsizei)sampleCounts.size(), &sampleCounts[0]);
338 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to query sample counts for format");
357 void FboTestCase::clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value)
359 FboTestUtil::clearColorBuffer(*getCurrentContext(), format, value);