Lines Matching refs:internal_format
93 static void maskPixelForFormat(glw::GLenum internal_format, glw::GLubyte* pixel);
95 static glw::GLdouble getEpsilon(glw::GLenum internal_format);
96 static glw::GLuint getPixelSizeForFormat(glw::GLenum internal_format);
97 static glw::GLenum getFormat(glw::GLenum internal_format);
98 static glw::GLuint getNumberOfChannels(glw::GLenum internal_format);
100 static std::string getPixelString(glw::GLenum internal_format, const glw::GLubyte* pixel);
102 static glw::GLenum getType(glw::GLenum internal_format);
106 …uint prepareCompressedTex(deqp::Context& context, glw::GLenum target, glw::GLenum internal_format);
110 static glw::GLuint prepareRenderBuffer(deqp::Context& context, glw::GLenum internal_format);
112 …::GLuint prepareTex16x16x6(deqp::Context& context, glw::GLenum target, glw::GLenum internal_format,
116 glw::GLenum internal_format, glw::GLenum format, glw::GLenum type, glw::GLuint level,
127 …static void packPixel(glw::GLenum internal_format, glw::GLenum type, glw::GLdouble red, glw::GLdou…
137 …static inline bool roundComponent(glw::GLenum internal_format, glw::GLenum component, glw::GLdoubl…
249 GLuint getPixelSizeForCompatibilityVerification(GLenum internal_format) in getPixelSizeForCompatibilityVerification() argument
251 GLuint size = Utils::getPixelSizeForFormat(internal_format); in getPixelSizeForCompatibilityVerification()
253 switch (internal_format) in getPixelSizeForCompatibilityVerification()
526 GLdouble Utils::getEpsilon(GLenum internal_format) in getEpsilon() argument
530 switch (internal_format) in getEpsilon()
611 GLenum Utils::getFormat(GLenum internal_format) in getFormat() argument
615 switch (internal_format) in getFormat()
720 GLuint Utils::getNumberOfChannels(GLenum internal_format) in getNumberOfChannels() argument
724 switch (internal_format) in getNumberOfChannels()
813 GLenum Utils::getType(GLenum internal_format) in getType() argument
817 switch (internal_format) in getType()
940 void Utils::maskPixelForFormat(GLenum internal_format, GLubyte* pixel) in maskPixelForFormat() argument
942 switch (internal_format) in maskPixelForFormat()
960 GLuint Utils::getPixelSizeForFormat(GLenum internal_format) in getPixelSizeForFormat() argument
964 switch (internal_format) in getPixelSizeForFormat()
1094 std::string Utils::getPixelString(GLenum internal_format, const GLubyte* pixel) in getPixelString() argument
1096 const GLuint pixel_size = Utils::getPixelSizeForFormat(internal_format); in getPixelString()
1282 static const GLenum internal_format = GL_RGBA8; in prepareMultisampleTex() local
1296 …gl.texImage2DMultisample(target, n_samples, internal_format, width, height, GL_FALSE /* fixedsampl… in prepareMultisampleTex()
1305 gl.texImage3DMultisample(target, n_samples, internal_format, width, height, depth, in prepareMultisampleTex()
1330 GLuint Utils::prepareRenderBuffer(deqp::Context& context, GLenum internal_format) in prepareRenderBuffer() argument
1344 gl.renderbufferStorage(GL_RENDERBUFFER, internal_format, width, height); in prepareRenderBuffer()
1365 GLuint Utils::prepareTex16x16x6(deqp::Context& context, GLenum target, GLenum internal_format, GLen… in prepareTex16x16x6() argument
1377 …prepareTexture(context, name, target, internal_format, format, type, level, width, height, depth, … in prepareTex16x16x6()
1400 …reTexture(deqp::Context& context, GLuint name, GLenum target, GLenum internal_format, GLenum forma… in prepareTexture() argument
1420 gl.renderbufferStorage(target, internal_format, width, height); in prepareTexture()
1432 gl.texImage1D(target, level, internal_format, width, border, format, type, pixels); in prepareTexture()
1445 gl.texImage2D(target, level, internal_format, width, height, border, format, type, pixels); in prepareTexture()
1455 …gl.texImage2DMultisample(target, samples, internal_format, width, height, GL_FALSE /* fixedsamplel… in prepareTexture()
1465 gl.texImage3DMultisample(target, samples, internal_format, width, height, depth, in prepareTexture()
1479 gl.texImage3D(target, level, internal_format, width, height, depth, border, format, type, pixels); in prepareTexture()
1509 gl.texBuffer(GL_TEXTURE_BUFFER, internal_format, out_buf_id); in prepareTexture()
1526 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, border, forma… in prepareTexture()
1528 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, border, forma… in prepareTexture()
1530 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, border, forma… in prepareTexture()
1532 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, border, forma… in prepareTexture()
1534 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, border, forma… in prepareTexture()
1536 …gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, border, forma… in prepareTexture()
1553 << ". Format: " << glu::getInternalFormatParameterStr(internal_format) << ", " in prepareTexture()
2293 void Utils::packPixel(GLenum internal_format, GLenum type, GLdouble red, GLdouble green, GLdouble b… in packPixel() argument
2296 switch (internal_format) in packPixel()
2443 inline bool Utils::roundComponent(GLenum internal_format, GLenum component, GLdouble& value) in roundComponent() argument
2445 int exponent = (internal_format == GL_RGB4 ? 4 : (internal_format == GL_RGB5 ? 5 : 0)); in roundComponent()
2451 if (internal_format == GL_RGB4) in roundComponent()
3087 const GLenum internal_format = desc.m_internal_format; in prepareDstPxls() local
3133 Utils::packPixel(internal_format, type, 1.0, 1.0, 1.0, 1.0, pixel_data); in prepareDstPxls()
3147 const GLenum internal_format = desc.m_internal_format; in prepareSrcPxls() local
3213 Utils::packPixel(internal_format, type, red, green, blue, alpha, pixel); in prepareSrcPxls()
3652 const GLenum internal_format = s_internal_formats[fmt_id]; in SmokeTest() local
3653 const GLenum format = Utils::getFormat(internal_format); in SmokeTest()
3654 const GLenum type = Utils::getType(internal_format); in SmokeTest()
3656 const testCase test_case = { GL_TEXTURE_2D, internal_format, format, type }; in SmokeTest()
3969 const GLenum internal_format = test_case.m_internal_format; in prepareDstPxls() local
3972 const GLuint pixel_size = Utils::getPixelSizeForFormat(internal_format); in prepareDstPxls()
3991 Utils::packPixel(internal_format, type, 1.0, 1.0, 1.0, 1.0, pixel_data); in prepareDstPxls()
4004 const GLenum internal_format = test_case.m_internal_format; in prepareSrcPxls() local
4007 const GLuint pixel_size = Utils::getPixelSizeForFormat(internal_format); in prepareSrcPxls()
4048 Utils::packPixel(internal_format, type, red, green, blue, alpha, pixel_data); in prepareSrcPxls()