Lines Matching defs:height
190 * @param height Texture height
193 glw::GLuint height)
202 gl.viewport(0 /* x */, 0 /* y */, width, height);
737 * @param height Height of texture
740 void Utils::texture::create(GLuint width, GLuint height, GLenum internal_format)
747 m_height = height;
756 gl.texStorage2D(GL_TEXTURE_2D, 1 /* levels */, internal_format, width, height);
763 * @param height Height of texture
767 void Utils::texture::create(GLuint width, GLuint height, GLuint depth, GLenum internal_format)
774 m_height = height;
783 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1 /* levels */, internal_format, width, height, depth);
887 * @param height Height of texture
893 void Utils::texture::update(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format,
904 gl.texSubImage2D(GL_TEXTURE_2D, level, 0 /* x */, 0 /* y */, width, height, format, type, data);
909 gl.texSubImage3D(GL_TEXTURE_2D_ARRAY, level, 0 /* x */, 0 /* y */, 0 /* z */, width, height, depth, format,
1149 checkGLError(GL_INVALID_VALUE, "viewport, negative height", test_result);
1176 /* Set width to 1 and height to -1*/
1181 checkGLError(GL_INVALID_VALUE, "viewportArrayv, negative height", test_result);
1184 checkGLError(GL_INVALID_VALUE, "viewportIndexedf, negative height", test_result);
1187 checkGLError(GL_INVALID_VALUE, "viewportIndexedfv, negative height", test_result);
1259 * INVALID_VALUE when <width> or <height> values are negative;
1266 checkGLError(GL_INVALID_VALUE, "scissor, negative height", test_result);
1293 /* Set width to 1 and height to -1*/
1298 checkGLError(GL_INVALID_VALUE, "scissorArrayv, negative height", test_result);
1301 checkGLError(GL_INVALID_VALUE, "scissorIndexed, negative height", test_result);
1304 checkGLError(GL_INVALID_VALUE, "scissorIndexedv, negative height", test_result);
2815 static GLuint height = m_height / 4;
2817 return checkRegionR32I(x, y, width, height, expected_value, data);
2826 * @param height Height of region
2832 bool DrawTestBase::checkRegionR32I(GLuint x, GLuint y, GLuint width, GLuint height, GLint expected_value, GLint* data)
2836 const GLuint offset = (y * height * m_width) + (x * width);
2838 for (GLuint line = 0; line < height; ++line)
3122 * @param set_zeros Select if width and height should be 0 or image_dim / 4
3138 GLint height = m_height / 4;
3145 data[index * 4 + 1] = y * height;
3149 data[index * 4 + 3] = height;
3203 GLfloat height = (GLfloat)(m_height / 4);
3210 data[index * 4 + 1] = (GLfloat)((GLfloat)y * height);
3212 data[index * 4 + 3] = height;
3261 GLfloat height = (GLfloat)(m_height / 2);
3268 data[index * 4 + 1] = (GLfloat)((GLfloat)y * height);
3270 data[index * 4 + 3] = height;
4032 "Test verifies that scissor test discard all fragments when width and height is set to zero")