Lines Matching defs:data

587 /** Returns GL data type enum corresponding to user-provided base variable type.
1219 * the data are represented in @param type variable type.
2960 const int data[] = {
2979 const unsigned int n_checks = sizeof(data) / sizeof(data[0]) / 3 /* entries per row */;
2986 _uniform_function function = (_uniform_function)data[n_check * 3 + 0];
2987 int uniform_location = data[n_check * 3 + 1];
2988 int uniform_count = data[n_check * 3 + 2];
3163 const double data[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0 };
3171 gl.uniform1dv(m_po_double_uniform_location, 1, data);
3177 gl.uniform2dv(m_po_dvec2_uniform_location, 1, data);
3183 gl.uniform3dv(m_po_dvec3_uniform_location, 1, data);
3189 gl.uniform4dv(m_po_dvec4_uniform_location, 1, data);
3193 gl.uniformMatrix2dv(m_po_dmat2_uniform_location, 1, GL_FALSE /* transpose */, data);
3196 gl.uniformMatrix2x3dv(m_po_dmat2x3_uniform_location, 1, GL_FALSE /* transpose */, data);
3199 gl.uniformMatrix2x4dv(m_po_dmat2x4_uniform_location, 1, GL_FALSE /* transpose */, data);
3202 gl.uniformMatrix3dv(m_po_dmat3_uniform_location, 1, GL_FALSE /* transpose */, data);
3205 gl.uniformMatrix3x2dv(m_po_dmat3x2_uniform_location, 1, GL_FALSE /* transpose */, data);
3208 gl.uniformMatrix3x4dv(m_po_dmat3x4_uniform_location, 1, GL_FALSE /* transpose */, data);
3211 gl.uniformMatrix4dv(m_po_dmat4_uniform_location, 1, GL_FALSE /* transpose */, data);
3214 gl.uniformMatrix4x2dv(m_po_dmat4x2_uniform_location, 1, GL_FALSE /* transpose */, data);
3217 gl.uniformMatrix4x3dv(m_po_dmat4x3_uniform_location, 1, GL_FALSE /* transpose */, data);
4145 /* Prepare storage for buffer data */
4148 /* Prepare uniform data */
4166 /* Update uniform buffer with new set of data */
4531 /* Prepare storage for testure data */
4568 /* Get transform feedback data */
5032 /** Returns "predefined" values that will be used to fill uniform data
5170 /* Prepare storage for uniform buffer data */
5221 /* Update uniform buffer with prepared data */
5228 /* Bind uniform buffer as data source for named uniform block */
5239 /** Prepare data, execute draw call and verify results
5380 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 4 * sizeof(glw::GLint), 0 /* data */, GL_DYNAMIC_COPY);
5433 /* Prepare storage for testure data */
5444 /* Get transform feedback data */
7333 /* Update buffer object storage with the data we've just finished preparing. */
7343 * new data is interpreted correctly.
7392 /* Verify the data */
7399 /** Good to release the data buffer at this point */
7593 * @return Requested data.
7812 /* Allocate buffer object storage for 'base_value' input attribute data. All iterations
7821 gl.bufferData(GL_ARRAY_BUFFER, sizeof(double) * n_base_values, DE_NULL /* data */, GL_STATIC_DRAW);
7824 /* Allocate buffer object storage for XFB data. For each iteratiom we will be using
7836 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, xfb_bo_size, DE_NULL /* data */, GL_STATIC_DRAW);
7839 /* Allocate a client-side buffer to hold the data we will be mapping from XFB BO */
7934 /** Verifies if data XFBed out by the vertex shader are valid, given test case descriptor,
7935 * for which the data have been generated.
7937 * @param data_ptr Buffer holding the data XFBed out by the shader.
7941 * @return true if the data were found to be valid, false otherwise.
8044 // shader input, to calculate the expected values in XFB data in the
8999 /** Configure storage of a buffer object used for capturing XFB data.
9031 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL /* data */, GL_STATIC_DRAW);
9148 /* Set up buffer object to hold XFB data. The data will be used for logging purposes
9149 * only, if a data mismatch is detected.
9992 /* Allocate temporary buffer to hold the texture data we will be reading
10073 /* Initialize a BO we will use to hold XFB data */
10321 const double data[] = { -1, -1, -1, -1 };
10327 gl.vertexAttribL1dv(variable.attribute_location + index, data);
10335 gl.vertexAttribL2dv(variable.attribute_location + index, data);
10343 gl.vertexAttribL3dv(variable.attribute_location + index, data);
10351 gl.vertexAttribL4dv(variable.attribute_location + index, data);
11108 * @param matrix_a_data Row-ordered data of l-side matrix.
11110 * @param matrix_b_data Row-ordered data of r-side matrix.
11623 /* Set up XFB BO data storage */
11629 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, xfb_bo_size, DE_NULL /* data */, GL_STATIC_DRAW);
11693 /** Verifies data XFBed out by the draw call for user-specified test case
11697 * @param xfb_data Buffer holding the data XFBed out during the draw call.
11700 * @return true if the data was found to be correct, false otherwise.
12992 /** Place data from <in> into <buffer>
12995 * @param in Input data
13007 /** Place tcu::Matrix data from <in> into <buffer>
13010 * @param in Input data
13018 glw::GLdouble* data = (glw::GLdouble*)buffer;
13026 data[index] = in(row, column);
13032 /** Get data of <out> from <buffer>
13035 * @param out Output data
13047 /** Get tcu::Matrix data from <buffer>
13050 * @param out Output data
13058 const glw::GLdouble* data = (glw::GLdouble*)buffer;
13066 out(row, column) = data[index];
13602 * @return Offset of arguemnt's data
14736 * @param buffer Source of data
14775 /** Prepare input arguments, data are stored in <buffer>
14953 /** Prepare input data and expected results for given function object
15338 /* Get transform feedback data */