Lines Matching defs:format

113 										 glw::GLenum format, glw::GLenum type, glw::GLuint& out_buf_id);
116 glw::GLenum internal_format, glw::GLenum format, glw::GLenum type, glw::GLuint level,
130 static void unpackPixel(glw::GLenum format, glw::GLenum type, const glw::GLubyte* pixel, glw::GLdouble& out_red,
245 * @param internal_format Internal format of image
269 * @param format Internal format
271 * @return true if format should be tested, false otherwise
273 bool filterFormats(GLenum format)
277 switch (format)
363 * @param src Internal format of source image
364 * @param dst Internal format of destination image
440 * @param left_internal_format Internal format of left image
445 * @param right_internal_format Internal format of right image
522 * @param internal_format Internal format of image
604 /** Get format for given internal format
606 * @param internal_format Internal format
612 GLenum format = 0;
623 format = GL_RED;
632 format = GL_RED_INTEGER;
642 format = GL_RG;
651 format = GL_RG_INTEGER;
667 format = GL_RGB;
676 format = GL_RGB_INTEGER;
692 format = GL_RGBA;
702 format = GL_RGBA_INTEGER;
709 return format;
714 * @param internal_format Internal format
804 /** Get type for given internal format
806 * @param internal_format Internal format
931 * @param internal_format Internal format of texture
950 /** Get size of pixel for given internal format
952 * @param internal_format Internal format
954 * @return Number of bytes used by given format
1320 * @param internal_format Internal format of render buffer
1353 * @param format <format>
1359 GLuint Utils::prepareTex16x16x6(deqp::Context& context, GLenum target, GLenum internal_format, GLenum format,
1371 prepareTexture(context, name, target, internal_format, format, type, level, width, height, depth, pixels,
1383 * @param format <format>
1394 void Utils::prepareTexture(deqp::Context& context, GLuint name, GLenum target, GLenum internal_format, GLenum format,
1426 gl.texImage1D(target, level, internal_format, width, border, format, type, pixels);
1439 gl.texImage2D(target, level, internal_format, width, height, border, format, type, pixels);
1473 gl.texImage3D(target, level, internal_format, width, height, depth, border, format, type, pixels);
1520 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, border, format, type,
1522 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, border, format, type,
1524 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, border, format, type,
1526 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, border, format, type,
1528 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, border, format, type,
1530 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, border, format, type,
1547 << glu::getTextureFormatName(format) << ", " << glu::getTypeStr(type) << tcu::TestLog::EndMessage;
2274 * @param internal_format Internal format of image
2373 * @param internal_format Internal format of image
2381 void Utils::unpackPixel(GLenum format, GLenum type, const GLubyte* pixel, GLdouble& out_red, GLdouble& out_green,
2384 switch (format)
2450 * @param left_internal_format Internal format of left image
2454 * @param right_internal_format Internal format of right image
3128 * @param dst_internal_format Internal format of destination image
3209 * @param dst_internal_format Internal format of destination image
3211 * @param src_internal_format Internal format of source image
3640 const GLenum format = Utils::getFormat(internal_format);
3643 const testCase test_case = { GL_TEXTURE_2D, internal_format, format, type };
4773 << ". Source format: " << glu::getInternalFormatParameterStr(test_case.m_src_internal_format)
4774 << ". Destination format: " << glu::getInternalFormatParameterStr(test_case.m_dst_internal_format)
5086 << ". Source format: " << glu::getInternalFormatParameterStr(test_case.m_src_internal_format)
5087 << ". Destination format: " << glu::getInternalFormatParameterStr(test_case.m_dst_internal_format)
5817 << ". Texture internal format: " << glu::getTextureFormatStr(test_case.m_internal_format)