Lines Matching refs:buffer
1618 /* Set up all attachments as draw buffer. */
2209 /** @brief Clear color buffer (float specialization), check errors and log.
2211 * @param [in] buffer Buffer to be cleared.
2218 bool ClearTest::ClearColor<glw::GLfloat>(glw::GLenum buffer, glw::GLint drawbuffer, glw::GLfloat value)
2225 gl.clearNamedFramebufferfv(m_fbo, buffer, drawbuffer, value_vector);
2239 /** @brief Clear color buffer (int specialization), check errors and log.
2241 * @param [in] buffer Buffer to be cleared.
2248 bool ClearTest::ClearColor<glw::GLint>(glw::GLenum buffer, glw::GLint drawbuffer, glw::GLint value)
2255 gl.clearNamedFramebufferiv(m_fbo, buffer, drawbuffer, value_vector);
2269 /** @brief Clear color buffer (uint specialization), check errors and log.
2271 * @param [in] buffer Buffer to be cleared.
2278 bool ClearTest::ClearColor<glw::GLuint>(glw::GLenum buffer, glw::GLint drawbuffer, glw::GLuint value)
2285 gl.clearNamedFramebufferuiv(m_fbo, buffer, drawbuffer, value_vector);
2299 /** @brief Format of the buffer (float specialization).
2309 /** @brief Format of the buffer (int and uint specialization).
2319 /** @brief Type of the buffer (float specialization).
2329 /** @brief Type of the buffer (int specialization).
2339 /** @brief Type of the buffer (uint specialization).
2351 * @param [in] buffer Buffer to be cleared.
2358 bool ClearTest::TestClearColor(glw::GLenum buffer, glw::GLenum attachment, T value)
2367 if (ClearColor<T>(buffer, 0, value))
2542 * @param [in] buffer Buffer to be prepared.
2545 void ClearTest::PrepareFramebuffer(glw::GLenum buffer, glw::GLenum internalformat)
2563 if (buffer == GL_COLOR)
2597 if (buffer == GL_DEPTH_STENCIL)
2927 /* Copy buffer. */
2945 << tcu::TestLog::Message << "Blitted framebuffer color buffer contains [[" << color[0][0][0]
2986 /* Copy buffer. */
3002 << tcu::TestLog::Message << "Blitted framebuffer depth buffer contains [" << depth[0][0] << ", "
3029 /* Copy buffer. */
3045 << tcu::TestLog::Message << "Blitted framebuffer stencil buffer contains [" << stencil[0][0] << ", "
4077 * @param [in] depth Prepare framebuffer with depth buffer.
4078 * @param [in] stencil Prepare framebuffer with stencil buffer.
4080 * @note If both depth and stencil, the joined dept_stencil buffer will be created.
4153 * @param [in] depth Prepare framebuffer with depth buffer.
4154 * @param [in] stencil Prepare framebuffer with stencil buffer.
4156 * @note If both depth and stencil, the joined dept_stencil buffer will be created.
5095 ExpectError(GL_INVALID_OPERATION, "NamedFramebufferTexture", true, true, false, true, true, "buffer", true);
5132 "buffer", true);
5311 * @param [in] buffer_texture Is this buffer texture (special logging case).
5883 specific buffer,
5886 - DEPTH, identifying the depth buffer,
5887 - STENCIL, identifying the stencil buffer. */
5935 specific buffer,
5938 - DEPTH, identifying the depth buffer,
5939 - STENCIL, identifying the stencil buffer. */
6200 /* Check that INVALID_ENUM is generated by ClearNamedFramebufferiv if buffer
6205 ExpectError(GL_INVALID_ENUM, "ClearNamedFramebufferiv", "buffer is not COLOR or STENCIL (it is DEPTH).");
6207 /* Check that INVALID_ENUM is generated by ClearNamedFramebufferuiv if buffer
6211 is_ok &= ExpectError(GL_INVALID_ENUM, "ClearNamedFramebufferuiv", "buffer is not COLOR (it is DEPTH).");
6213 /* Check that INVALID_ENUM is generated by ClearNamedFramebufferfv buffer
6218 ExpectError(GL_INVALID_ENUM, "ClearNamedFramebufferfv", "buffer is not COLOR or DEPTH (it is STENCIL).");
6220 /* Check that INVALID_ENUM is generated by ClearNamedFramebufferfi if buffer
6224 is_ok &= ExpectError(GL_INVALID_ENUM, "ClearNamedFramebufferfi", "buffer is not DEPTH_STENCIL.");
6226 /* Check that INVALID_VALUE is generated by ClearNamedFramebuffer* if buffer is COLOR drawbuffer is
6232 "buffer is COLOR drawbuffer is negative, or greater than the value of MAX_DRAW_BUFFERS minus one.");
6238 "buffer is COLOR drawbuffer is negative, or greater than the value of MAX_DRAW_BUFFERS minus one.");
6240 /* Check that INVALID_VALUE is generated by ClearNamedFramebuffer* if buffer is DEPTH, STENCIL or
6246 "buffer is DEPTH, STENCIL or DEPTH_STENCIL and drawbuffer is not zero.");
6251 "buffer is DEPTH, STENCIL or DEPTH_STENCIL and drawbuffer is not zero.");
6256 "buffer is DEPTH, STENCIL or DEPTH_STENCIL and drawbuffer is not zero.");
7519 /* Create stencil pass buffer. */
7541 /* Create depth pass buffer. */
7563 /* Create color pass buffer. */
7604 /* Draw to stencil buffer. */
7632 /* Draw to depth buffer. */
7660 /* Draw to color buffer. */