Lines Matching defs:width
5902 /* Check that INVALID_VALUE error is generated by InvalidateNamedFramebufferSubData if numAttachments, width, or height is negative. */
5909 is_ok &= ExpectError(GL_INVALID_VALUE, "InvalidateNamedFramebufferSubData", "width is negative.");
8058 glw::GLuint width;
8072 if (PrepareRenderbuffer(s_renderbuffer_internalformat_configuration[j], test_cases[i].width,
8076 is_ok &= Check(s_renderbuffer_internalformat_configuration[j], test_cases[i].width,
8119 * @param [in] width Width of the framebuffer.
8124 bool StorageTest::PrepareRenderbuffer(StorageTest::RenderbufferInternalFormatConfiguration format, glw::GLuint width,
8139 gl.namedRenderbufferStorage(m_rbo, format.internalformat, width, height);
8146 << glu::getInternalFormatParameterStr(format.internalformat) << ", width was " << width << ", height was "
8172 << glu::getInternalFormatParameterStr(format.internalformat) << ", width was " << width << ", height was "
8209 * @param [in] width Width of the framebuffer.
8214 bool StorageTest::Check(StorageTest::RenderbufferInternalFormatConfiguration format, glw::GLuint width,
8220 glw::GLuint size = width * height;
8228 gl.readPixels(0, 0, width, height, GL_RGBA_INTEGER, GL_INT, &color[0]);
8248 << ", width was " << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8259 gl.readPixels(0, 0, width, height, GL_RGBA, GL_FLOAT, &color[0]);
8279 << ", width was " << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8292 gl.readPixels(0, 0, width, height, GL_DEPTH_COMPONENT, GL_FLOAT, &depth[0]);
8302 << " is not the same. Renderbuffers format was " << format.internalformat_name << ", width was "
8303 << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8314 gl.readPixels(0, 0, width, height, GL_STENCIL_INDEX, GL_INT, &stencil[0]);
8324 << " is not the same. Renderbuffers format was " << format.internalformat_name << ", width was "
8325 << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8473 glw::GLuint width;
8489 if (PrepareRenderbuffer(s_renderbuffer_internalformat_configuration[j], test_cases[i].width,
8496 Blit(test_cases[i].width, test_cases[i].height);
8498 is_ok &= Check(s_renderbuffer_internalformat_configuration[j], test_cases[i].width,
8542 * @param [in] width Width of the framebuffer.
8548 glw::GLuint width, glw::GLuint height, glw::GLsizei samples)
8567 gl.namedRenderbufferStorageMultisample(m_rbo[i], 0, format.internalformat, width, height);
8575 << format.internalformat_name << ", samples was " << 0 << ", width was " << width << ", height was "
8583 gl.namedRenderbufferStorageMultisample(m_rbo[i], samples, format.internalformat, width, height);
8591 << format.internalformat_name << ", samples was " << samples << ", width was " << width
8619 << format.internalformat_name << ", samples was " << (i ? 0 : samples) << ", width was " << width
8646 * @param [in] width Width of the framebuffer.
8651 void StorageMultisampleTest::Blit(glw::GLuint width, glw::GLuint height)
8657 gl.blitFramebuffer(0, 0, width, height, 0, 0, width, height,
8691 * @param [in] width Width of the framebuffer.
8697 glw::GLuint width, glw::GLuint height)
8702 glw::GLuint size = width * height;
8710 gl.readPixels(0, 0, width, height, GL_RGBA_INTEGER, GL_INT, &color[0]);
8730 << ", width was " << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8741 gl.readPixels(0, 0, width, height, GL_RGBA, GL_FLOAT, &color[0]);
8761 << ", width was " << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8774 gl.readPixels(0, 0, width, height, GL_DEPTH_COMPONENT, GL_FLOAT, &depth[0]);
8785 << " is not the same. Renderbuffers format was " << format.internalformat_name << ", width was "
8786 << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
8797 gl.readPixels(0, 0, width, height, GL_STENCIL_INDEX, GL_INT, &stencil[0]);
8808 << " is not the same. Renderbuffers format was " << format.internalformat_name << ", width was "
8809 << width << ", height was " << height << "." << tcu::TestLog::EndMessage;
9053 << glu::getInternalFormatParameterStr(internalformats[i]) << ", width = 1, height = 2."
9067 << glu::getInternalFormatParameterStr(internalformats[i]) << ", width = 1, height = 2."
9243 either of width or height is negative, or greater than the value of
9247 is_ok &= ExpectError(GL_INVALID_VALUE, "NamedRenderbufferStorage", "either of width is negative.");
9432 either of width or height is negative, or greater than the value of
9436 is_ok &= ExpectError(GL_INVALID_VALUE, "NamedRenderbufferStorageMultisample", "either of width is negative.");