Lines Matching refs:buffer

2102  *  @param bo_id                       ID of a buffer object to be used for initialization of
2103 * buffer texture storage. Only used if @param texture_internalformat
3419 /* Create a buffer object that we'll need to use to define storage of
3420 * buffer textures */
4441 /* Bind the buffer object to zero TF binding point */
4587 * 1) Verify buffer object contents;
4693 /* Done - we can release the buffer at this point */
4699 /* Release the reference color data buffer */
6577 * @param data Raw data buffer to read the data from.
6717 /** Initializes buffer object storage of sufficient size to hold data that will be
6741 /* Configure buffer object storage.
6757 * Sampled texture data will go to the first half of the buffer, and the corresponding
6761 * configure buffer object bindings in initProgramObject()
6880 /* Configure buffer object bindings for XFB */
6956 /* Configure general buffer object binding. Indiced bindings will be configured
7069 /* Allocate the buffer.
7071 * NOTE: This buffer is used in verifyResults(). When no longer needed, it will either
7116 glw::GLbyte* buffer = (glw::GLbyte*)m_mipmap_data;
7121 buffer[i] = static_cast<glw::GLbyte>(i - 128);
7129 glw::GLshort* buffer = (glw::GLshort*)m_mipmap_data;
7134 buffer[i] = static_cast<glw::GLshort>(i - 0xC000); // 0xC000 = (fp16) -2 makes this non de-norm
7142 glw::GLint* buffer = (glw::GLint*)m_mipmap_data;
7147 buffer[i] = i - 128;
7155 glw::GLubyte* buffer = (glw::GLubyte*)m_mipmap_data;
7160 buffer[i] = static_cast<glw::GLubyte>(i);
7168 glw::GLushort* buffer = (glw::GLushort*)m_mipmap_data;
7173 buffer[i] = static_cast<glw::GLushort>(i);
7181 glw::GLuint* buffer = (glw::GLuint*)m_mipmap_data;
7186 buffer[i] = i;
7194 glw::GLuint* buffer = (glw::GLuint*)m_mipmap_data;
7199 buffer[i] = (i << 8) | (0xaa);
7222 tcu::Float16* buffer = (tcu::Float16*)m_mipmap_data;
7229 buffer[i] = (tcu::Float16)value;
7251 glw::GLuint* buffer = (glw::GLuint*)m_mipmap_data;
7256 buffer[i] = i | (i << 8) | (i << 16);
7393 /* Initialize buffer object storage so that it's large enough to
7435 /* Unmap the buffer object */
7552 /* Deallocate the buffer if necessary just in case */
8113 /* Good to release static color data buffer at this point */
8176 /* Map the buffer object so we can validate the sampling result */
8188 /* Unmap the buffer object */
8378 /* Map the result buffer object storage into process space */
8401 /* Make sure the buffer is unmapped before throwing the exception */
8408 /* Unmap the buffer storage */
8424 /* Release the buffer before we throw an exception */
8466 /* Good to release the data buffer at this point */
8603 /** Allocates a sufficiently large buffer for RGBA8 data and fills it with
8606 * It is user's responsibility to release the buffer when no longer needed.
8608 * @return Pointer to the buffer.
8683 /** Allocates a sufficiently large buffer to hold RGBA8 data of user-specified resolution
8686 * It is caller's responsibility to release the returned buffer when it's no longer
8689 * @param width Width of the mip-map the buffer will be used as a data source for;
8690 * @param height Height of the mip-map the buffer will be used as a data source for;
8692 * @return Pointer to the buffer.
8696 /* Prepare the data buffer storing the data we want to replace the region of the
8767 /** Initializes buffer objects that will be used during the test.
8775 /* Generate and configure buffer object storage */
9241 /* Good to release the buffer at this point */
9627 /* Fill the buffer with layer data */
9653 /* Release the data buffer */
10103 /** Initializes a buffer object later used for Transform Feedback and binds
10113 /* Generate a buffer object we'll use for Transform Feedback */
10117 /* Set up buffer object storage. We need it to be large enough to hold
10237 /* Draw a single point. That'll feed the XFB buffer object with a single bool
10247 /* How did the sampling go? Map the buffer object containing the run
10257 TCU_FAIL("Pointer to mapped buffer object storage is NULL.");
10276 /* Good to unmap the buffer object at this point */