Lines Matching defs:width
117 glw::GLuint width, glw::GLuint height, glw::GLuint depth, const glw::GLvoid* pixels,
1279 static const GLuint width = 16;
1291 gl.texImage2DMultisample(target, n_samples, internal_format, width, height, GL_FALSE /* fixedsamplelocation */);
1300 gl.texImage3DMultisample(target, n_samples, internal_format, width, height, depth,
1329 static const GLuint width = 16;
1338 gl.renderbufferStorage(GL_RENDERBUFFER, internal_format, width, height);
1367 static const GLuint width = 16;
1371 prepareTexture(context, name, target, internal_format, format, type, level, width, height, depth, pixels,
1386 * @param width <width>
1395 GLenum type, GLuint level, GLuint width, GLuint height, GLuint depth, const GLvoid* pixels,
1414 gl.renderbufferStorage(target, internal_format, width, height);
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);
1449 gl.texImage2DMultisample(target, samples, internal_format, width, height, GL_FALSE /* fixedsamplelocation */);
1459 gl.texImage3DMultisample(target, samples, internal_format, width, height, depth,
1473 gl.texImage3D(target, level, internal_format, width, height, depth, border, format, type, pixels);
1492 size = width;
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,
2651 * @param width Width of image at <level>
2657 void FunctionalTest::calculateDimmensions(GLenum target, GLuint level, GLuint width, GLuint height, GLuint* out_widths,
2681 out_widths[i] = width * factors[i] / divide;
3310 dst_target, dst_image_dimmension, /* width */
3316 src_target, src_image_dimmension, /* width */
3321 region_dimmension, /* width */
5763 const unsigned int width = 16;
5770 std::vector<int> data_buf(width * height, 1);
5771 m_dst_tex_name = createTexture(width, height, test_case.m_internal_format, test_case.m_type, &data_buf[0],
5774 m_src_tex_name = createTexture(width, height, test_case.m_internal_format, test_case.m_type, &data_buf[0],
5795 if ((data_buf[0] == 2) && (std::count(data_buf.begin(), data_buf.end(), 1) == (width * height - 1)))
5832 unsigned int IntegerTexTest::createTexture(int width, int height, GLint internalFormat, GLuint type, const void* data,
5842 gl.texImage2D(GL_TEXTURE_2D, 0, internalFormat, width, height, 0, GL_RED_INTEGER, type, data);